/*
- устранить горизонтальный скролл страницы
*/

:root {
    --blue-dark: #253858;
    --blue: #0083cc;
    --gray-bg: #f4f5f7;
    --text-dark: #3a4c6b;
    --text-on-dark: #f5f5f5;
    --span-green: #a0c800;
    --effect: #eceef2;
    --white: #fff;
    --shadow: #0000000F;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Montserrat", Arial, sans-serif;
    background: var(--gray-bg);
    color: var(--text-dark);
}

.main {
    display: grid;
    gap: 80px;
}

.container {
    max-width: 1600px;
    width: 100%;
    margin: 0 auto;
    padding: 0 32px;
}

/* HEADER */

/* 
- убрать конские отступы
- убрать огромный gap
- убрать фиксированную высоту
*/

.header {
    background: var(--gray-bg);
    padding: 16px;
    gap: 20px;
    height: 100%;
    padding: 16px 40px 16px 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    width: 65px;
    height: 72px;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.logo:hover {
    opacity: 0.8;
}

.logo:active {
    transform: scale(0.98);
}

.burger {
    display: none;
    width: 48px;
    height: 48px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    background-image: url("../image/HEADER/Burger.svg");
}

.nav__logo {
    display: none;
}

.nav__close {
    display: none;
    background: none;
}

.nav__list {
    text-decoration: none;
    list-style: none;
    display: flex;
}

.nav__link {
    text-decoration: none;
    color: var(--blue-dark);
    font-family: "Montserrat";
    font-weight: 600;
    font-size: 18px;
    line-height: 24px;
    letter-spacing: 0px;
    padding: 40px 28px;
    display: block;
}

.nav__link:hover {
    background-color: var(--effect);
    transition: all 0.3s ease;

}

.nav__link:active {
    background-color: var(--effect);
    transition: all 0.3s ease;
}

/* company */
.company {
    color: var(--white);
    position: relative;
    padding: 0 32px;
}

.company__content {
    display: grid;
    gap: 40px;
    background: var(--blue-dark);
    border-radius: 12px;
    padding: 40px 80px 80px 80px;
}

.hidden-link {
    text-decoration: none;
    cursor: default;
}

.company__name {
    font-family: "Montserrat";
    font-weight: 600;
    font-size: 80px;
    line-height: 120px;
}

.company__subtitle {
    font-family: "Montserrat";
    font-weight: 500;
    font-size: 40px;
    line-height: 48px;
}

.company__desc span {
    color: var(--span-green);
}

.company__desc {
    font-family: "Montserrat";
    font-weight: 500;
    font-size: 24px;
    line-height: 32px;
    padding-top: 16px;
}

/* ABOUT CARD */
.about {
    background: var(--white);
    border-radius: 12px;
    padding: 24px 80px 40px 80px;
    position: relative;
    bottom: 40px;
    width: 100%;
    max-width: calc(100% - 160px);
    box-shadow: 0px 0px 25px 0px rgba(0, 0, 0, 0.06);
    color: var(--blue-dark);
    margin: 0 auto;
}

.about__title {
    font-family: "Montserrat";
    font-weight: 500;
    font-size: 40px;
    line-height: 48px;
}

.about__cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 40px;
}

.about__list {
    list-style: none;
    padding-top: 24px;
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
}

.about__item {
    position: relative;
    padding-left: 36px;
    margin-bottom: 20px;
    transition: list-style-image 0.3s;
}

.about__item:last-child {
    margin-bottom: 0;
}

.about__item::before {
    content: "";
    position: absolute;
    left: 0;
    width: 24px;
    height: 24px;
    background: url("../image/SOFTWARE/Approve_Tick_3.svg") no-repeat center / contain;
}

/*.about-card li::before {
  content: "✔️";
  position: absolute;
  left: 0;
  color: #0a7cc2;
}*/

/* ACTIVITY */

