* {
    font-size: 14px;
    transition: color 0.3s, background 0.3s;
}
body {
    padding-top: 50px;
}
.footer_copyright {
    background-color: #000;
    color: #edd7c5;
    padding: 15px 10px;
    flex-shrink: 0;
}
.header {
    display: flex;
    width: 100%;
    background: #232221;
    min-height: 50px;
    position: fixed;
    z-index: 99;
    top: 0px;
}

.header_side {
    flex: 1 0 0;
    background: #232221;
}

.header_center {
    display: flex;
    max-width: 1200px;
    justify-content: end;
    width: 100%;
    margin: 0 auto;
    height: 50px;
    z-index: 2;
}

.header_center > div {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0px 0px;
    height: 50px;
    white-space: nowrap;
    font-family: Montserrat Bold;
}
a.top_menu {
    text-decoration: none;
    color: #fff;
    background-image: url("/img/arrow_bot_light.svg");
    background-position: right;
    background-repeat: no-repeat;
    background-size: auto 15px;
    padding-right: 25px;
    padding-left: 10px;
}
a.top_menu:hover {
    color: #bfa686;
}
.header_2,
.header_3 {
    background: #232221;
    color: #deded6;
    width: 30%;
    text-transform: uppercase;
    position: relative;
    text-align: left;
    justify-content: left !important;

}

.header_4 {
    background: #bca780 url("/img/top_m_dark.svg") no-repeat;
    background-size: auto 51px;
    padding-left: 30px !important;
    width: 15%;
}
.header_4 a {
    font-size: 18px;
    color: #232221;
    text-decoration: none;
    width: 100%;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.header_5 {
    background: #3f2e1b url("/img/top_m_light.svg") no-repeat;
    background-size: auto 51px;
    width: 25%;
}
.header_5 a {
    font-size: 18px;
    color: #ffeec2;
    text-decoration: none;
    width: 100%;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

ul.submenu {
    display: none;
    position: absolute;
    text-transform: none;
    background-color: #232323;
    text-align: left;
    padding: 20px 20px;
    top: 30px;
    list-style: none;
}
ul.submenu a {
    text-decoration: none;
    font-family: Montserrat;
    color: #fff;
    padding: 10px 10px 10px 10px;
    display: block;
}
ul.submenu a:hover {
    color: #bfa686;
}
.header_2:hover ul.submenu {
    display: block;
    cursor: default;
    width: 100%;
    max-width: 300px;
}
.header_3:hover ul.submenu {
    display: block;
    cursor: default;
    width: 100%;
    max-width: 300px;
}

div.footer {
    background-color: #232323;
    padding: 60px 10px;
    min-height: 400px;
    text-align: left;
    /* Убираем флекс с футера, он теперь на контейнере */
}

div.footer .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between; /* расстояние между блоками */
    gap: 20px; /* отступы между блоками */
    width: 100%;
    box-sizing: border-box;
}
@media screen and (max-width: 760px) {
    div.footer .container {
        display: block;
    }
    div.footer_2 {
        padding: 50px 0px 0px 60px !important;
    }
    div.footer_3 {
        padding: 50px 0px 0px 60px !important;
    }
}
ul.footer_menu {
    list-style: none;
    padding: 0px;
    margin: 0px;
}
ul.footer_menu a {
    color: #fff;
    text-decoration: none;
    padding: 0px 0px 20px 0px;
    display: inline-block;
}
ul.footer_menu a:hover {
    color: #bfa686;
}
a.footer_main {
    font-family: Montserrat Bold;
    color: #fff;
    text-transform: uppercase;
    text-decoration: none;
    display: block;
    margin: 0px 0px 30px 0px;
}
a.footer_main:hover {
    color: #bfa686;
}
div.footer_contact {
    color: #fff;
    font-family: Montserrat Bold;
}
div.footer_contact a {
    padding: 0px 0px 30px 60px;
    background-repeat: no-repeat;
    text-decoration: none;
    background-size: 25px;
    background-position: 15px 0px;
    display: block;
    color: #fff;
    font-size: 16px;
}
div.footer_contact a:hover {
    color: #bfa686;
}
.footer_phone {
    background-image: url("/img/contact_phone.svg");
}
.footer_mail {
    background-image: url("/img/contact_mail.svg");
}
.footer_address {
    background-image: url("/img/contact_address.svg");
}

div.footer_1 {
    padding: 0px 30px 0px 0px;
}
div.footer_2 {
    padding: 0px 30px 0px 0px;
}
div.footer_3 {
    padding: 0px 0px 0px 0px;
}

div.footer_logo {
    height: 70px;
    margin: 0px 0px 30px 0px;
}
div.footer_logo img {
    width: 270px;
}

div.footer_1 .footer_menu {
    padding: 30px 0px 0px 60px;
}

div.cookies {
    position: fixed;
    z-index: 999;
    background-color: #232323;
    border: 1px solid #3a3a3a;;
    color: #edd7c5;
    padding: 20px 30px;
    border-radius: 15px;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    max-width: 870px;
    width: calc(100% - 20px);
    box-sizing: border-box;
    align-items: center;
}
@media screen and (max-width: 560px) {
    div.cookies {
        flex-direction: column;
        align-items: center;
        gap: 15px 0px;
    }
}
.site_button {
    display: inline-block;
    padding: 10px 15px;
    color: #362512;
    background-color: #bfa686;
    border-radius: 7px;
    font-family: Montserrat Bold;
    margin-left: 20px;
}
div.banner {
    height: calc(100vh - 100px);
    min-height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    position: relative;
}
@media screen and (max-width: 660px) {
    div.banner {
        height: calc(100vh - 150px);
        min-height: 300px !important;
        background-position: center;
        background-size: cover;
    }
}


div.banner_main {
    position: relative; /* нужно для позиционирования псевдоэлемента */
}

div.banner_main::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url("/img/bosco1.png");
    background-position: center;
    background-size: cover;
    opacity: 0.9; /* прозрачность только для фона */
    z-index: -1; /* чтобы фон был позади содержимого */
}

