body {
    margin: 0;
}

.site-header,
.site-header * {
    box-sizing: border-box;
}

.site-header {
    position: relative !important;
    z-index: 30;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #ffffff !important;
    color: #343530 !important;
    font-size: 16px !important;
    line-height: 1.3;
    text-align: left !important;
}

.site-header__top {
    border-bottom: 4px solid #217346;
    background-color: #41423e;
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    width: min(1180px, calc(100% - 48px));
    min-height: 92px;
    margin: 0 auto;
    padding: 16px 0;
}

.site-header__brand {
    display: inline-flex !important;
    flex-direction: column;
    flex-shrink: 0;
    margin: 0 !important;
    color: #ffffff !important;
    text-decoration: none !important;
    transform: none !important;
}

.site-header__name {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.1;
}

.site-header__tagline {
    margin-top: 5px;
    color: #dfe2dc;
    font-family: Arial, sans-serif;
    font-size: 14px;
}

.site-header__contacts {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
}

.site-header__socials {
    display: flex;
    gap: 8px;
}

.site-header__social {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin: 0 !important;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 50%;
    color: #ffffff !important;
    text-decoration: none !important;
    transform: none !important;
}

.site-header__social:hover {
    border-color: #ffffff;
}

.site-header__social img {
    display: block !important;
    width: 34px !important;
    height: 34px !important;
    margin: 0 !important;
    object-fit: contain;
}

.site-header__max {
    border-color: rgba(255, 255, 255, 0.24);
    background-color: transparent;
}

.site-header__phones {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.site-header__phone {
    display: block !important;
    margin: 0 !important;
    color: #ffffff !important;
    font-family: Arial, sans-serif;
    font-size: 15px !important;
    line-height: 1.25;
    text-decoration: none !important;
    transform: none !important;
    white-space: nowrap;
}

.site-header__phone:hover {
    text-decoration: underline !important;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2px 24px;
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto !important;
    padding: 0 !important;
    background-color: #ffffff !important;
    text-align: center;
}

.site-nav a {
    display: inline-flex !important;
    align-items: center;
    min-height: 52px;
    margin: 0 !important;
    padding: 4px 0;
    border-bottom: 3px solid transparent;
    color: #4b4a45 !important;
    font-family: Arial, sans-serif;
    font-size: 16px !important;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none !important;
    transform: none !important;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
    border-bottom-color: #217346;
    color: #217346 !important;
}

.site-nav .excel-icon {
    width: 20px;
    height: 20px;
    margin-right: 6px;
    border-radius: 3px;
    font-size: 14px;
}

.site-header + br {
    display: none;
}

@media (max-width: 700px) {
    .site-header__inner {
        flex-direction: column;
        gap: 14px;
        width: 100%;
        min-height: 0;
        padding: 18px 16px 16px;
    }

    .site-header__brand {
        align-items: center;
        text-align: center;
    }

    .site-header__name {
        font-size: 29px;
    }

    .site-header__tagline {
        font-size: 13px;
    }

    .site-header__contacts {
        gap: 14px;
    }

    .site-header__phone {
        font-size: 14px !important;
    }

    .site-nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0;
        width: 100%;
        padding: 0 8px !important;
    }

    .site-nav a {
        justify-content: center;
        min-height: 46px;
        padding: 8px 5px;
        border-bottom-width: 2px;
        font-size: 15px !important;
        text-align: center;
    }

    .site-nav a:last-child {
        grid-column: 1 / -1;
    }
}

.site-footer,
.site-footer * {
    box-sizing: border-box;
}

.site-footer {
    width: 100% !important;
    height: auto !important;
    margin: 48px 0 0 !important;
    padding: 0 24px !important;
    border-top: 4px solid #217346;
    background-color: #41423e !important;
    color: #ffffff;
    font-family: Arial, sans-serif;
    font-size: 15px;
    line-height: 1.5;
    text-align: left !important;
}

.site-footer__inner {
    display: flex;
    flex-direction: column;
    width: min(1180px, 100%);
    margin: 0 auto;
}

.site-footer__content {
    display: grid;
    grid-template-columns: 1.15fr 1fr 1.35fr;
    gap: 32px;
    width: 100%;
    padding: 34px 0 28px;
}

.site-footer__brand {
    display: block;
    margin-bottom: 8px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
    line-height: 1.2;
}

.site-footer__tagline,
.site-footer__label {
    color: #dfe2dc;
}

.site-footer__title {
    margin: 0 0 10px;
    color: #ffffff;
    font-size: 16px;
    line-height: 1.3;
}

.site-footer__contacts,
.site-footer__details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}

.site-footer__details address {
    max-width: 360px;
    margin: 0;
    font-style: normal;
}

.site-footer__details p {
    margin: 0;
}

.site-footer a:not(.agw-site-credit) {
    display: inline-block !important;
    margin: 0 !important;
    color: #ffffff !important;
    font-size: 15px !important;
    text-decoration: none !important;
    transform: none !important;
}

.site-footer a:not(.agw-site-credit):hover {
    text-decoration: underline !important;
}

.site-footer__socials {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-top: 6px;
}

.site-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    min-height: 76px;
    padding: 14px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    color: #dfe2dc;
    font-size: 14px;
}

.site-footer .agw-site-credit {
    --agw-credit-text: #667085;
    --agw-credit-strong: #10233f;
    --agw-credit-accent: #38c98a;
    display: inline-flex !important;
    width: fit-content;
    max-width: 100%;
    align-items: center;
    gap: 8px;
    margin: 0 !important;
    color: var(--agw-credit-text) !important;
    font: 500 12px/1.3 Arial, sans-serif;
    text-decoration: none !important;
    transform: none !important;
    transition: color 180ms ease;
}

.site-footer .agw-site-credit--dark {
    --agw-credit-text: #aeb8c7;
    --agw-credit-strong: #ffffff;
    --agw-credit-accent: #54d69a;
}

.site-footer .agw-site-credit--light {
    --agw-credit-text: #667085;
    --agw-credit-strong: #10233f;
    --agw-credit-accent: #38c98a;
}

.site-footer .agw-site-credit--mono-dark {
    --agw-credit-text: #10233f;
    --agw-credit-strong: #10233f;
    --agw-credit-accent: #10233f;
}

.site-footer .agw-site-credit--mono-light {
    --agw-credit-text: #ffffff;
    --agw-credit-strong: #ffffff;
    --agw-credit-accent: #ffffff;
}

.site-footer .agw-site-credit:hover {
    color: var(--agw-credit-strong) !important;
}

.site-footer .agw-site-credit:focus-visible {
    border-radius: 4px;
    outline: 2px solid var(--agw-credit-accent);
    outline-offset: 4px;
}

.site-footer .agw-site-credit__mark {
    display: block;
    width: 24px;
    height: auto;
    flex: 0 0 auto;
    overflow: visible;
}

.site-footer .agw-site-credit__wing {
    fill: var(--agw-credit-accent);
}

.site-footer .agw-site-credit__center {
    fill: var(--agw-credit-strong);
}

.site-footer .agw-site-credit strong {
    color: var(--agw-credit-strong);
    font-weight: 800;
    letter-spacing: 0;
}

.site-footer .agw-site-credit strong span {
    color: var(--agw-credit-accent);
}

@media (max-width: 700px) {
    .site-footer {
        padding: 0 16px !important;
    }

    .site-footer__content {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 28px 0 24px;
    }

    .site-footer__bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        padding: 18px 0 22px;
    }
}
