@import url('./normalize.css');

@import url('./_variables-theme.css');

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --gap: 4px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    position: relative;
    height: 100%;
    height: -webkit-fill-available;
    min-height: 100vh;
    min-height: fill-available;
    min-height: -webkit-fill-available;
}

body {
    background: var(--background);
    font-family: 'Inter', sans-serif;
    color: rgb(var(--text-color));
    font-size: 16px;
}

a {
    color: rgb(var(--primary));
}

.link {
    text-decoration: none;
    transition: all .25s;
}

.link--dashed {
    border-bottom: 1px dashed rgb(var(--primary));
}

.link--dashed:hover {
    border-bottom-color: transparent !important;
}

.link span {
    position: relative;
}

.link span::before {
    content: '';
    background: rgb(var(--primary));
    position: absolute;
    display: block;
    height: 1px;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 1;
    transition: all .25s;
}

.link:hover span::before {
    right: 50%;
    left: 50%;
    opacity: 0;
}

.container {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1304px;
    padding: 0 calc(8 * var(--gap));
    margin: 0 auto;
}

.button {
    background: #E5F1FF;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 57px;
    padding: calc(2px + var(--gap)) calc(7 * var(--gap));
    border: none;
    border-radius: 10px;
    color: var(--button-text-color);
    font-weight: 600;
    font-size: 1.25rem;
    line-height: 24px;
    text-decoration: none;
    cursor: pointer;
    transition: all .25s;
}

.button:hover {
    background: #E0E9FF;
}

.button--primary {
    background: rgb(var(--primary));
    color: #FFF;
}

.button--primary:hover {
    background: var(--button-primary-background-hover);
    border-color: var(--button-primary-background-hover);
}

.button--large {
    height: 66px;
    padding: calc(4 * var(--gap)) calc(14 * var(--gap));
}

.button.disabled {
    background: #C5C7CF;
    border-color: #C5C7CF;
    cursor: not-allowed;
}

.header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: calc(2px + 5 * var(--gap)) 0;
}

.logo img {
    max-width: 100%;
}

.icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 74px;
    min-width: 74px;
    height: 74px;
    border-radius: 50%;
}

.icon--primary {
    background: rgba(var(--primary), 0.1);
}

.icon--success {
    background: rgba(var(--success), 0.1);
}

.icon--warning {
    background: rgba(var(--warning), 0.2);
}

.icon--danger {
    background: rgba(var(--danger), 0.1);
}

.card {
    background: var(--surface);
    box-shadow: 0px 54px 50px rgba(67, 67, 68, 0.0705882);
    border-radius: 15px;
    padding: calc(8 * var(--gap));
}

.section {
    background-color: var(--background);
    padding: 94px 0;
}

.section:nth-of-type(even) {
    background-color: var(--background_2);
}

.section__title {
    margin: 0;
    margin-bottom: 40px;
    font-size: 3.75rem;
    font-weight: 700;
    line-height: 1.21;
}

.section__desc {
    color: rgba(var(--text-color), 0.6);
    font-size: 1.125rem;
    line-height: 1.56;
}

.section--main {
    padding: 52px 0;
}

.section--main .col:first-child {
    padding-top: 11.4%;
}

.section--advantages .container {
    max-width: calc(1240px - 138px);
}

.section--advantages .col {
    padding-right: calc(3px + 4 * var(--gap));
    padding-left: calc(3px + 4 * var(--gap));
}

.advantage {
    height: 100%;
}

.advantage__icon {
    width: 80px;
    height: 80px;
    margin-bottom: 30px;
}

.advantage__title {
    margin: 0;
    margin-bottom: 12px;
    font-weight: 500;
    font-size: 1.375rem;
    line-height: 1.55;
}

.advantage__desc {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: rgba(var(--text-color), 0.7);
}

.section--features {
    padding: 148px 0;
}

@media screen and (min-width: 1200px) {
    .section--features .offset-xl-2 {
        margin-left: 14% !important;
    }
}

