/* Обнуление стилей для всех элементов */

/* Сброс отступов и полей, а также установка базового шрифта и цвета текста */
html,
body,
div,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
li,
a {
    margin: 0;
    padding: 0;
    border: 0;
    font-family: 'Montserrat', 'Cuprum', sans-serif;
    font-size: 20px;
    text-decoration: none;
    color: #526651;
    font-weight: 400;
}




.mobile-nav {
    display: none;
}


/* Сброс стилей для списка ul и ol */
ul,
ol {
    list-style: none;
    text-decoration: none;
}

/* Сброс стилей для ссылок */
a {
    color: #080808;
    text-decoration: none;
    cursor: pointer;
    margin: 0;
    padding: 0;
}

a:hover {
    text-decoration: underline;
}

/* Дополнительные стили для body */
body {
    color: white;
    background-color: #f0f0f0;
    text-align: center;
    font-family: 'Montserrat', 'Cuprum', sans-serif;
    font-weight: 400;
}

.wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
}



/* Дополнительные стили для заголовков и абзацев */
h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    padding: 0;
}

h1 {
    color: white;
    font-size: 40px;
    font-weight: 900;
    letter-spacing: 1px;
    line-height: 1.3;
    font-family: 'Montserrat', sans-serif;
}

h2 {
    color: #044D29;
    font-weight: bold;
    font-size: 32px;
    align-self: flex-start;
    text-align: start;
    margin-bottom: 60px;
}

h3 {
    color: #00261C;
    font-size: 26px;
    align-self: flex-start;
    text-align: start;
    margin-bottom: 60px;
    font-weight: 500;
}

h4 {
    color: #00261C;
    margin: 0;
    padding: 0;
}

p {
    margin-bottom: 20px;
}



/* Стили для контейнера */
.wrapper {
    display: flex;
    flex-direction: column;
}