.main__title {
    font-family: "Montserrat";
    font-weight: 500;
    font-size: 40px;
    line-height: 48px;
    color: var(--blue-dark);
}

.main__subtitle {
    padding-top: 16px;
    padding-bottom: 40px;
    font-weight: 500;
    font-size: 20px;
    line-height: 24px;
}

.activity__subtitle {
    padding-bottom: 16px;
}

.activity__cards {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    align-items: end;
}

.activity__card {
    display: grid;
    align-content: space-between;
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 0px 25px 0px rgba(0, 0, 0, 0.06);
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
    color: var(--blue-dark);
}

.activity__card_type_small {
    min-height: 232px;
}

.activity__card_type_middle {
    min-height: 316px;
}

.activity__card_type_large {
    min-height: 400px;
}

.activity__img {
    max-width: 80px;
}

/* COMPETENCE */

.competence__block {
    padding: 24px 40px 40px 40px;
    background-color: var(--effect);
    border-radius: 12px;
}

.competence__title {
    font-family: "Montserrat";
    font-weight: 500;
    font-size: 24px;
    line-height: 36px;
    color: var(--blue-dark);
}

.competence__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding-top: 24px;
}

.competence__card {
    display: flex;
    gap: 16px;
    background: var(--white);
    padding: 20px;
    border-radius: 10px;
    font-family: "Montserrat";
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
}

.competence__img {
    max-width: 48px;
    max-height: 48px;
}

/* DEV BLOCK */
/*
.dev-block__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
 /* clip-path: ellipse(92% 110% at 100% 50%);
  -webkit-clip-path: ellipse(92% 110% at 100% 50%);
}
*/

.dev {
    height: 512px;
}

.dev__block {
    display: flex;
    background: var(--white);
    justify-content: space-between;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0px 0px 25px 0px var(--shadow);
}

/* Левая часть */
.dev__content {
    width: 42%;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: end;
    gap: 24px;
}

.dev__title {
    font-weight: 500;
    font-size: 40px;
    line-height: 48px;
}

.dev__text {
    font-size: 18px;
    font-weight: 500;
    line-height: 24px;
}

/* Правая часть */
.dev__image {
    position: relative;
    width: 57.875%;
}

.dev__svg {
    position: absolute;
    width: 0;
    height: 0;
}

/* Маска применяется к картинке */
.dev__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    clip-path: url(#imageClip);
    -webkit-clip-path: url(#imageClip);
}

/* SOFTWARE */

.software__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: stretch;
}