div.banner_2 {
    background-image: url("/img/bosco2.png") !important;
}
div.banner_3 {
    background-image: url("/img/bosco3.png") !important;
}
.banner_content {
    max-width: 1200px;
    width: 100%;
    text-align: left;
}
.banner_line_1 {
    display: flex;
    gap: 20px 40px;
}
.banner_line_2 {
    display: flex;
    gap: 20px 40px;
    margin: 40px 0px 0px 0px;
}
.banner_line_2 a {
    text-decoration: none;
}
.banner_logo {
    height: 100px;
    width: 100px;
    min-width: 100px;
    background-image: url("/img/logo.svg");
}
.banner_logo_light {
    height: 100px;
    width: 100px;
    min-width: 100px;
    background-image: url("/img/logo_light.svg");
}
.banner_title {
    color: #e5e8ad;
    font-family: Montserrat Bold;
    font-size: 90px;
}
.banner_title_2 {
    font-size: 42px;
    color: #fff;
    font-family: Montserrat Bold;
    padding: 10px 0px 0px 140px;
}
@media screen and (max-width: 660px) {
    .banner_title_2 { padding-left: 15px; }
}
@media screen and (max-width: 540px) { .banner_title_2 { font-size: 32px; } }
@media screen and (max-width: 420px) { .banner_title_2 { font-size: 26px; } }

@media (max-width: 500px) {
    .header_4 {
        width: calc(45% - 30px) !important;
    }
    .header_5 {
        width: calc(55% - 30px) !important;
    }
}

