.body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    text-align: center;
}
.header {
    background: url('header-bg.jpg') center center/cover no-repeat;
    color: white;
    padding: 60px 0 370px 0;
    position: relative;
    z-index: 1;
}
.header::before {
    content: "";
    position: absolute;
    inset: 0; /* растянуть на весь блок */
    background: rgba(0, 0, 0, 0.3);
    z-index: -1;
}
.h1 {
    font-size: 1.75rem;
    font-weight: bold;
}
.contact-links a {
    display: inline-block;
    vertical-align: middle;
}
.main-color {
    color: #4f515d;
}
.bg-main-color {
    background-color: #4f515d;
}
.button {
    padding: 0.466rem 1.5rem;
    height: 38px;
    font-size: smaller;
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
}
.link {
    text-decoration: none;
    color: white;
    font-weight: bold;
    cursor: pointer;
}
.highlight {
    color: #c63f3b;
}
i {
    margin-right: 4px;
    vertical-align: middle;
}
.card-info {
    margin-bottom: 30px;
}
.card-info-h2 {
    font-size: 1.25rem;
    font-weight: bold;
    color: #c63f3b;
}
.block-width-120px {
    width: 120px;
    margin: 0 auto .5rem auto;
}
.block-width-260px {
    width: 260px;
    margin: 0 auto .5rem auto;
}
.footer {
    background: #3a3f47;
    color: #fff;
    padding: 24px 0;
}
.custom-container {
    max-width: 1780px
}
@media (max-width: 942px) {
    .header {
        background: url('header-bg-942.jpg') center center/cover no-repeat;
    }
}
@media (max-width: 480px) {
    .header {
        background: url('header-bg-576.jpg') center center/cover no-repeat;
        padding: 40px 0 200px 0;
    }
    .h1 {
        font-size: 1rem;
        line-height: 1.5;
    }
    .card-info {
        margin-bottom: 12px;
    }
    .card-info-h2 {
        font-size: 1rem;
    }
    .card-info p {
        font-weight: 500;
    }
    .block-width-120px {
        width: auto;
    }
    .hr-button {
        padding: 0.466rem .5rem;
        margin-bottom: 4px;
    }
    .contact-box {
        padding-bottom: 20px;
        position: relative;
    }
    .contact-box:not(:last-child)::after {
        content: '';
        display: block;
        height: 2px;
        background-color: #c63f3b;
        width: 82.5%;
        margin: 0 auto;
        margin-top: 36px;
    }
}