.container {
    padding: 0px 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* HEADER */
header {
    background-color: #fff;
    padding: 20px 0;
}


main {
    min-height: 100vh;
}

/* Стили для обертки заголовка */
.header_wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Стили для списка навигации */

nav {
    flex-grow: 1;
    max-width: 500px;
    justify-content: space-between;
}

.nav_list {
    display: flex;
    /* Включаем Flexbox */
    justify-content: space-between;
    /* Равномерно распределяем элементы по горизонтали */
    align-items: center;
    /* Выравниваем элементы по вертикали по центру */
}



/* Стили для ссылок в навигации */
.nav_link {
    font-size: 20px;
    font-weight: medium;
    color: #072c22;
}

.header_phone,.footer_phone {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header_img {
    margin-right: 20px;
    max-width: 35px;
    height: auto;
}
.footer_img {
    margin-right: 20px;
    max-width: 35px;
    height: auto;
}

.header_phone a {
    font-size: 20px;
    font-weight: medium;
    color: #00261c;
}

/* Стили */

section {
    padding: 80px 0;
    border-bottom: 1px solid #45bf55;

}

.section_hero {
    background-color: #168039;
}

.hero_wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero_left {
    max-width: 600px;
    display: flex;
    flex-direction: column;
    text-align: start;
    align-self: flex-start;
    justify-content: space-between;
}

.hero_right {
    max-width: 500px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    height: auto;
}




.hero_img {
    /* background-color: red; */
    border-top-right-radius: 120px;
    width: 100%;

}


.hero_line {
    background-color: white;
    margin-top: 20px;
    width: 80%;
    height: 3px;
}

.hero_suptitle {
    margin-top: 20px;
    font-size: 24px;
    font-weight: 500;
    max-width: 500px;
    line-height: 1.5;
    color: white;
}

.hero_btn {
    background-color: #8c3b5c;
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 20px;
    font-weight: 600;
    padding: 10px 20px;
    cursor: pointer;
    max-width: 150px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-family: 'Cuprum', sans-serif;
}



.hero_btn:hover {
    background-color: #fff;
    color: #168039;
}


/* section--law */

.law_text_columns {
    text-align: start;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;

}

.law_text_left,
.law_text_right {
    max-width: 40%;
    margin-bottom: 60px;
    font-size: 20px;
}

.law_text_bottom {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 30px;
}

.law_text_bottom p {
    border-top-right-radius: 80px;
    border-bottom-left-radius: 80px;
    background-color: #168039;
    padding: 30px 50px;
    color: white;
    font-size: 20px;
    line-height: 30px;
    font-weight: 500;
}

.law_text_btn {
    margin-top: 40px;
}

.law_text_btn {
    align-self: center;
    background-color: #8c3b5c;
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 20px;
    font-weight: 600;
    padding: 10px 40px;
    cursor: pointer;
    max-width: 300px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-family: 'Cuprum', sans-serif;
}


.how_list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 50px;
}

.how_item {
    max-width: 28%;
    display: flex;
    flex-direction: column;
}


.item_title {
    display: flex;
    align-items: center;
    text-align: start;
}

.item_title_text {
    margin-left: 30px;
}


.item_number {
    font-size: 69px;
    color: #45BF55;
    font-weight: 900;
    text-align: start;
}

.item_text {
    text-align: start;
}

.section_product {
    background-color: #eef6ec;
}

.product_list_left, .product_list_right {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 40px;
}

.product_item {
    display: flex;
    height: 120px;

}

.product_item_left_img {
    margin-top: 10px;
    width: 25px;
    height: 25px;
}


.product_item_content {
    display: flex;
    flex-direction: column;
    margin-left: 30px;
    text-align: start;
    gap: 5px;

}

.product_item_title {
    color: #00261C;
    font-size: 22px;
}

.product_item_text {
    font-size: 18px;
    max-width: 400px;
}

.product_wrapper {
    display: flex;
    justify-content: space-between;
    margin-top: 100px;
}

.product_line {
    height: 100vh;
    max-height: 900px;
    width: 2px;
    background: linear-gradient(to right, #054e2a, #41b852);
}


.product_icons_list {
    display: flex;
    text-align: start;
    flex-wrap: wrap;
    gap: 50px;
}

.product_icons_item {
    display: flex;
    flex-direction: column;
    margin: 0 20px;
    max-width: 300px;
}

.product_icons_title {
    font-weight: 600;
    margin-top: 20px;
}

.product_icons_text {
    font-size: 18px;
    margin-top: 20px;
}

.product_icons_img {
    width: 80px; /* Задайте желаемый размер зеленого круга */
    height: 80px; /* Задайте желаемый размер зеленого круга */
    background-color: #168039; /* Цвет зеленого круга */
    border-radius: 50%; /* Создаем круг с помощью радиуса границы */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; 
}

.product_icons img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}



.product_icons h4 {
    font-size: 20px;
    font-weight: 500;
}

.product_icons_list {
    margin-top: 100px;
    display: flex;
    justify-content: space-between;
}

/* ===section_conditions=== */
.conditions_list {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-between;
    margin-top: 80px;
}



.conditions_item {
    width: 300px;
    display: flex;
    text-align: start;
    margin-bottom: 30px; 
    align-items: center;
}

.conditions_item:last-child {
    margin-top: 0px;
}


.conditions_item img {
    width: 50px;
    height: auto;
    align-self: center;
}


.conditions_title {
    margin-left: 20px;
    color: #00261C;
}


.conditions_item p {
    color: #526651;
    font-size: 20px;
    margin-bottom: 0;
}

.show-more-link-conditions {
    position: relative;
    top: 20px;
    font-size: 16px;
    color: hsl(210,77%,46%);
}


/* ===SECTION_SAFE===  */

.section_safe {
    background-color: #eef6ec;
}

.safe_list {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;

}

.safe_item {
    display: flex;
    flex-direction: column;
    text-align: start;
    max-width: 250px;
}

.safe_title {
    color: #00261C;
    font-size: 24px;
    font-weight: 600;
    max-width: 180px;
    margin-bottom: 30px;
}


.safe_text {
    font-size: 20px;
    color: #526651;
}

/* ===section_trust=== */

.trust_list {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    margin-top: 80px;
    text-align: start;
}

.trust_item {
    max-width: 25%;
}

.trust_number {
    color: #45BF55;
    font-size: 50px;
    font-weight: 900;
}

.trust_title {
    font-size: 24px;
}

.trust_text {
    margin-top: 20px;
    color: #526651;
    font-size: 20px;
}

.article_text {
    text-align: start;
    margin-top: 80px;
    margin-bottom: 80px;
}

.section_article {
    background-color: white;
    padding-bottom: 0px;
}

.section_company img {
    width: 100%;
}

.company_text {
    color: #526651;
    margin-top: 40px;
    text-align: start;
}


/* ===section_team=== */
.team_list {
    display: flex;
    justify-content: space-between;
    margin-top: 80px;
    text-align: start;
    flex-wrap: wrap;
}

.team_list img {
    width: 100%;
    height: auto;
}

.team_item {
    max-width: 30%;
    margin-top: 20px;
}

.team_item h4 {
    margin-top: 20px;
    color: #303030;
}

.team_text {
    margin-top: 15px;
    color: #919294;
}


/* ===section_contacts=== */

.contacts_left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    max-width: 340px;
}



.contacts_list {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 30px;
}
.contacts_wrapper {
    display: flex;
    justify-content: space-between;
}

.contacts_right {
    max-width: 600px;
    flex-grow: 1;
}

.contacts_item {
    max-width: 550px;
    display: flex;
    text-align: start;
    align-items: center;
}

.contacts_item img {
    width: 35px;
    height: 35px;
    margin-right: 20px;
}

.contacts_text {
    color: #044D29;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 0px;
}

.contacts_btn {
    background-color: #8c3b5c;
    margin-top: 30px;
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 20px;
    font-weight: 600;
    padding: 10px 20px;
    cursor: pointer;
    max-width: 250px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-family: 'Cuprum', sans-serif;
}



.contacts_btn:hover {
    background-color: #fff;
    color: #168039;
}


.map {
    display: flex;
}

.map iframe {
    flex-grow: 1;
}
  


  
.footer {
    bottom: 0;
    text-align: center;
    flex-wrap: wrap;
}


.footer_wrapper {
    padding: 20px 0 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav_footer {
    flex-grow: 1;
    max-width: 500px;
    justify-content: space-between;
}

.nav_footer_list {
    display: flex;
    /* Включаем Flexbox */
    justify-content: space-between;
    /* Равномерно распределяем элементы по горизонтали */
    align-items: center;
    /* Выравниваем элементы по вертикали по центру */
}

.footer_sign {
    max-width: 300px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer_sign p {
    margin: 0; /* Убираем внешние отступы, чтобы текст был точно по центру */
    margin-left: 20px;
    font-weight: 300;
    text-align: start;
    font-size: 14px;
}


.footer_sign img {
    width: 25px;
    height: auto;
}
