:root {
    --link-color: #a8a8a8;
    --color-text-main: #000000;
    --color-text-tint-10: #434343;
    --color-text-lightest: #ffffff;
    --color-content-tint-10: #f8f8f8;
    --color-background-accent: #352661;
    --font-main: Montserrat, Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
    height: 100%;
    min-height: 100dvh;
}

html.nav-open {
    overflow: hidden;
}

.container {
    max-width: 1258px;
    margin: 0 auto;
    height: 100%;
}

@media screen and (max-width: 1274px) {
    .container {
        padding: 0 16px;
    }
}

.page {
    height: 100%;
    margin: 0;
    padding: 0;
    font-size: 14px;
    font-family: var(--font-main);
    min-width: 320px;
    line-height: 1.55;
}

.header {
    height: 60px;
}

.header__content {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    padding: 0 8px;
    height: 100%;
}

.header__lang {
    margin-left: auto;
}

.header__toggle {
    margin-left: 24px;
}

@media screen and (min-width: 480px) {
    .header__toggle {
        margin-left: 112px;
    }
}

/* @media screen and (max-with: 960px) {
    .header__toggle {
        margin-left: 112px;
    }
} */

@media screen and (min-width: 960px) {
    .header__content {
        justify-content: space-between;
    }

    .header__lang {
        margin-left: unset;
    }
}

.header__logo {
    flex: 0 0 93px;
}

.logo {
    display: block;
    width: 93px;
    height: auto;
}

@media screen and (min-width: 480px) {
    .logo {
        width: 110px;
    }
}

@media screen and (min-width: 1200px) {
    .logo {
        width: 160px;
    }
}

.main-nav {
    position: fixed;
    right: 0;
    top: 0;
    height: 100dvh;
    max-width: 260px;
    width: 100%;
    background-color: var(--color-background-accent);
    transition: transform 0.3s ease-out;
    transform: translateX(100%);
    z-index: 100;
}

.main-nav.nav-open {
    transform: translateX(0);
}

.main-nav__content {
    position: relative;
    padding: 12px;
}

.main-nav__link {
    color: var(--color-text-lightest);
}


@media screen and (min-width: 960px) {
    .main-nav {
        text-transform: uppercase;
        letter-spacing: -1px;
    }
}

@media screen and (min-width: 1000px) {
    .main-nav {
        letter-spacing: unset;
    }
}


.main-nav__toggle {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background-color: var(--color-background-accent);
    cursor: pointer;
}

@media screen and (min-width: 960px) {
    .main-nav__toggle {
        display: none;
    }
}

.main-nav__close {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    width: 24px;
    height: 24px;
    border: none;
    background: transparent;
    cursor: pointer;
}

.main-nav__close > svg {
    display: inline-block;
    stroke: var(--color-text-lightest);
    transition: transform 0.2s ease-in;
}

.main-nav__close:hover > svg {
    transform: scale(1.2);
}

.main-nav__list {
    display: flex;
    flex-flow: column nowrap;
    list-style: none;
    margin: 24px 0 0 0;
    padding: 0;
}

.main-nav__item:not(:first-child) {
    margin-top: 12px;
}

.main-nav__link {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.55;

    text-decoration: none;
    transition: color 0.2s ease;
}

.main-nav__backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100dvw;
    height: 100vh;
    z-index: 90;
    background-color: rgb(0 0 0 / 0.3);
}

.nav-open .main-nav__backdrop {
    display: block;
}

@media screen and (min-width: 960px) {
    .main-nav {
        position: static;
        height: auto;
        max-width: unset;
        transform: unset;
        background-color: unset;
    }

    .main-nav__list {
        display: flex;
        flex-flow: row nowrap;
        justify-content: center;
        margin: 0;
    }

    .main-nav__item:not(:first-child) {
        margin: 0 0 0 16px;
    }

    .main-nav__link,
    .main-nav.nav-open .main-nav__link {
        color: var(--color-text-tint-10);
    }

    .main-nav__link:hover,
    .main-nav__link:active {
        color: var(--color-text-main);
    }

    .main-nav__close {
        display: none;
    }
}

.lang__list {
    display: flex;
    flex-flow: row nowrap;
    margin: 0;
    padding: 0;
    list-style: none;
}

.lang__item:not(:first-child) {
    margin-left: 10px;
}

.lang__link {
    padding-bottom: 2px;
    border-bottom: 1px solid var(--link-color);
    text-decoration: none;
    color: var(--link-color);
    font-size: 12px;
    line-height: 1;
}