.feature {
    display: flex;
    align-items: flex-start;
    margin-bottom: 48px;
}

.feature:last-child {
    margin-bottom: 0;
}

.feature__content {
    padding-left: calc(8 * var(--gap));
}

.feature__title {
    margin: 0;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 1.375rem;
    line-height: 1.55;
}

.feature__desc {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: rgba(var(--text-color), 0.7);
}

.faq-item {
    background-color: var(--surface);
    position: relative;
    width: 100%;
    padding: calc(8 * var(--gap));
    border-radius: 15px;
    user-select: none;
}

.faq-item:hover {
	cursor: pointer;
}

.faq-question {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    height: 50px;
    font-weight: 500;
    font-size: 1.25rem;
    line-height: 1.2;
    transition: all .25s;
}

.faq-item:hover .faq-question {
	color: rgb(var(--primary));
}

.faq-question::after {
    content: '';
    background: url('../images/svg/chevron-right.svg') no-repeat 50% 50%;
    display: block;
    position: absolute;
	width: 11px;
	height: 19px;
	top: 50%;
	right: 0;
    -webkit-filter: grayscale(100%) brightness(50%);
    -moz-filter: grayscale(100%) brightness(50%);
    -ms-filter: grayscale(100%) brightness(50%);
    -o-filter: grayscale(100%) brightness(50%);
    filter: grayscale(100%) brightness(50%);
    transform: translateY(-50%);
    transition: all .25s;
}

.faq-item.shown .faq-question::after {
	transform: rotate(90deg) translateX(-50%);
}

.faq-item:hover .faq-question::after {
	-webkit-filter: none;
    -moz-filter: none;
    -ms-filter: none;
    -o-filter: none;
    filter: none;
    filter: none;
}

.faq-answer {
    height: 0;
    opacity: 0;
    overflow: hidden;
    line-height: 1.25;
    color: rgba(var(--text-color), 0.7);
	transition: all .25s ease-out;
}

.faq-item.shown .faq-answer {
    opacity: 1;
}

.faq-answer p {
	margin: 10px 0 0;
}

.section--faq .button {
    padding-right: calc(2px + 21 * var(--gap));
    padding-left: calc(2px + 21 * var(--gap));
}

.footer {
    padding: 94px 0 145px;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: rgba(var(--text-color), 0.6);
}

.footer a {
    color: rgba(var(--text-color), 0.6);
    text-decoration: none;
    transition: all .25s;
}

.footer a:hover {
    color: rgb(var(--text-color));
    text-decoration: underline;
}

.telephone {
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 1;
    background: linear-gradient(90deg, #56A8F4 0%, #D158E4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    text-decoration: none !important;
}

.copyright {
    margin: calc(4 * var(--gap)) 0 0;
}

.footer__contact {
    margin-top: calc(4 * var(--gap));
    min-width: 136px;
}

/* BASE */
.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0 calc(-4 * var(--gap));
}

.col {
    display: flex;
    flex-direction: column;
    padding: calc(4 * var(--gap));
}

.mx-auto {
    margin-right: auto;
    margin-left: auto;
}
.mt-0 {
    margin-top: calc(var(--gap) / 2);
}
.mt-1 {
    margin-top: var(--gap);
}
.mt-2 {
    margin-top: calc(2 * var(--gap));
}
.mt-3 {
    margin-top: calc(3 * var(--gap));
}
.mt-4 {
    margin-top: calc(4 * var(--gap));
}
.mr-0 {
    margin-right: calc(var(--gap) / 2);
}
.mr-1 {
    margin-right: var(--gap);
}
.mr-2 {
    margin-right: calc(2 * var(--gap));
}
.mr-3 {
    margin-right: calc(3 * var(--gap));
}
.mr-4 {
    margin-right: calc(4 * var(--gap));
}
.mr-5 {
    margin-right: calc(5 * var(--gap));
}
.mr-6 {
    margin-right: calc(6 * var(--gap));
}
.mb-1 {
    margin-bottom: var(--gap);
}
.mb-2 {
    margin-bottom: calc(2 * var(--gap));
}
.mb-3 {
    margin-bottom: calc(3 * var(--gap));
}
.mb-4 {
    margin-bottom: calc(4 * var(--gap));
}
.mb-12 {
    margin-bottom: calc(12 * var(--gap));
}
.mb-16 {
    margin-bottom: calc(16 * var(--gap));
}
.ml-0 {
    margin-left: calc(var(--gap) / 2);
}
.ml-1 {
    margin-left: var(--gap);
}
.ml-2 {
    margin-left: calc(2 * var(--gap));
}
.ml-3 {
    margin-left: calc(3 * var(--gap));
}
.ml-4 {
    margin-left: calc(4 * var(--gap));
}