@media screen and (max-width: 585px) {
    .header_4 {
        background: #bca780 !important;
        padding-left: 0px !important;
    }
    .header_4 a, .header_5 a {
        font-size: 16px;
    }
    .header_5 {
        background: #3f2e1b !important;
    }
}
@media screen and (max-width: 720px) {
    .banner_line_2 {
        display: block;
        margin: 40px 0px 0px 0px;
    }
    .banner_line_2 a {
        display: block;
        margin-bottom: 20px;
    }
}
@media screen and (max-width: 720px) {
    .banner_title {
        font-size: 70px;
    }
}
@media screen and (max-width: 500px) {
    .banner_title {
        font-size: 50px;
        margin-top: -10px;
    }
    .banner_title div {
        font-size: 32px;
    }
}
.main_banner_menu {
    border: 1px solid #a07f5c;
    border-radius: 20px;
    padding: 20px 35px;
    color: #fff;
    font-size: 18px;
    font-family: Montserrat Bold;
    min-width: 300px;
    box-sizing: border-box;
    text-decoration: none;
}
.main_banner_menu:hover {
    background: rgba(83, 61, 35, 0.5);
}
.main_banner_menu div {
    font-size: 42px;
    margin: 5px 0px 0px 0px;
    padding: 0px 30px 0px 0px;
    display: inline-block;
    background-image: url("/img/arrow_right.svg");
    background-position: right;
    background-repeat: no-repeat;
    background-size: auto 33px;

}
.banner_menu {
    position: absolute;
    top: 0px;
    display: flex;
    width: 100%;
    max-width: 1200px;
    padding: 30px 10px 0px 20px;
}
@media screen and (max-width: 1000px) {
    .banner_menu {
        display: none;
    }
}
.banner_menu_logo {
    width: 250px;
    min-width: 250px;
    height: 50px;
    background-repeat: no-repeat;
}
.banner_2 .banner_menu_logo {
    background-image: url("/img/logo_fund.svg");
}
.banner_3 .banner_menu_logo {
    background-image: url("/img/logo_center.svg");
}
.banner_menu ul {
    margin: 27px 0px 0px 60px;
    padding: 0px 0px 0px 0px;
    list-style: none;
    display: flex;
    gap: 10px 40px;
}
.banner_menu ul a {
    color: #f4ede6;
    font-family: Montserrat Bold;
    text-decoration: none;
    white-space: nowrap;
}

.burger {
    display: none !important;
    vertical-align: middle;
    position: fixed;
    z-index: 9999;
    top: 10px;
    left: 0px;
    height: 40px;
    width: 40px;
}
.burger div {
    position: fixed;
    left: 5px;
    width: 35px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
}
.burger .line {
    position: absolute;
    width: 100%;
    height: 5px;
    background: #fff;
    transition: transform 0.3s ease;
}
.burger .line:nth-child(1) {
    top: 0;
}
.burger .line:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}
.burger .line:nth-child(3) {
    bottom: 0;
}
#burger.open .line:nth-child(1) {
    transform: translateY(12.5px) rotate(45deg);
}
#burger.open .line:nth-child(2) {
    opacity: 0;
}
#burger.open .line:nth-child(3) {
    transform: translateY(-12.5px) rotate(-45deg);
}

@media screen and (max-width: 1000px) {
    .burger {
        display: block !important;
    }
    .header_2 {
        display: none !important;
    }
    .header_3 {
        display: none !important;
    }
    .header_4 {
        width: 35%;
    }
    .header_5 {
        width: 50%;
    }
}
div.mobile_menu {
    display: none;
    position: fixed;
    top: 50px;
    z-index: 99999;
    width: 100%;
    height: calc(100vh - 50px);
    background-color: #232221;
    overflow-y: auto;
    padding: 40px 40px;
    text-align: left;
}
div.mobile_menu ul {
    list-style: none;
    margin: 0px 0px 40px 0px;
    padding: 0px;
}
div.mobile_menu a {
    text-decoration: none;
}
.mobile_menu_main {
    font-family: Montserrat Bold;
    color: #fff;
    font-size: 18px;
    display: block;
    margin: 0px 0px 20px 0px;
}
.mobile_menu_main:hover {
    color: #bfa686;
}
div.mobile_menu ul a {
    padding: 8px 0px;
    display: block;
    color: #f1e0d4;
}
div.mobile_menu ul a:hover {
    color: #bfa686;
}
.wrapper {
    display: block;
    text-align: center;
}
.container {
    display: inline-block;
    width: 100%;
    max-width: 1200px;
    text-align: left;
    padding: 80px 10px 100px 10px;
    box-sizing: border-box;
}
.container h2 {
    text-align: center;
    color: #634121;
    font-size: 36px;
    font-family: Montserrat Bold;
    margin: 0px 0px 50px 0px;
    padding: 0px;
}

