* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
}

a {
    text-decoration: none;
    color: #000;
}

img {
    width: 100%;
    height: auto;
}

p {
    line-height: 1.7;
}

.container {
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    margin: auto;
}

.btn {
    padding: 17px 33px;
    letter-spacing: .8px;
    display: table;
    text-transform: uppercase;
    font-weight: 600;
    border-radius: 4px;
}
.btn--primary {
    background: #fcf646;
    color: #000;
}
.btn--secondary {
    background: #1875e0;
    color: #fff;
}

.fixed {
    position: fixed;
    width: 100%;
    z-index: 999;
}

.banner {
    padding: 20px 0;
    text-align: center;
    color: #4e4e4e;
    font-size: 14px;
    border-bottom: 1px solid #ccc;
}
.banner a {
    color: #ec1c24;
}
.banner--red {
    background-color: #ec2a38;
    color: #fff;
    border: 0;
}

.navbar {
    padding: 15px 0;
    background: #fff;
}
.navbar__wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}
.navbar__logo {
    max-width: 220px;
}
.navbar__phone {
    color: #335E99;
    font-weight: 600;
    font-size: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.navbar__phone img {
    width: 30px;
    height: 30px;
}
.navbar__phone a {
    color: #df0f0f;
}
.menu {
    padding: 20px;
    background: #335E99;
    display: none;
}
.menu__list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    column-gap: 40px;
    row-gap: 20px;
}
.menu__link {
    color: #fff;
    font-weight: 600;
    font-size: 14px;
}
.hero {
    background: url("../images/hero-bg.jpg") no-repeat bottom center;
    background-size: cover;
    padding-top: 320px;
    padding-bottom: 80px;
    text-align: center;
}
.hero__title {
    font-size: 30px;
    margin: 5px 22px;
}
.hero__list {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 20px;
}
.hero__list li {
    font-size: 22px;
    position: relative;
}
.hero__list li:not(:first-child)::before {
    content: "";
    position: absolute;
    width: 11px;
    height: 11px;
    background: #000;
    left: -22px;
    top: 0;
    bottom: 0;
    margin: auto;
    border-radius: 100%;
}
.hero__text {
    font-size: 22px;
}
.hero__btn {
    font-size: 30px;
    padding: 20px 40px;
    margin: 20px auto;
}

.services {
    padding: 60px 0;
}
.services__list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    row-gap: 40px;
}
.services__item {
    flex: 1 0 30%;
    text-align: center;
}
.services__name {
    font-weight: 600;
    text-transform: uppercase;
    color: #335E99;
    text-align: center;
}
.services__img {
    width: 100px;
    height: 100px;
}

.section-with-image {
    padding: 40px 0;
}
.section-with-image__title {
    margin-bottom: 20px;
    color: #ec2a38;
    font-size: 36px;
}
.section-with-image__title span {
    color: #414141;
}
.section-with-image__img {
    display: none;
}
.section-with-image__btn {
    margin-top: 20px;
}
.section-with-image__list {
    margin-left: 20px;
    margin-top: 20px;
}
.section-with-image__list li {
    margin-bottom: 10px;
}

.article {
    padding: 60px 0;
}
.article__wrapper {
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 40px;
}
.article__header {
    display: grid;
    gap: 40px;
    margin-bottom: 60px;
}
.article__title,
.article__subtitle {
    margin-bottom: 20px;
}
.article__title {
    font-size: 30px;
}
.article__subtitle {
    font-size: 24px;
}
.article p {
    margin-bottom: 20px;
}
.article__footer {
    padding-top: 40px;
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    border-top: 1px solid #ccc;
}
.article__footer h3 {
    color: #335E99;
    margin-bottom: 10px;
}
.article__footer a {
    color: #ec2a38;
}

.benefits {
    padding: 80px 0;
    border-top: 4px solid #335E99;
}
.benefits__img {
    max-height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
}
.benefits__title {
    text-align: center;
    font-size: 36px;
    line-height: 38px;
    font-weight: 600;
    color: #335E99;
    margin-bottom: 40px;
}
.benefits__subtitle {
    color: #335E99;
    text-transform: capitalize;
    font-size: 24px;
    margin-bottom: 20px;
}
.benefits__list {
    list-style: none;
    display: grid;
    gap: 40px;
}
.benefits__item {
    text-align: center;
}
.benefits__btn {
    margin: 60px auto auto;
}

.contractors {
    background: url("../images/contractors-bg.jpg") no-repeat;
    background-size: cover;
    padding: 80px 0;
    border-top: 4px solid #335E99;
}
.contractors__title {
    text-align: center;
    font-size: 36px;
    line-height: 38px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
}
.contractors__list {
    list-style: inside;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    padding: 40px 0;
}
.contractors__list li {
    flex: 0 0 140px;
    margin: 8px;
    color: #fff;
    font-size: 12px;
}

.footer {
    padding: 60px 0;
    background: #262626;
    border-top: 4px solid #ec2a38;
}
.footer__img {
    display: block;
    margin: 0 auto 40px;
    max-width: 54px;
}
.footer__title {
    font-size: 20px;
    line-height: 24px;
    text-transform: uppercase;
    color: #fff;
    font-weight: 500;
    text-align: center;
}
.footer__title a {
    color: #fc4249;
}
.footer__list {
    list-style: none;
    margin: 20px 0;
    text-align: center;
}
.footer__list li {
    display: inline-block;
    vertical-align: top;
    padding: 0 10px;
    border-right: 1px solid #848383;
}
.footer__list li:last-child {
    border: 0;
}
.footer__list li a {
    font-size: 13.5px;
    line-height: 16px;
    color: #9d9c9c;
    font-weight: 400;
    margin: 0 0 10px;
}
.footer__text {
    margin-bottom: 20px;
    text-align: center;
    font-size: 14px;
    line-height: 16px;
    color: #afafaf;
}

@media screen and (min-width: 540px) {
    .navbar__wrapper {
        justify-content: space-between;
    }
    .navbar__logo {
        max-width: 260px;
    }
    .menu {
        display: block;
    }
    .hero {
        padding-top: 380px;
    }
}

@media screen and (min-width: 1200px) {
    .menu__link {
        font-size: 16px;
    }
    .banner {
        font-size: 20px;
    }
    .hero {
        padding-top: 340px;
        text-align: left;
    }
    .hero__title {
        margin: 0 0 20px;
        font-size: 40px;
    }
    .hero__list {
        justify-content: left;
    }
    .hero__btn {
        margin-left: 0;
    }
    .services__item {
        flex: unset;
    }
    .section-with-image__wrapper {
        display: grid;
        gap: 60px;
        grid-template-columns: repeat(2, 1fr);
    }
    .section-with-image__img {
        display: block;
    }
    .article__header {
        grid-template-columns: repeat(2, 1fr);
    }
    .benefits__list {
        grid-template-columns: repeat(3, 1fr);
        gap: 80px;
    }
}