.card {
    border-radius: 12px;
    background: var(--white);
    height: 100%;
    transition: all 0.3s ease;
    min-height: 848px;
    box-shadow: 0px 0px 25px 0px var(--shadow);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.card_type_blue:hover {
    box-shadow: 0 8px 24px rgba(0, 91, 187, 0.2);
}

.card_type_dark:hover {
    box-shadow: 0 8px 24px rgba(0, 46, 97, 0.25);
}

.card__link {
    text-decoration: none;
    color: inherit;
    border-radius: 12px;
    transition: all 0.3s ease;
    padding: 32px 32px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.card__button {
    display: none;
}

.card__top {
    flex-grow: 1;
}

.card__header {
    margin-bottom: 48px;
}

.card__specs {
    margin: 0;
}

.card__spec-term {
    padding-bottom: 8px;
    font-weight: 600;
    font-size: 24px;
    line-height: 36px;
}

.card__spec-desc {
    padding-bottom: 12px;
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    margin: 0;
}

.card__spec-desc:last-child {
    padding-bottom: 0;
}

.card__title {
    font-weight: 600;
    font-size: 40px;
    line-height: 48px;
    margin-bottom: 8px;
}

.card__lead {
    font-weight: 600;
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 24px;
}

.card__subtitle {
    margin: 24px 0 8px;
    font-weight: 600;
}

.card__list {
    list-style: none;
}

.card__item {
    position: relative;
    padding-left: 24px;
    margin-bottom: 8px;
}

.card__item::before {
    content: "";
    position: absolute;
    left: 0;
    width: 20px;
    height: 20px;
    background: url("../image/SOFTWARE/Approve_Tick_2.svg") no-repeat center / contain;
}

.card__item_type_blue::before {
    background: url("../image/SOFTWARE/Approve_Tick.svg") no-repeat center / contain;
}

.card__item_type_dark::before {
    background: url("../image/SOFTWARE/Approve_Tick.svg") no-repeat center / contain;
}

.card_type_blue {
    background: var(--blue);
    color: var(--text-on-dark);
}

.card_type_dark {
    background: var(--blue-dark);
    color: var(--text-on-dark);
}

.card__header {
    display: flex;
    justify-content: space-between;
}

.card__logo {
    max-width: 80px;
}

.card__button {
    display: block;
    min-width: 80px;
    background-image: url("../image/SOFTWARE/Icon_button1.svg");
    text-decoration: none;
}

.card__button_type_blue {
    background-image: url("../image/SOFTWARE/Icon_button.svg");
}

.card__button_type_dark {
    background-image: url("../image/SOFTWARE/Icon_button.svg");
}

/*
.card li {
  list-style-image: url('../image/Approve\(Tick\)\ \(2\).svg');
}

.card.blue li {
  list-style-image: url('../image/Approve\(Tick\).svg');
}

.card.dark li {
  list-style-image: url('../image/Approve\(Tick\).svg');
}
*/

/* EQUIPMENT */

.equipment__cards {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.equipment__card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    gap: 16px;
    box-shadow: 0px 0px 25px 0px var(--shadow);
}

.equipment__text {
    font-weight: 600;
    font-size: 18px;
    line-height: 24px;
}

/* CONTACTS */

.contacts__address {
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
    padding: 24px 0 8px;
}

.contacts__tel {
    display: block;
    text-decoration: none;
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;

}

.contacts__mail {
    display: block;
    text-decoration: none;
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
    padding: 8px 0;
}

.map {
    height: 600px;
    border-radius: 12px;
}

/*FOOTER*/

.footer {
    padding: 80px 160px 40px 160px;
    color: #6f6f6f;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    text-align: center;
    position: relative;
}

/* 
- изменить позиционирование относительно экрана
- переименовать все иконки и папки на английский
*/
.footer__button {
    display: block;
    background-image: url("../image/FOOTER/Urrow_UP.svg");
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
    text-decoration: none;
    width: 80px;
    height: 80px;
    border-radius: 40px;
    padding: 8px;
    position: fixed;
    right: 40px;
    bottom: 80px;
}

.footer__button_visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Страница /about */
.company-card {
    display: flex;
    flex-direction: column;
    gap: 40px;
    color: var(--blue-dark);
}

.company-card__title {
    font-size: 40px;
    font-weight: 500;
    line-height: 48px;
}

.company-card__container {
    background-color: var(--white);
    box-shadow: 0px 0px 25px 0px var(--shadow);
    padding: 48px;
    border-radius: 12px;
}

.company-card__list {
    display: grid;
    gap: 24px;
    list-style: none;
}

.company-card__label {
    font-weight: 600;
    font-size: 24px;
    line-height: 48px;
    margin-bottom: 8px;
}

.company-card__item:last-child .company-card__label {
    margin-bottom: 4px;
}

.company-card__text {
    font-size: 18px;
    font-weight: 500;
    line-height: 24px;
    color: #6F6F6F;
}

.company-card__basic_block {
    padding: 20px 0;
    border-bottom: 1px solid #E5E5E5;
    display: grid;
    gap: 12px;
}

.company-card__basic_list {
    list-style: none;
}

.company-card__basic_item {
    display: flex;
    gap: 8px;
}

.company-card__basic_label {
    font-weight: 600;
    font-size: 18px;
    line-height: 24px;
    min-width: 80px;
}

.company-card__right_block {
    display: grid;
    align-items: center;
    gap: 12px;
    grid-template-columns: 270px 1fr;
}

.company-card__basic {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.company-card__right {
    padding-left: 20px;
    border-left: 1px solid #E5E5E5;
}

.company-card__right .company-card__basic_block:last-child {
    border: 0;
}

/* Страница /price */

.price {
    display: flex;
    flex-direction: column;
    gap: 40px;
    color: var(--blue-dark);
}

.price__title {
    font-size: 40px;
    font-weight: 500;
    line-height: 48px;
}

.price__description {
    font-size: 18px;
    line-height: 24px;
}

.price__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.price__item {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0px 0px 25px 0px #0000000F;
    padding: 32px;
}

.price__label {
    font-size: 24px;
    font-weight: 600;
    line-height: 36px;
    margin-bottom: 8px;
}

.price__text {
    font-size: 18px;
    font-weight: 500;
    line-height: 24px;
    margin-bottom: 16px;
}

.price__price {
    font-size: 18px;
    font-weight: 600;
    line-height: 24px;
}

.company-card__basic_label span {
    color: #6F6F6F;
}

/*Медиазапрос для 1360px*/
@media (max-width: 1360px) {
    .activity__cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .activity__card {
        min-height: 100%;
        font-size: 14px;
        line-height: 20px;
        display: flex;
        align-items: start;
        gap: 12px;
    }

    .activity__card_type_large {
        grid-column-start: 1;
        grid-column-end: 3;
        grid-row-start: 2;
        grid-row-end: 3;
        min-width: 100%;
    }

    .activity__img {
        max-width: 40px;
        order: -1;
    }
}

/*Медиазапрос для 1210px*/
@media (max-width: 1210px) {
    .activity__card {
        font-size: 16px;
        line-height: 20px;
    }
}

/* Медиазапрос для 1144px */
@media (max-width: 1144px) {
    body {
        overflow-x: hidden;
    }

    .main {
        gap: 40px;
    }

    .container {
        max-width: 100%;
        padding: 0 20px;
        box-sizing: border-box;
    }

    .header {
        padding: 16px 20px 16px 40px;
    }

    .logo {
        width: 48px;
        height: 48px;
    }

    .logo img {
        min-width: 48px;
    }

    .nav__link {
        text-decoration: none;
        color: var(--blue-dark);
        font-weight: 600;
        font-size: 14px;
        line-height: 20px;
        padding: 14px 16px;
        display: block;
        text-align: center;
    }

    .company {
        padding: 0;
        max-width: 100%;
        margin: 0 auto;
    }

    .company__content {
        padding: 32px 32px 64px;
    }

    .company__name {
        font-weight: 600;
        font-size: 40px;
        line-height: 48px;
    }

    .company__subtitle {
        font-size: 24px;
        line-height: 36px;
        font-weight: 500;
    }

    .company__desc {
        font-size: 16px;
        line-height: 20px;
    }

    .about {
        padding: 16px 20px 24px 20px;
        max-width: calc(100% - 64px);
        margin: 0 auto;
    }

    .about__title {
        font-size: 24px;
        line-height: 36px;
    }

    .about__cards {
        column-gap: 12px;
    }

    .about__list {
        padding-top: 16px;
        font-size: 14px;
        line-height: 20px;
    }

    .about__item {
        padding-left: 28px;
    }

    .about__item::before {
        width: 20px;
        height: 20px;
    }

    .main__title {
        font-size: 24px;
        line-height: 36px;
    }

    .main__subtitle {
        font-size: 16px;
        line-height: 20px;
        padding-top: 8px;
        padding-bottom: 16px;
    }


    .competence__block {
        padding: 16px 20px 24px 20px;
    }

    .competence__title {
        font-size: 18px;
        line-height: 24px;
    }

    .competence__cards {
        padding-top: 16px;
        gap: 12px;
    }

    .competence__card {
        padding: 12px;
        font-size: 14px;
        line-height: 20px;
        word-break: break-word;
    }

    .competence__img {
        max-width: 32px;
        max-height: 32px;
    }

    .dev.container {
        padding: 0;
    }

    .dev {
        height: auto;
    }

    .dev__block {
        display: block;
    }

    .dev__content {
        width: 100%;
        padding: 16px 20px;
    }

    .dev__title {
        font-size: 24px;
        line-height: 36px;
    }

    .dev__text {
        font-size: 14px;
        line-height: 20px;
    }

    .dev__image {
        width: 100%;
        height: 400px;
    }

    .dev__svg {
        display: none;
    }

    .software__cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .card {
        min-height: auto;
    }

    .card__title {
        font-size: 24px;
        line-height: 36px;
    }

    .card__link {
        padding: 16px;
    }

    .card__lead {
        font-size: 14px;
        line-height: 20px;
    }

    .equipment__cards {
        grid-template-columns: repeat(5, 1fr);
        gap: 12px;
    }

    .equipment__card {
        padding: 12px;
        text-align: start;
        gap: 12px;
    }

    .equipment__text {
        font-size: 14px;
        line-height: 20px;
    }

    .footer {
        padding: 60px 32px 40px;
    }

    /* Страница /about */
    .company-card {
        gap: 24px;
    }

    .company-card__title {
        font-size: 24px;
        line-height: 32px;
    }

    .company-card__list {
        gap: 16px;
    }
    
    .company-card__item {
        gap: 4px;
    }

    .company-card__label,
    .company-card__text {
        font-size: 14px;
        line-height: 20px;
    }

    /* Страница /price */

    .price {
        gap: 16px;
    }

    .price__list {
        gap: 12px;
    }

    .price__title {
        font-size: 24px;
        line-height: 36px;
    }

    .price__description {
        line-height: 20px;
        font-weight: 500;
        font-size: 16px;
    }

    .price__label {
        font-size: 16px;
        line-height: 140%;
    }

    .price__text {
        font-size: 14px;
        line-height: 20px;
        margin-bottom: 8px;
    }

    .price__price {
        font-size: 14px;
        line-height: 20px;
    }

    .company-card__basic {
        display: block;
    }

    .company-card__right {
        border-left: none;
        padding-left: 0;
    }
}

/* Медиазапрос для планшета (768px) */

@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }

    .logo {
        width: 43px;
        height: 48px;
    }

    .logo img {
        min-width: 43px;
    }

    .company {
        padding: 0;
        max-width: 100%;
        margin: 0 auto;
    }

    .company__content {
        padding: 20px 40px 40px 40px;
    }

    .company__desc {
        font-size: 16px;
        line-height: 20px;
        padding-top: 8px;
    }

    .about {
        padding: 16px 20px 24px 20px;
        max-width: calc(100% - 40px);
        margin-top: -20px;
        bottom: 0;
    }

    .about__cards {
        column-gap: 12px;
    }

    .about__list {
        padding-top: 16px;
        font-size: 14px;
        line-height: 20px;
    }

    .about__item {
        padding-left: 28px;
    }

    .about__item::before {
        width: 20px;
        height: 20px;
    }

    .activity__cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .activity__card {
        font-size: 14px;
        line-height: 20px;
        display: flex;
        gap: 12px;
        padding: 12px;
    }

    .dev.container {
        padding: 0;
    }

    .dev {
        height: auto;
    }

    .dev__block {
        display: block;
    }

    .dev__content {
        gap: 12px;
    }

    .dev__image {
        width: 100%;
        height: 406px;
        border-radius: 12px;
    }

    .software__cards {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .card {
        min-height: 516px;
    }

    .card__link {
        padding-bottom: 20px;
    }

    .card__header {
        margin-bottom: 20px;
        align-items: flex-start;
    }

    .card__logo {
        max-width: 40px;
    }

    .card__button {
        min-width: 40px;
        min-height: 40px;
        align-self: flex-start;
        background-image: url("../image/SOFTWARE/Blue_Icon_button_40x40.svg");
    }

    .card__button_type_blue {
        background-image: url("../image//SOFTWARE/White_icon_button_40x40.svg");
    }

    .card__button_type_dark {
        background-image: url("../image/SOFTWARE/White_icon_button_40x40.svg");
    }

    .card__lead {
        margin-bottom: 20px;
    }

    .card__item {
        font-size: 14px;
        line-height: 20px;
        margin-bottom: 4px;
    }

    .card__spec-term {
        font-size: 18px;
        line-height: 24px;
        padding-bottom: 4px;
    }

    .card__spec-desc {
        font-size: 14px;
        line-height: 20px;
        font-weight: 500;
        padding-bottom: 8px;
    }

    .card__subtitle {
        margin: 12px 0 4px;
    }

    .price__item {
        padding: 12px;
    }
    
    .price__text {
        margin-bottom: 32px;
    }

    .price__price {
        font-weight: 600;
        font-size: 16px;
        line-height: 140%;
    }

    .company-card {
        gap: 16px;
    }

    .company-card__title {
        line-height: 36px;
    }

    .company-card__container {
       padding: 12px; 
    }

    .company-card__label {
       margin-bottom: 4px; 
    }

    .company-card__item:last-child .company-card__label {
        font-size: 16px;
        line-height: 24px;
    }

    .company-card__basic_label {
        font-size: 14px;
        line-height: 20px;
    }

    .company-card__basic_block {
        padding: 12px 0 16px;
        gap: 4px;
    }

    .company-card__basic_label span {
        display: block;
    }

    .company-card__basic {
        display: block;
    }

    .company-card__right {
        border-left: none;
        padding-left: 0;
    }

    .company-card__right .company-card__basic_block:last-child {
        padding-bottom: 0;
    }

    .contacts__address {
        font-size: 14px;
        line-height: 20px;
        padding: 16px 0;
    }

    .contacts__tel {
        font-size: 14px;
        line-height: 20px;
    }

    .contacts__mail {
        font-size: 14px;
        line-height: 20px;
        padding: 8px 0px;
    }

    .map {
        height: 348px;
        margin: 0 -20px;
    }

    .footer {
        padding: 40px 40px;
    }

    .footer__button {
        width: 48px;
        height: 48px;
        right: 20px;
        bottom: 40px;
        background-size: cover;
    }
}

@media (max-width: 764px) {
    .equipment__cards {
        grid-template-columns: repeat(3, 1fr);
    }

    .header {
        padding: 8px 20px;
        position: fixed;
        max-height: 80px;
        z-index: 1;
    }

    .main {
        padding-top: 80px;
    }

    .logo {
        min-width: 43px;
        min-height: 48px;
    }

    .burger {
        display: block;
    }

    /* NAV как модальное окно */
    .nav {
        position: fixed;
        inset: 0;
        background: var(--gray-bg);
        z-index: 1000;
        padding: 8px 20px;
        display: flex;
        flex-direction: column;
        transform: translateY(-100%);
        transition: transform 0.3s ease;
    }

    .nav.nav_open {
        transform: translateY(0);
    }

    .nav__logo {
        display: block;
        width: 48px;
        height: 48px;
    }

    /* крестик */
    .nav__close {
        position: fixed;
        top: 8px;
        right: 20px;
        display: block;
        width: 48px;
        height: 48px;
        background-image: url("../image/HEADER/X_mark.svg");
        border: none;
        cursor: pointer;
        z-index: 1002;
    }

    /* список */
    .nav__list {
        list-style: none;
        padding: 32px 20px;
        width: 100%;
        display: grid;
    }

    .nav__link {
        display: block;
        text-align: end;
        padding: 14px 16px;
        font-weight: 600;
        font-size: 14px;
        line-height: 20px;
        color: var(--blue-dark);
    }

    .nav__link:hover {
        background: var(--effect);
    }

    .competence__cards {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .competence__card {
        padding: 12px;
        min-height: 104px;
    }

    .competence__img {
        max-width: 32px;
        max-height: 32px;
    }
}

/*Медиазапрос для телефона 360px*/

@media (max-width: 480px) {
    .container {
        max-width: 100%;
        padding: 0 16px;
        box-sizing: border-box;
    }

    .header {
        padding: 8px 20px;
        max-height: 64px;
    }

    .main {
        padding-top: 64px;
    }

    .company.container {
        padding: 0;
    }

    .company__content {
        padding: 20px 16px 40px;
        gap: 20px;
        border-radius: 12px;
    }

    .company__name {
        font-size: 32px;
        line-height: 40px;
    }

    .company__subtitle {
        font-size: 24px;
        line-height: 32px;
    }

    .company__desc {
        font-size: 14px;
        line-height: 20px;
        padding-top: 8px;
    }

    .about {
        border-radius: 8px;
        padding: 16px 12px 24px;
    }

    .about__title {
        font-size: 24px;
        line-height: 32px;
    }

    .about__cards {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .about__list {
        font-size: 14px;
        line-height: 20px;
        padding-top: 16px;
    }

    .about__item {
        padding-left: 28px;
        margin-bottom: 12px;
    }

    .about__item::before {
        width: 20px;
        height: 20px;
    }

    .main__title {
        font-size: 24px;
        line-height: 32px;
    }

    .main__subtitle {
        font-size: 14px;
        line-height: 20px;
        padding-bottom: 16px;
    }

    .activity__cards {
        gap: 12px;
    }

    .activity__card {
        font-size: 14px;
        line-height: 20px;
        display: grid;
        word-break: break-word;
    }

    .activity__img {
        max-width: 40px;
    }

    .competence__block {
        padding: 16px 16px 24px;
    }

    .competence__title {
        font-size: 18px;
        line-height: 24px;
    }

    .dev__content {
        width: 100%;
        padding: 16px;
        gap: 12px;
    }

    .dev__image {
        width: 100%;
        height: 200px;
    }

    .dev__img {
        clip-path: none;
    }

    .software__cards {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .card {
        min-height: 648px;
    }

    .card__link {
        padding: 12px;
    }

    .card__item {
        font-weight: 500;
    }

    .card__spec-desc {
        font-size: 14px;
        line-height: 20px;
    }

    .equipment__cards {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .equipment__card {
        min-width: 260px;
        justify-content: center;
        align-items: center;
    }

    .price {
        gap: 8px;
    }

    .price__description {
        padding-bottom: 8px;
        font-size: 14px;
    }

    .price__text {
        margin-bottom: 24px;
    }

    .company-card__list {
        gap: 12px;
    }

    .company-card__item:last-child {
        padding-top: 12px;
    }

    .company-card__item:last-child .company-card__label {
        font-size: 14px;
        line-height: 20px;
    }

    .company-card__item:last-child .company-card__label {
        margin-bottom: 0;
    }

    .company-card__basic_block {
        padding: 12px 0 20px;
        gap: 4px;
    }

    .company-card__basic_label span {
        display:inline;
        color: inherit;
    }

    .company-card__right_block {
        gap: 4px;
        grid-template-columns: 1fr;
    }

    .contacts__address {
        font-size: 14px;
        line-height: 20px;
    }

    .map {
        height: 200px;
        margin: 0 -16px;
    }

    .footer {
        padding: 40px 40px;
        font-size: 16px;
        line-height: 20px;
    }

    .footer__button {
        width: 48px;
        height: 48px;
        right: 16px;
        bottom: 40px;
        background-image: url("../image/FOOTER/arrow_UP.svg");
    }
}