.container .image_text h2 {
    text-align: left;
    margin-bottom: 20px;
}
.shaded {
    background-color: #f4ede6;
}
ul.reviews {
    display: flex;
    gap: 0px 40px;
    list-style: none;
    margin: 0px;
    padding: 0px;
}
ul.reviews li {
    flex: 1 1 0;
    background-color: #fff;
    border-radius: 20px;
    padding: 40px 40px 50px 40px;
    box-sizing: border-box;
}
div.review_person {
    display: flex;
    align-items: center;
    font-family: Montserrat Bold;
    color: #432d17;
    font-size: 20px;
    margin-bottom: 30px;

}
div.review_person div.person_photo {
    width: 70px;
    height: 70px;
    min-width: 70px;
    border-radius: 35px;
    display: inline-block;
    background-size: cover;
    margin: 0px 20px 0px 0px;
}
div.review_text {
    line-height: 20px;
}
ul.team {
    display: flex;
    gap: 0px 40px;
    list-style: none;
    margin: 80px 0px 0px 0px;
    padding: 0px;
    width: 100%;
}
ul.team li {
    flex: 1 1 0;
    text-align: center;
}
div.team_photo {
    display: inline-block;
    width: 180px;
    height: 180px;
    border-radius: 90px;
    background-size: cover;
}
div.team_name {
    color: #000;
    font-family: Montserrat Bold;
    font-size: 18px;
    margin: 20px 0px 10px 0px;
}
div.team_status {
    color: #ff7300;
}

.image_text {
    display: flex;
    align-items: center;
    gap: 50px;
}

/* Размещение картинки слева */
.image_text.left .image {
    order: 0;
}
.image_text.left .text {
    order: 1;
}

/* Размещение картинки справа */
.image_text.right .image {
    order: 1;
}
.image_text.right .text {
    order: 0;
}

/* Размеры картинки и текста */
.image img {
    max-width: 300px;
    width: 100%;
    height: auto;
}
figure.image {
    margin: 0px;
}
figure.image img {
    max-width: none !important;
}
figure.table {
    margin: 0px !important;
}

table {
    border-collapse: collapse;
    border: 1px solid #CCC;
}
table th, table td {
    border: 1px solid #CCC;
    padding: 10px;
}

.text {
    flex: 1;
}

/* Медиа-запрос для экранов меньше 800px */
@media (max-width: 799px) {
    .image_text {
        flex-direction: column;
        text-align: center;
    }
    .image_text .image,
    .image_text .text {
        order: initial !important;
        width: 100%;
    }
    .image img {
        max-width: 100%;
        height: auto;
    }
}


.page {
    background-color: #fff;
    padding: 50px 100px 80px 100px;
    box-sizing: border-box;
    margin-top: 10px;
    margin-bottom: 10px;
}
@media screen and (max-width: 900px) {
    .page { padding: 50px 50px 80px 50px; }
}
@media screen and (max-width: 600px) {
    .page { padding: 50px 10px 80px 10px; }
}
.page p, .page i {
    font-size: 18px;
    font-family: Georgia;
    line-height: 26px;
}

