/*--------------------Reset--------------------*/
html { box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; }
* { padding: 0px; margin: 0px; border: none; outline: none; max-height: 100000px}
h1,h2,h3,h4,h5,h6,p{font-size:inherit;font-weight:inherit;}
input, textarea{-webkit-appearance: none; -moz-appearance: none; appearance: none; font: inherit;}
img, svg {vertical-align: top; max-width: 100%; height: auto; display: block;}
a,button {display:inline-block; text-decoration:none; color:inherit; box-shadow: none; font: inherit; cursor: pointer;}
.footer a[href^=tel] { color: inherit; text-decoration:inherit; pointer-events: none; display: inline; } 


@font-face {
    font-family: 'Manrope';
    src: url("./fonts/Manrope-Regular.woff2") format('woff2');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Manrope';
    src: url("./fonts/Manrope-SemiBold.woff2") format('woff2');
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: 'Manrope';
    src: url("./fonts/Manrope-Bold.woff2") format('woff2');
    font-weight: 700;
    font-display: swap;
}

:root {
    --text-pimary: #FCFBFC;
    --bg-main: #030303;
    --bg-grey: #dedede;
    --highlight-main: #FF4001;
    /* --highlight-secondary: #4DBC95; */
    /* --highlight-gradient: linear-gradient(180deg, #338166 0%, #0B1B15 100%); */
    /* --dark-gradient: linear-gradient(180deg, rgba(51, 129, 102, 0.30) 0%, rgba(5, 15, 11, 0.50) 40.95%); */
    --header-height: 64px;
}

html {
  scroll-behavior: smooth;
}

body {
    min-width: 280px;

    font-family: "Manrope", Helvetica, sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: normal;
    
    color: var(--text-pimary);
    background-color: var(--bg-main);

    text-size-adjust: none;
    -moz-text-size-adjust: none;
    -webkit-text-size-adjust: none;
    -webkit-tap-highlight-color: transparent;
}

body.menu-open {
  overflow: hidden;
}

.button {
    width: max-content;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 18px 30px;
    border-radius: 15px;
    border: 2px solid var(--highlight-secondary);
    background: var(--highlight-main);
    color: var(--text-pimary);
    font-size: 16px;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
    text-transform: uppercase;
}

.button:hover {
    cursor: pointer;
    border: 1px solid #FFF;
}

.input {
    width: 100%;
    padding: 20px 25px;
    border-radius: 999px;
    border: 1px solid #888888;
    background: none;
    color: #000000;
}

.input--error {
    border-color: #E50303;
    color: #E50303;
}

.icon {
    width: 18px;
    height: 18px;
}

.logo {
    height: 25px;
}