.lang__link.active {
    padding-bottom: 3px;
    border-bottom: unset;
    color: #000000;
}

@media screen and (min-width: 480px) {
    .header {
        height: 70px;
    }
}

@media screen and (min-width: 960px) {
    .header {
        height: 90px;
    }
}

.footer {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 70px;
    background-color: #000000;
    color: rgb(255 255 255 / 0.4);
}

.head {
    margin: 0;
    font-family: var(--font-main);
}

.head_xl {
    font-size: 28px;
    line-height: 1.55;
    font-weight: 600;
}

.head_xxl {
    font-size: 28px;
    line-height: 1.55;
    font-weight: 600;
}

@media screen and (min-width: 480px) {
    .head_xl {
        font-size: 40px;
    }

    .head_xxl {
        font-size: 50px;
    }
}

.privacy-policy {
    padding: 76px 0;
    background-color: var(--color-content-tint-10);
}

@media screen and (min-width: 480px) {
    .privacy-policy {
        padding: 82px 0;
    }

    .privacy-policy h1.head {
        font-size: 32px;
    }
}

@media screen and (min-width: 640px) {
    .privacy-policy {
        padding: 86px 0;
    }

    .privacy-policy h1.head {
        font-size: 40px;
    }
}

@media screen and (min-width: 960px) {
    .privacy-policy {
        padding: 90px 0;
    }
}

.contacts {
    padding: 70px 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.55;
    background-color: var(--color-background-accent);
    color: var(--color-text-lightest);
}

.contacts__content {
    display: grid;
    justify-items: center;
}

.contacts__links {
    display: flex;
    flex-flow: column wrap;
    justify-content: space-between;
    align-items: center;
    margin-top: 48px;
    max-width: 282px;
    width: 100%;
}

.contacts__link {
    text-decoration: none;
    color: var(--color-text-lightest);
    text-transform: capitalize;
    font-size: 18px;

}

.contacts__link:not(:first-child) {
    margin-left: 12px;
}

.contacts__text {
    margin: 12px 0 0 0;
}

.contacts__text > a[href^="mailto:"],
.contacts__text > a[href^="tel:"] {
    text-decoration: none;
    color: inherit;
}

.contacts__text > a[href^="mailto:"]:hover,
.contacts__text > a[href^="tel:"]:hover {
    text-decoration: underline;
}

@media screen and (min-width: 480px) {
    .contacts {
        padding: 82px 0;
        font-size: 16px;
    }

    .contacts__links {
        flex-flow: row wrap;
    }
}

@media screen and (min-width: 640px) {
    .contacts {
        padding: 86px 0;
    }
}

@media screen and (min-width: 960px) {
    .contacts {
        padding: 90px 0;
    }
}

.boarding {
    position: relative;
    padding: 70px 0;
    color: var(--color-text-lightest);
    overflow: hidden;
    text-align: center;
}

.boarding__content {
    display: grid;
    justify-items: center;
}

.boarding_background {
    position: absolute;
    top: -5px;
    left:-5px;
    right: -5px;
    bottom: -5px;
    background: #a8a8a8 url('/images/software-image.jpg') no-repeat center / cover;
    filter: blur(6px);
    z-index: -1;
}

.boarding__heading {
    max-width: 290px;
    text-transform: uppercase;
}

.boarding__text {
    max-width: 270px;
    margin: 40px 0 0 0;
    font-weight: 500;
}

.boarding__navs {
    display: flex;
    flex-flow: column nowrap;
    margin-top: 40px;
}

.boarding__link_about {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    height: 60px;
    padding: 0 50px;
    border-radius: 30px;
    background-color: #9ac6c5;
    color: #352661;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
}

.boarding__link_services {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    text-decoration: none;
    color: var(--color-text-lightest);
    font-weight: 500;
    text-transform: uppercase;
}

.boarding__link_services > svg {
    margin-left: 30px;
}

@media screen and (min-width: 480px) {
    .boarding {
        padding: 82px 0;
        font-size: 16px;
    }

    .boarding__heading {
        max-width: 400px;
    }

    .boarding__text {
        max-width: 340px;
    }
}

@media screen and (min-width: 640px) {
    .boarding {
        padding: 86px 0;
    }

    .boarding__text {
        max-width: unset;
    }
}

@media screen and (min-width: 960px) {
    .boarding {
        padding: 90px 0;
        text-align: start;
    }

    .boarding__content {
        justify-items: start;
    }

    .boarding__heading {
        max-width: unset;
    }

    .boarding__navs {
        margin-top: 40px;
        flex-flow: row nowrap;
    }

    .boarding__link_services {
        margin: 0 0 0 60px;
    }
}