.page b, .page strong {
    font-size: 18px;
    font-family: Georgia;
    line-height: 26px;
    font-weight: bold;
}
.page h1 {
    font-size: 32px;
    font-family: Montserrat Bold;
    font-weight: 100;
    margin-bottom: 30px;
}
.page h3 {
    font-size: 18px;
    font-family: Georgia;
    font-weight: bold;
    margin-top: 30px;
}
.dir_menu {
    background-color: #5f5249;
}
@media screen and (max-width: 1000px) {
    .dir_menu { display: none; }
}
.dir_menu .container {
    padding: 5px 10px 5px 25px;
    display: inline-flex;
}
.dir_menu ul {
    list-style: none;
    margin: 0px 0px 0px 0px;
    padding: 0px 0px 0px 50px;
    display: flex;
    gap: 0px 50px;
    align-items: center;
}
.dir_menu_logo {
    width: 230px;
    height: 50px;
    background-repeat: no-repeat;
    background-position: center;
}
.dir_menu_logo_fund {
    background-image: url("/img/logo_fund.svg");
}
.dir_menu_logo_center {
    background-image: url("/img/logo_center.svg");
}
.dir_menu ul li a {
    color: #e8e0d9;
    text-transform: uppercase;
    text-decoration: none;
    font-family: Montserrat Bold;
    white-space: nowrap;
}
.dir_menu ul li a:hover {
    color: #fff;
}

div.contact {
    display: flex;
    flex-basis: 0;
    flex-grow: 1;
    box-sizing: border-box;
    gap: 0px 100px;
}
@media screen and (max-width: 1000px) {
    div.contact { display: block; }
    div.contact_form {
        padding: 70px 0px 0px 0px;
        width: 100%;
    }
}
div.contact_info {
    display: flex;
    flex-direction: column;
    gap: 40px 0px;
    padding-top: 15px;
}
.contact_info_block b {
    display: block;
    font-family: Montserrat Bold;
    font-weight: 100;
    padding-bottom: 5px;

}
.contact_info_block {
    font-size: 16px;
    padding: 0px 0px 0px 60px;
    background-repeat: no-repeat;
    background-size: 40px auto;
    background-position: 0px 5px;
}
.contact_form {
    display: flex;
    flex-direction: column;
    gap: 15px 0px;
    width: 40%;
}
div.contact_form_title {
    color: #432d17;
    font-family: Montserrat Bold;
    font-size: 26px;
    padding: 0px 0px 15px 0px;
}
.contact_form input[type=text], .contact_form textarea {
    padding: 10px 15px;
    border-radius: 5px;
    border: 1px solid #3f2e1b;
    font-family: Montserrat;
}
.contact_info_block a {
    color: #000;
    font-size: 16px;
}

.contact_form textarea {
    min-height: 100px;
}
.contact_form textarea::placeholder, .contact_form input[type=text] {
    color: #776350;
    opacity: 1;
}
.contact_form input[type=button] {
    border: none;
    border-radius: 5px;
    background-color: #3f2e1b;
    color: #fff;
    font-family: Montserrat Bold;
    padding: 10px 20px;
    font-size: 18px;
    max-width: 200px;
    margin-top: 10px;
    cursor: pointer;
}
.contact_form input[type=button]:hover {
    background-color: #63482a;
}

.contact_phone {
    background-image: url("/img/contact_phone.svg");
}
.contact_mail {
    background-image: url("/img/contact_mail.svg");
}
.contact_address {
    background-image: url("/img/contact_address.svg");
}
.owl-carousel {

}
/* Общие стили для стрелок навигации */
.owl-carousel .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none; /* чтобы стрелки не мешали кликам по карусели */
    z-index: 10; /* чтобы стрелки были поверх карусели */
}

/* Стиль для стрелок (влево и вправо) */
.owl-carousel .owl-nav button {
    background: transparent;
    border: none;
    font-size: 60px;
    cursor: pointer;
    pointer-events: auto; /* позволяют кликать по стрелкам */
    display: flex;
    align-items: center; /* вертикальное выравнивание по центру */
    justify-content: center;
    height: 100%; /* чтобы стрелки были по всей высоте блока */
}

/* Выделение стрелок (опционально) */
.owl-carousel .owl-nav button:hover {
    color: #333; /* цвет при наведении */
}
.fa {
    font-size: 32px !important;
    color: coral;
    display: inline-block;
    width: 40px;
    height: 40px;
    border-radius: 25px;
    line-height: 50px;
}