.main {
    min-height: 100vh;
    min-height: var(--vh,100vh);
    margin: 0 auto;
    
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.main__title {
    font-size: 16px;
    line-height: 21px;
    font-weight: 700;
    color: var(--highlight-main);
    text-align: start;
}

.header__wrap {
    width: 100%;
    position: fixed;
    top: 0;
    background-color: var(--bg-main);
}

.header {
    margin: 0 auto;
    width: 100%;
    height: 100%;
    max-height: var(--header-height);
    max-width: 1220px;
    padding: 20px;
    
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-icon {
    display: block;
    cursor: pointer;
}

.menu-icon__bar {
    width: 50px;
    height: 2px;
    background-color: #ffffff;
    margin-top: 10px;
    transition: 0.4s;
}

.menu-icon__bar1 {
    margin-top: 0;
}

.menu-icon--close .menu-icon__bar1 {
    transform: translate(0, 11px) rotate(-45deg);
}

.menu-icon--close .menu-icon__bar2 {
    opacity: 0;
}

.menu-icon--close .menu-icon__bar3 {
    transform: translate(0, -11px) rotate(45deg);
}

.header__nav {
    width: 100%;
    height: 100%;
    padding: 15px;
    display: flex;
    position: fixed;
    left: -100%;
    top: var(--header-height);
    background-color: var(--bg-main);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    transition: 0.3s;
}

.header__nav--open {
    border-top: 1px solid #FFFFFF;
    left: 0;
}

.header__link {
    font-size: 16px;
    text-transform: uppercase;
    transition: 0.3ms;
}

.header__link:not(:first-child) {
    margin-top: 45px;
}

.header__link:hover {
    cursor: pointer;
    color: #a9d8c8;
}

.header__link--active {
    color: var(--highlight-main);
}

.header__link--active:hover {
    color: #4cc298;
}

.hero {
    padding: 20px;
    min-height: 243px;
    width: 100%;
    margin-top: var(--header-height);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-image: url("../img/avatar.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero__upper {
    width: 100%;
    max-width: 374px;
    margin: 20px auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero__title {
    font-size: 18px;
    font-weight: 700;
    line-height: 22px;
}

.hero__subtitle {
    font-size: 13px;
    line-height: 16px;
    margin-top: 15px;
}

.hero__button {
    margin-top: 15px;
}

.section {
    width: 100%;
    padding: 40px 20px;
}

.section--blog {
    margin-top: var(--header-height);
}

.section:nth-child(even) {
    background-color: var(--bg-grey);
    color: #030303;
}

.section__wrap {
    margin: 0 auto;
    width: 100%;
    max-width: 708px;
}

.section__title {
    margin-top: 20px;
    font-weight: 700;
}

.section__title:first-child {
    margin-top: 0;
}

.section__subtitle {
    font-size: 14px;
    line-height: 23px;
    font-weight: 700;
}

.section__desc {
    margin-top: 15px;
}

.section__list {
    margin-top: 15px;
    list-style-position: inside;
}

.section__item {
    margin-top: 6px;
}

.section__text--close {
    margin-top: 10px;
}

.section__text--far {
    margin-top: 30px;
}

.section__inner {
    display: flex;
    flex-direction: column;
}

.section__inner--top {
    margin-top: 30px;
}

.section__image {
    width: 100%;
    max-width: 374px;
    height: fit-content;
    border-radius: 11.494px;
}

.section__texts {
    margin-top: 15px;
}

.section__texts--left {
    margin-top: 0;
    margin-bottom: 15px;
}

.insight {
    margin-top: 20px;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
}

.insight__icon {
    width: 22px;
}

.insight__texts {
    margin-left: 15px;
}

.insight__title {
    font-weight: 700;
}

.insight__text {
    margin-top: 15px;
}

.cards {
    margin-top: 15px;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 1fr);
    justify-items: center;
    justify-content: center;
    gap: 15px;
}

.card {
    width: 100%;
    max-width: 327px;
    border-radius: 14px;
    border: 2px solid #030303;
    background-color: #FCFBFC;
    text-align: center;
    font-size: 12px;
    line-height: 21px;
    display: flex;
    flex-direction: column;
}

.card__upper {
    padding: 10px 5px;
}

.card__icon {
    width: 18px;
    height: 18px;
    margin: 0 auto;
}

.card__title {
    font-weight: 600;
}

.card__lower {
    padding: 25px 31px;
    border-radius: 11px;
    background-color: #030303;
    border: 2px solid #030303;
    color: var(--text-pimary);
    height: 100%;
}

.card__list {
    list-style-position: inside;
}

.section__button {
    margin: 15px auto 0;
}

.footer {
    margin-top: 60px;
    padding: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.text--highlight {
    color: var(--highlight-main);
}

.text--center {
    text-align: center;
}

@media screen and (min-width: 768px) {
    body {
        font-size: 14px;
        line-height: 16px;
    }

    .button {
        padding: 18px 60px;
        font-size: 18px;
        line-height: 18px;
    }

    .main__title {
        font-size: 20px;
    }
    
    .hero {
        min-height: 280px;
    }

    .hero__upper {
        max-width: 710px;
    }

    .hero__title {
        font-size: 36px;
        line-height: 36px;
    }

    .hero__subtitle {
        font-size: 16px;
        line-height: 22px;
        margin-top: 20px;
    }

    .hero__button {
        margin-top: 20px;
    }

    .section {
        padding: 50px 30px;
    }

    .section__inner {
        flex-direction: row;
        justify-content: space-between;
    }

    .section__image {
        max-width:  354px;
    }

    .section__texts {
        margin-top: 0;
        margin-left: 30px;
        max-width: 50%;
    }

    .section__texts--left {
        order: 1;
    }

    .solutions {
        margin-top: 30px;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .industries__icon {
        margin: 0 17px;
    }

    .cards {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: unset;
        gap: 40px;
    }

    .card {
        font-size: 20px;
        line-height: 30px;
    }
}

@media screen and (min-width: 1200px) {
    body {
        font-size: 25px;
        line-height: 40px;
    }
    
    .menu-icon {
        display: none;
    }

    .header__nav {
        height: unset;
        position: static;
        left: unset;
        top: unset;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
        padding: 10px;
    }

    .header__link:not(:first-child) {
        margin-top: 0;
        margin-left: 30px;
    }

    .main__title {
        font-size: 40px;
        line-height: 40px;
    }

    .hero {
        min-height: 600px;
    }

    .hero__upper {
        max-width: 1348px;
    }

    .hero__title {
        font-size: 70px;
        line-height: 91px;
    }

    .hero__subtitle {
        font-size: 30px;
        line-height: 40px;
        margin-top: 35px;
    }

    .hero__button {
        margin-top: 35px;
    }

    .section {
        padding: 80px 40px;
    }

    .section__wrap {
        max-width: 1200px;
    }

    .section__inner--top {
        margin-top: 60px;
    }

    .section__image {
        max-width: 637px;
    }

    .section__title {
        margin-top: 40px;
    }

    .section__title:first-child {
        margin-top: 0
    }

    .section__subtitle {
        font-size: 25px;
        line-height: 40px;
    }

    .section__texts {
        margin-left: 60px;
    }

    .section__desc {
        margin-top: 30px;
    }

    .section__list {
        margin-top: 40px;
    }

    .section__text--close {
        margin-top: 15px;
    }

    .section__text--far {
        margin-top: 60px;
    }

    .solution {
        max-width: 596px;
    }

    .solution__icon {
        width: 37px;
    }

    .solution__text {
        margin-top: 13px;
    }

    .industries {
        margin-top: 30px;
    }

    .industries__icon {
        width: 9px;
        height: 9px;
        margin: 0 39px;
    }

    
    .insight {
        margin-top: 40px;
    }

    .insight__icon {
        width: 37px;
    }

    .insight__texts {
        margin-left: 27px;
    }

    .insight__text {
        margin-top: 20px;
    }


    .cards {
        margin-top: 30px;
        grid-template-columns: repeat(4, 1fr);
        gap: 33px;
    }

    .card {
        max-width: 624px;
        font-size: 20px;
        line-height: 30px;
    }

    .card__upper {
        padding: 15px 5px;
    }

    .section__button {
        margin-top: 30px;
    }
}