.features {
    display: grid;
    grid-template-columns: 190px;
    gap: 30px 50px;
    justify-content: center;
    justify-items: center;
    padding: 78px 0;
}

.features[lang="am"] {
    grid-template-columns: 250px;
}

.features__item {
    display: grid;
    justify-items: center;
    text-align: center;
}

.features__icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #352661;
}

.features__image {
    display: block;
}

@media screen and (min-width: 480px) {
    .features {
        padding: 82px 0;
    }
}

@media screen and (min-width: 640px) {
    .features {
        padding: 86px 0;
    }
}

@media screen and (min-width: 960px) {
    .features {
        grid-template-columns: repeat(3, 190px);
        column-gap: 20px;
        padding: 90px 0;
    }

    .features[lang="am"] {
        grid-template-columns: repeat(3, 250px);
    }
}

.about {
    padding: 74px 0;
    background-color: var(--color-content-tint-10);
}

.about__content {
    display: grid;
    justify-content: center;
    grid-template-columns: minmax(300px, 500px);
}

.about__label {
    display: grid;
    justify-items: center;
    margin: 0;
    font-weight: 500;
    font-size: 18px;
    text-transform: capitalize;
    justify-self: center;
}

.about__label::after {
    content: "";
    display: block;
    margin-top: 20px;
    width: 50px;
    height: 2px;
    background-color: var(--color-background-accent);
}

.about__head {
    text-align: center;
    text-transform: uppercase;
}

.about__flow {
    display: grid;
    justify-items: center;
    row-gap: 30px;
    margin-top: 50px;
}

.about__list {
    display: grid;
    row-gap: 20px;
    list-style-type: none;
}

.about__item {
    line-height: 1.55;
}

.about__item {
    position: relative;
    margin: 0 0 0 40px;
}

.about__item::before {
    content: "";
    position: absolute;
    top: 0;
    left: -34px;
    display: block;
    width: 24px;
    height: 24px;
    background:  url("/images/icons-8.svg") no-repeat center;
}

.about__image {
    --image-w: 300px;
    margin: 0;
    width: var(--image-w);
}

.about__image img {
    display: block;
    width: var(--image-w);
}

@media screen and (min-width: 480px) {
    .about {
        padding: 82px 0;
    }
}

@media screen and (min-width: 640px) {
    .about {
        padding: 86px 0;
    }

    .about__image {
        --image-w: 500px;
    }
}

@media screen and (min-width: 960px) {
    .about {
        padding: 90px 0;
    }

    .about__content {
        justify-content: unset;
        grid-template-columns: unset;
    }

    .about__image {
        grid-row: 1/-4;
    }

    .about__flow {
        gap: 20px;
        justify-content: start;
        justify-items: start;
        grid-template-columns: 1fr 1fr;
        align-content: start;
        align-items: start;
        margin-top: 70px;
    }

    .about__head {
        font-size: 50px;
    }
}

.services {
    padding: 72px 0;
}

.services__head {
    display: grid;
    justify-items: center;

    text-transform: uppercase;
}

.services__head::after {
    content: "";
    display: block;
    margin-top: 20px;
    width: 50px;
    height: 2px;
    background-color: var(--color-background-accent);
    align-self: center;
}

.services__list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(296px, 1fr));
    justify-items: center;
    gap: 60px 20px;
    margin-top: 50px;
}

.servicesItem {
    display: grid;
    align-content: start;
    justify-items: center;
    row-gap: 20px;
    width: 296px;
    text-align: center;
}

.servicesItem__image {
    width: 260px;
    height: 140px;
    object-fit: cover;
}

.servicesItem__title {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.servicesItem__description {
    margin: 0;
    font-size: 15px;
    color: var(--color-text-tint-10);
}

@media screen and (min-width: 480px) {
    .services {
        padding: 82px 0;
    }
}

@media screen and (min-width: 640px) {
    .services {
        padding: 86px 0;
    }

    .servicesItem__image {
        height: 180px;
    }
}

@media screen and (min-width: 960px) {
    .services {
        padding: 90px 0;
    }

    .services__head {
        font-size: 50px;
    }

    .servicesItem__title {
        font-size: 22px;
    }

    .servicesItem__description {
        font-size: 16px;
    }
}

.not-found {
    display: grid;
    justify-content: center;
    align-content: center;
}

.page__not-found {
    display: grid;
    grid-template-rows: auto 1fr auto;
}
