@font-face {
    font-family: 'IntroCRM Manrope';
    src: url('/assets/home-v2/assets/fonts/manrope-latin.woff2') format('woff2');
    font-display: swap;
    font-weight: 400 800;
    unicode-range: U+0000-024F, U+2000-206F, U+2190-21FF;
}

@font-face {
    font-family: 'IntroCRM Manrope';
    src: url('/assets/home-v2/assets/fonts/manrope-cyrillic.woff2') format('woff2');
    font-display: swap;
    font-weight: 400 800;
    unicode-range: U+0400-052F, U+2116;
}

[data-site-chrome] {
    background: #f7efdf;
    color: #35372f;
    font-family: 'IntroCRM Manrope', Arial, sans-serif;
}

[data-site-chrome] a { color: inherit; text-decoration: none; }
[data-site-chrome] :is(a, button):focus-visible {
    outline: 2px solid #b8451a;
    outline-offset: 4px;
}
[data-site-chrome] svg {
    display: inline-block;
    flex: none;
    width: 1.15em;
    height: 1.15em;
}

[data-site-chrome] .introcrm-wordmark {
    display: inline-block;
    color: #272d24;
    font-size: 29px;
    font-weight: 800;
    letter-spacing: -1.7px;
    line-height: 1;
    white-space: nowrap;
}
[data-site-chrome] .introcrm-wordmark > span {
    display: inline-block;
    width: 4px;
    height: 4px;
    margin-left: 3px;
    border-radius: 50%;
    background: #f46c37;
}

.shared-header__inner {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 36px;
    max-width: 1530px;
    min-height: 96px;
    margin: 0 auto;
    padding: 22px 5.5%;
}
.shared-header nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 30px;
    margin-left: auto;
}
.shared-header nav a {
    padding: 10px 0;
    color: #6c695e;
    font-size: 13px;
    font-weight: 450;
    line-height: 1.5;
}
.shared-header nav a:hover { color: #a9421a; }
.shared-header .shared-header__project {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 23px;
    min-height: 48px;
    padding: 13px 22px;
    border-radius: 30px;
    background: #c94d18;
    color: #fff;
    box-shadow: 0 6px 20px #ba4b1710;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.3;
    letter-spacing: -.02em;
}
.shared-header .shared-header__project:hover { background: #ad4013; }
.shared-header__project svg { width: 19px; height: 19px; }

.shared-footer {
    padding: 60px 5.5% 22px;
    border-top: 1px solid #e4d7c3;
}
.shared-footer__grid {
    display: grid;
    grid-template-columns: 1.45fr 1fr 1fr .95fr;
    gap: 4vw;
    padding: 1.5vw 0 4vw;
}
.shared-footer__about p {
    margin: 1.4vw 0;
    color: #766b56;
    font-size: clamp(14px, 1vw, 19px);
    line-height: 1.55;
}
.shared-footer .shared-footer__email {
    display: inline-flex;
    align-items: center;
    gap: .6em;
    color: #4c5341;
    font-size: clamp(14px, 1.06vw, 20px);
    font-weight: 600;
}
.shared-footer__social {
    display: flex;
    flex-wrap: wrap;
    gap: max(8px, .6vw);
    margin-top: max(14px, 1.5vw);
}
.shared-footer__social a {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    gap: .5em;
    min-height: 40px;
    padding: 7px max(10px, .75vw);
    border: 1px solid #dacdb9;
    border-radius: max(10px, .8vw);
    background: #fffaf04d;
    color: #7b6241;
    font-size: clamp(12px, .93vw, 17px);
}
.shared-footer nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: max(8px, .95vw);
}
.shared-footer nav h2 {
    margin: 0 0 .6vw;
    color: #4a513f;
    font-size: clamp(14px, 1vw, 19px);
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0;
}
.shared-footer nav > a {
    color: #736b58;
    font-size: clamp(14px, 1vw, 19px);
    font-weight: 450;
    line-height: 1.4;
}
.shared-footer nav > .shared-footer__project {
    display: inline-flex;
    align-items: center;
    gap: .6em;
    margin-top: .65vw;
    color: #a6431b;
}
.shared-footer :is(a, button):hover { color: #a6431b; }
.shared-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px 2vw;
    padding-top: max(16px, 1.8vw);
    border-top: 1px solid #ded2be;
    color: #78674e;
    font-size: clamp(12px, .83vw, 16px);
    line-height: 1.5;
}
.shared-footer__bottom > div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 1.5vw;
}
.shared-footer__bottom button {
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: .2em;
}
.shared-footer__bottom button[hidden] { display: none; }

body.error-page:has(> .shared-header) {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 0;
}
.error-page:has(> .shared-header) .error-page__main {
    max-width: calc(100% - 28px);
    margin: auto;
}
.error-page > .shared-header { margin-bottom: 28px; }
.error-page > .shared-footer { margin-top: 28px; }

@media (max-width: 800px) {
    .shared-header__inner {
        flex-wrap: wrap;
        gap: 20px;
        padding: 22px 6%;
    }
    .shared-header .introcrm-wordmark { font-size: 26px; }
    .shared-header nav {
        order: 3;
        width: 100%;
        margin: 0;
        padding-top: 8px;
        border-top: 1px solid #dfd0b8;
        column-gap: 25px;
    }
    .shared-header .shared-header__project {
        min-height: 42px;
        margin-left: auto;
        padding: 10px 16px;
        gap: 12px;
        font-size: 12px;
    }
    .shared-footer { padding: 42px 6% 20px; }
    .shared-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px 20px;
        padding: 0 0 30px;
    }
    .shared-footer__about { grid-column: 1 / -1; }
    .shared-footer__about p { margin: 16px 0; }
    .shared-footer nav { gap: 6px; }
    .shared-footer nav h2 { margin-bottom: 9px; }
    .shared-footer nav > a { min-height: 29px; padding: 3px 0; }
    .shared-footer__bottom { flex-direction: column; gap: 19px; padding-top: 24px; }
    .shared-footer__bottom > div { flex-direction: column; align-items: flex-start; gap: 11px; }
    .shared-footer__bottom :is(a, button) { min-height: 24px; }
}

@media (max-width: 480px) {
    .shared-header nav a { font-size: 11px; }
    .shared-header .shared-header__project { padding: 10px 14px; gap: 10px; font-size: 11px; }
    .shared-header__project svg { width: 15px; height: 15px; }
}