.mt-n0 {
    margin-top: calc(-1 * var(--gap) / 2);
}
.mt-n1 {
    margin-top: calc(-1 * var(--gap));
}
.mt-n2 {
    margin-top: calc(-2 * var(--gap));
}
.mr-n0 {
    margin-right: calc(-1 * var(--gap) / 2);
}
.mr-n1 {
    margin-right: calc(-1 * var(--gap));
}
.mr-n2 {
    margin-right: calc(-2 * var(--gap));
}
.mb-n0 {
    margin-bottom: calc(-1 * var(--gap) / 2);
}
.mb-n1 {
    margin-bottom: calc(-1 * var(--gap));
}
.mb-n2 {
    margin-bottom: calc(-2 * var(--gap));
}
.ml-n0 {
    margin-left: calc(-1 * var(--gap) / 2);
}
.ml-n1 {
    margin-left: calc(-1 * var(--gap));
}
.ml-n2 {
    margin-left: calc(-2 * var(--gap));
}
@media (min-width: 576px) {
    .mt-sm-n4, .my-sm-n4 {
        margin-top: calc(-4 * var(--gap)) !important;
    }
}
/* BASE */

@media all and (max-width: 1500px) {
    html {
        font-size: 14px;
    }
}

@media all and (max-width: 960px) {
    .section__title {
        font-size: 2.6rem;
    }
    .section--advantages .col {
        padding-right: calc(3 * var(--gap));
        padding-left: calc(3 * var(--gap));
    }
    .faq-question {
        font-size: 1rem;
    }
    .faq-answer {
        font-size: 0.9375rem;
    }
    .footer {
        padding: 80px 0;
    }
    .footer__contact {
        min-width: 100px;
    }
}

@media all and (max-width: 768px) {
    :root {
        --gap: 2px;
    }
    .section, .footer {
        padding: 60px 0;
    }
    .section--main {
        padding: 40px 0 60px;
    }
    .button {
        height: 48px;
        font-size: 14px;
        line-height: 18px;
    }
    .button--large {
        height: 56px;
    }
    .section__title {
        font-size: 2rem;
    }
    .card, .faq-item {
        padding: calc(10 * var(--gap));
    }
    .faq-question {
        height: 30px;
    }
}


@media all and (max-width: 575px) {
    .section__title {
        font-size: 1.7rem;
    }
    .section--main .section__title br {
        display: none;
    }
    .section--main .section__desc {
        width: 60%;
        padding-right: 15px;
    }
    .section--main .button {
        width: 100%;
        margin-top: 20px;
    }
    .section--main .col:first-child {
        flex-direction: row;
        flex-wrap: wrap;
        padding-top: 0;
    }
    .iphone-mockup {
        width: 40%;
    }
    .advantage__title,
    .feature__title {
        font-size: 1.25rem;
    }
    .faq {
        margin-bottom: 0;
    }
    .section--faq .button {
        width: 100%;
    }
    .footer__contact {
        margin-top: 0;
    }
    .footer .row:last-child {
        flex-direction: column-reverse;
    }
}

@media all and (max-width: 460px) {
    .section__desc {
        font-size: 1rem;
    }
}