@font-face {
    font-family: 'Inter';
    src: local('fonts/Inter-bold'), local('Inter-Bold'),
        url('../fonts/Inter-Bold.woff') format('woff2'),
        url('../fonts/Inter-Bold.woff') format('woff'), ;
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: local('fonts/Inter-Regular'), local('Inter-Regular'),
        url('../fonts/Inter-Regular.woff2') format('woff2'),
        url('../fonts/Inter-Regular.woff') format('woff'), ;
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


html {
    box-sizing: border-box;
}

*,
*::before *::after {
    box-sizing: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

image {
    max-width: 100%;
}

body {

    min-height: 320px;
    font-family: "Inter", sans-serif;
    font-weight: 400;
}

address {
    font-style: normal;
}

/*glob*/

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 30px;

}

.flex {
    display: flex;
}

.list-reset {
    margin: 0;
    padding: 0;
    list-style: none;
}

.btn-reset {
    padding: 0;
    border: none;
    background-color: transparent;
    cursor: pointer;
}

:root {
    --margin-bottom: 100px;
}

.intendent_block {
    margin-bottom: 100px;
}

.title_blok {
    margin: auto;
    margin-bottom: 80px;
    max-width: 1170px;
    white-space: nowrap;
    text-align: center;
    font-weight: 700;
    font-size: 64px;
    color: #000;
    background-color: #DDD8D8;
    border-radius: 10px;
}



/*header*/

.header {
    flex-wrap: wrap;
    padding-top: 40px;
    margin-bottom: 50px;
}

.header_container {
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.header_logo {
    margin-right: 80px;
}

.header_nav {
    margin-right: 123px;
}


.nav__item:not(:last-child) {
    margin-right: 110px;
}

.nav__link {
    position: relative;
    outline: none;
    white-space: nowrap;
    font-size: 20px;
    transition: color 0.3s ease-in-out, border 0.3s ease-in-out, border 0.3s ease-in-out;
    transform-origin: center;
}

.nav__link::after {
    content: "";
    position: absolute;
    top: -4px;
    left: -8px;
    right: -8px;
    bottom: -4px;
    border-radius: 5px;
    border: 3px solid #FF0808;
    outline: none;
    opacity: 0;
}

.nav__link:focus {
    border-top: 3px solid #000;
}

.nav__link:hover::after {
    opacity: 1;
}

.nav__link:active {
    color: #fff;
    background-color: #000;
    outline-offset: 4px;
}

.nav__link:active::after {
    opacity: 0;
}

.heder_nav_btn {
    position: relative;
    outline: none;
    min-width: 170px;
    padding: 9px 12px;
    font-size: 18px;
    white-space: nowrap;
    background-color: #D31926;
    color: #fff;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: transform .5s;
}

.form_logo_img {
    width: 300px;
    margin-bottom: 30px;
}


.form-popup {
    display: none;
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    border: 3px solid #000;
    border-radius: 20px;
    z-index: 9;
}

.form-container {
    display: flex;
    flex-direction: column;
    min-width: 100px;
    padding: 10px;
    background-color: white;
    border-radius: 20px;
    transition: 0.3s;
}

.form-container input
{
    width: 100%;
    padding-bottom: 15px;
    padding-top: 15px;
    margin: 5px 0 22px 0;
    border: none;
    background: #f1f1f1;
}

.form-container input:focus 
{
    background-color: #ddd;
    outline: none;
}

.form-container .btn {
    background-color: #000000;
    color: white;
    padding: 16px 20px;
    border: none;
    cursor: pointer;
    width: 100%;
    margin-bottom: 10px;
    opacity: 0.8;
    font-size: 15px;
    font-weight: bold;
}

.form-container .cancel {
    background-color: #000000;
}

.form-container .btn:hover,
.open-button:hover {
    opacity: 1;
}

#success_form
{
    display: none;
}



.heder_nav_btn::after {
    content: "";
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    border-radius: 5px;
    border: 3px solid #FF0808;
    outline: none;
    opacity: 0;
}

.heder_nav_btn:focus::after {
    opacity: 1;
}

.heder_nav_btn:focus {
    color: #000;
    background-color: #fff;
}


.heder_nav_btn:hover {
    background-color: #EB1111;
    transform: scale(1.2);
}

.heder_nav_btn:active {
    border-radius: 5px;
    border: 3px solid #000;
    color: #D31926;
    background-color: #fff;
}

.heder_nav_btn:active::after {
    opacity: 0;
}

/*main_blok*/

.main_blok {
    position: relative;
    background-image: url("../img/main_blok_img.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top center;
}

.main_title {
    position: relative;
    margin: 0;
    margin-bottom: 24px;
    font-weight: 700;
    font-size: 64px;
    color: aliceblue;
}

.main_title_red {
    color: #D31926;
}

.main_title_content {
    flex-direction: column;
    margin: 0;
    width: 480px;
    min-height: 300px;
    padding: 130px 135px;
    font-weight: 700;
    font-size: 36px;
    color: #fff;
}

.main_content {
    margin: 0;
    margin-bottom: 80px;
    font-weight: 700;
    font-size: 45px;
}

.main_link {
    position: relative;
    margin-top: auto;
    padding: 10px 26px;
    width: max-content;
    font-weight: 700;
    font-size: 18px;
    color: black;
    background-color: #fff;
    border-radius: 5px;
}


.main_link:focus::after {
    opacity: 1;
}

.main_link::after {
    content: "";
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    border-radius: 5px;
    border: 3px solid #FF0808;
    outline: none;
    opacity: 0;
}

.main_link:hover {
    background-color: #EB1111;
    color: #fff;
}

.main_link:active {
    background-color: #fff;
    color: #D31926;
}

.main_link:active::after {
    opacity: 0;
}

.heder_nav_btn_mob {
    display: none;
}


.heder_nav_btn_mob {
    position: relative;
    outline: none;
    width: max-content;
    padding: 9px 12px;
    font-size: 18px;
    white-space: nowrap;
    background-color: #D31926;
    color: #fff;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: transform .5s;
}

.heder_nav_btn_mob::after {
    content: "";
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    border-radius: 5px;
    border: 3px solid #FF0808;
    outline: none;
    opacity: 0;
}

.heder_nav_btn_mob:focus::after {
    opacity: 1;
}

.heder_nav_btn_mob:focus {
    color: #000;
    background-color: #fff;
}


.heder_nav_btn_mob:hover {
    background-color: #EB1111;
    transform: scale(1.2);
}

.heder_nav_btn_mob:active {
    border-radius: 5px;
    border: 3px solid #000;
    color: #D31926;
    background-color: #fff;
}


.heder_nav_btn_mob:active::after {
    opacity: 0;
}

/*about_company*/

.about_company {
    margin-bottom: 70px;
}

.about_company_content {
    justify-content: space-around;
    position: relative;
    margin-bottom: 50px;
    width: 100%;
}

.about_company_title_mob {
    display: none;
}

.about_company_img {
    margin-bottom: 10px;
    border-radius: 30px;
}

.about_company_text {
    flex-direction: column;
    max-width: 700px
}

.about_company_license {
    margin: 0;
    margin-bottom: 100px;
    text-align: center;
    font-weight: 600;
    font-size: 20px;
}

.about_company_license_mob {
    display: none;
}

.position_text {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-left: 36px;
    padding-bottom: 150px;
}

.about_company_info {
    margin: 0;
    max-width: 400px;
    font-weight: 700;
    font-size: 18px;
    color: #000;
}

.about_company_list {
    flex-wrap: wrap;
    justify-content: space-around;
}

.about_company_item {
    margin-bottom: 30px;
    text-align: center;
    line-height: 1;
}

.about_company_title {
    font-weight: 700;
    font-size: 48px;
    margin-bottom: 50px;
}


.about_company_small_text {
    margin: 0;
    font-weight: 700;
    font-size: 24px;
}

.about_company_descr {
    margin: 0;
    font-weight: 700;
    font-size: 24px;
}

/*services*/

.services {
    margin-bottom: 100px;
}

.services_title {
    margin: 0;
}

.services_card_1 {
    background-image: url(../img/Urban_objects.jpg);

}

.servises_cards_2 {
    background-image: url(../img/card_2.jpg);
}

.services_cards {
    flex-direction: column;
    justify-content: center;
    padding: 50px 90px 135px;
    background-repeat: no-repeat;
    background-size: cover;
}

.services_cards:not(:last-child) {
    margin-bottom: 80px;
}

.services_title {
    margin-bottom: 170px;
    font-weight: 700;
    font-size: 64px;
    color: #fff;
}

.services_list {
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-bottom: 140px;
    border-radius: 10px;
}

.services_item:not(:nth-child(4n)) {
    margin-right: 30px;
}

.services_item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 270px;
    min-height: 300px;
    margin-bottom: 30px;

}

.services_item_title {
    margin: 0;
    margin-bottom: 70px;
    text-align: center;
    font-weight: 700;
    font-size: 36px;
    color: #fff;
    word-break: normal;
}

.servicces_item_title_2 {
    margin-bottom: 30px;
    flex-direction: column;
}


.services_btn {
    position: relative;
    margin-top: auto;
    width: max-content;
    padding: 10px 20px;
    font-weight: 400;
    font-size: 16px;
    border-radius: 10px;
    background-color: #ddd;
    transition: transform .5s;
}

.services_card {
    margin-bottom: 30px;
}

.services_btn:focus {
    background-color: #DADADA;
}

.services_btn::after {
    content: "";
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    border-radius: 10px;
    border: 3px solid #FF0808;
    outline: none;
    opacity: 0;
}

.services_btn:hover::after {
    opacity: 1;
}

.services_btn:hover {
    transform: translate(0, -5px);
    background-color: #fff;
    color: #000;
}

.services_btn:active {
    background-color: #D31926;
    color: #fff;
}

.services_btn:active::after {
    opacity: 0;
}


.services_link {
    position: relative;
    margin: auto;
    width: max-content;
    padding: 10px;
    font-weight: 700;
    font-size: 18px;
    color: #fff;
    background-color: #D31926;
    border: 3px solid transparent;
    border-radius: 5px;
}

.services_link:focus::after {
    opacity: 1;
}

.services_link:focus {
    background-color: #fff;
    color: #000;
}

.services_link::after {
    content: "";
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 5px;
    border: 3px solid #FF0808;
    outline: none;
    opacity: 0;
}

.services_link:hover {
    opacity: 1;
    background-color: #EB1111;
    color: #fff;
}

.services_link:active {
    border: 3px solid #000;
    background-color: #fff;
    color: #D31926;
}

.services_link:active::after {
    opacity: 0;
}

.servises_cards_city {
    min-width: 270px;
    min-height: 300px;
}



.services_cards_city_text {
    flex-direction: column;
    align-items: center;
    display: flex;
    padding: 70px 3px 40px;
    background-color: rgba(9, 9, 9, 0.6);
    border-radius: 10px;
    overflow: hidden;
}

.servicces_item_title_indent {
    margin-bottom: 30px;
}

/*contacts*/

.contacts {
    margin-bottom: 50px;
}

.contacts_container {
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.contacts_content {
    margin-bottom: 55px;
    justify-content: space-around;
}

.contacts_left {
    justify-content: center;
    flex-direction: column;
    width: 40%;
}

.contacts_item {
    margin-bottom: 20px;
    line-height: 2;
}

.contacts_title {
    font-weight: 700;
    font-size: 18px;
    line-height: 1;
}

.container_list_item {
    font-weight: 400;
    font-size: 16px;
}

.contacts_adress {
    margin: 0;
}

.contacts_time {
    margin: 0;
}

.contacts_item_link {
    position: relative;
    flex-direction: column;
    align-items: center;
    margin-right: 35px;
}

.iсon_contacts {
    fill: #000;
}

.contacts_item_link:focus {
    outline: 3px solid #000;
}

.contacts_item_link:hover svg {
    fill: #D31926;

}

.contacts_item_link:active svg {
    fill: #EB1111;

}

.contacts_item_link:active {
    outline: 3px solid #000;
}

.nav__item_footer:active {
    outline: 3px solid #000;
}

.contacts_link {
    font-weight: 700;
    font-size: 18px;
    color: #000;
}

.contacts_link:hover {
    color: #EB1111;
}

.icon_contacts:hover {
    fill: #EB1111;
}

.contacts_link::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}

.contacts_btn {
    display: block;
    position: relative;
    width: max-content;
    margin: auto;
    padding: 10px;
    font-weight: 700;
    font-size: 48px;
    color: #fff;
    background-color: #D31926;
    border-radius: 10px;
    border: 5px solid transparent;
    transition: color 0.3s ease-in-out, border 0.3s ease-in-out, color 0.3s ease-in-out;
}

.contacts_btn::after {
    content: "";
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    border-radius: 5px;
    border: 5px solid #EB1111;
    outline: none;
    opacity: 0;
}

.contacts_btn:focus::after {
    opacity: 1;
}

.contacts_btn:focus {
    background-color: #fff;
    color: #000;
}

.contacts_btn:hover::after {
    opacity: 0;
}

.contacts_btn:hover {
    background-color: #EB1111;
}

.contacts_btn:active {
    border: 5px solid #000;
    background-color: #fff;
    color: #D31926;
}

.contacts_btn:active::after {
    opacity: 0;
}

.contacts_btn_mob {
    display: none;
}

.icon_contacts {
    margin-bottom: 6px;
}

/*footer*/

.footer_container {
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    padding: 60px 100px;
    background-color: #d9d9d9;
}

.footer_logo {
    margin-right: 90px;
}

.footer_nav {
    margin-right: 200px;
}

.nav__item_footer:not(:last-child) {
    margin-right: 80px;
}

.nav__link_footer {
    white-space: nowrap;
    font-weight: 700;
    font-size: 18px;
    color: #000;
}

.contacts_link_adress:focus {
    outline: 3px solid #EB1111;
    outline-offset: 5px;
}

.contacts_link_adress:hover {
    color: #EB1111;
}

.contacts_link_adress:active {
    outline: none;
    outline-offset: 5px;
    background-color: #FF0808;
    color: #fff;
}

.footer_item_link::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}

.footer_item_network {
    position: relative;
    align-items: center;
    display: flex;
    flex-direction: column;
}


.footer_item_network:not(:last-child) {
    margin-bottom: 20px;
}

.footer_item_link {
    font-weight: 700;
    font-size: 20px;
    color: #000;
}

.footer_item_network:focus {
    outline: 3px solid #000;
}

.footer_item_network:hover svg {
    fill: #D31926;
}

.footer_item_link:hover {
    color: #D31926;
}

.footer_item_network:active svg {
    fill: #EB1111;

}

.footer_item_network:active {
    outline: 3px solid #000;
}