@import '../fonts/montserrat/stylesheet.css';
html, body {
	font-style: normal;
	font-weight: normal;
	margin: 0;
	padding: 0;
	max-width: 100%;
    line-height: 140%;
    font-family: 'Montserrat';
}


:root {
    --main-tx-cl: #FFFFFF;
    --add-tx_cl: #222222;
    --firm_cl: #EC4824;
    --container-marg: 16px;
    --container: min(1600px, calc(100vw - calc(var(--container-marg) * 2)));
}

body {
    width: 100%;
    max-width: 100vw;
    position: relative;
    font-size: 16px;
}

body>* {
    width: 100vw;
    max-width: 100%;
} 

li {list-style: none;}

a {text-decoration: none;}

input:focus {outline: 0;}

.img_wrap {position: relative;}

.img_box {
	position: relative;
	width: 100%;
	height: 0;
}

.img_box>img {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
}
.contain>img {
    object-fit: contain;
    object-position: center;
}
.cover>img {
    object-fit: cover;
    object-position: center;
}


.container {
    width: 100%;
    margin: 0 auto;
    position: relative;
    max-width: var(--container);
}


.bg_img_wrap {
    display: flex;
    align-items: center;
    height: 100vh;
    position: relative;
    z-index: 1;
    justify-content: center;
}

body {
    background: #2B2320;
	color: #292320;
}

img.backgr {
    width: 90%;
    height: 90%;
    top: 5%;
    left: 5%;
    opacity: 0.1;
    position: absolute;
    object-fit: contain;
    object-position: center;
}

.bg_img_wrap>img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.content {
    display: flex;
    align-items: center;
    height: 100vh;
    position: relative;
    z-index: 1;
    max-width: 1250px;
    width: 94%;
}

.container {
    padding: 1em;
    border: 1px #b5956f solid;
    box-sizing: border-box;
}

.substr.mapBbos {
    aspect-ratio: 2;
}

h3 {
    margin-block-start: 0;
    margin-block-end: 0;
}

.substr {
    background-color: #B5956F;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    position: relative;
    width: 100%;
    padding: 2em;
}

.icon-box {
    display: flex;
    gap: .5em;
    align-items: center;
}

.icon-box a {
    color: #2a2320;
}

.container {
    display: flex;
}

.substr.txn {
    justify-content: space-between;
    gap: 1em;
}

.substr li:before {
    content: '';
    margin-top: .4em;
    width: .5em;
    height: .5em;
    min-width: .5em;
    background: #2a2320;
    display: block;
    border-radius: 100%;
}

.contacts {
    display: flex;
    flex-direction: column;
    gap: .5em;
}

.contacts a {
	color: #292320;
}

.substr.txn div>*:not(img) {
    z-index: 1;
    position: relative;
}

.substr.txn {
    background-image: url('/assets/img/1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.substr li {
    display: flex;
    gap: .6em;
}

.substr ul {
    padding-inline-start: .3em;
}


.logo_wrap img {
    object-fit: contain;
}
.logo_wrap  {
    width: 100%;
    max-width: 276px;
    margin-bottom: 67px;
}

.logo_wrap .img_box {
    padding-bottom: 23.189%;
}

.first_text {
    text-align: center;
    font-size: 48px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 18px;
}

.second_text {
    text-align: center;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    margin-bottom: 25px;
}

.phone {
    display: flex;
    text-align: center;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    justify-content: center;
    width: 100%;
}

.phone::before {
    content: "";
    background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjgiIGhlaWdodD0iMjciIHZpZXdCb3g9IjAgMCAyOCAyNyIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9ImZsdWVudDpjYWxsLTI4LWZpbGxlZCI+CjxwYXRoIGlkPSJWZWN0b3IiIGQ9Ik04LjYxNzE3IDIuNTE0NDNMMTAuMzAwMiAxLjk5NTg2QzEwLjg1NTcgMS44MjQ5OCAxMS40NTMgMS44NjY0NCAxMS45ODA4IDIuMTEyNUMxMi41MDg1IDIuMzU4NTYgMTIuOTMwNyAyLjc5MjQyIDEzLjE2ODUgMy4zMzMxNUwxNC4zNDg0IDYuMDE0ODRDMTQuNTUzMiA2LjQ4MDA3IDE0LjYxMDMgNi45OTkxNiAxNC41MTE3IDcuNDk5MjRDMTQuNDEzIDcuOTk5MzIgMTQuMTYzNiA4LjQ1NTI4IDEzLjc5ODQgOC44MDMwOEwxMi4wMDI0IDEwLjUxMzNDMTEuNzYxNyAxMC43NDY5IDExLjk0NDIgMTEuNjU3IDEyLjgyMzUgMTMuMjE0NUMxMy43MDM3IDE0Ljc3MjkgMTQuMzg0IDE1LjM4OTIgMTQuNjk3NyAxNS4yOTMzTDE3LjA1MDcgMTQuNTU4MUMxNy41Mjc2IDE0LjQwOSAxOC4wMzgzIDE0LjQxNjEgMTguNTExIDE0LjU3ODZDMTguOTgzOCAxNC43NDEgMTkuMzk1IDE1LjA1MDUgMTkuNjg2OSAxNS40NjM4TDIxLjM2MzkgMTcuODM5MUMyMS43MDI2IDE4LjMxODggMjEuODU5NSAxOC45MDc4IDIxLjgwNTMgMTkuNDk2N0MyMS43NTExIDIwLjA4NTYgMjEuNDg5NiAyMC42MzQ0IDIxLjA2OTMgMjEuMDQxMkwxOS43NzMgMjIuMjk1OUMxOS4zNTQ1IDIyLjcwMDkgMTguODM4MyAyMi45ODUyIDE4LjI3NzIgMjMuMTE5OUMxNy43MTYxIDIzLjI1NDUgMTcuMTMgMjMuMjM0NiAxNi41Nzg5IDIzLjA2MjJDMTMuODYyNyAyMi4yMTI0IDExLjM0NzMgMTkuNjkwNiA4Ljk5ODYyIDE1LjUzMjJDNi42NDQ3OCAxMS4zNjc2IDUuNzU1ODkgNy44NTQ3MiA2LjM3NTQyIDQuOTg0NzhDNi41MDAzNyA0LjQwNjQ5IDYuNzczOTcgMy44NzI3MiA3LjE2ODAyIDMuNDM4NDlDNy41NjIwNyAzLjAwNDI1IDguMDYyMzEgMi42ODUyOCA4LjYxNzE3IDIuNTE0NDNaIiBmaWxsPSJibGFjayIvPgo8L2c+Cjwvc3ZnPgo=");
    max-width: 27px;
    display: block;
    margin-right: 5px;
    background-repeat: no-repeat;
    width: 100%;
    background-size: cover;
}

.bg_img {
    width: 100%;
    height: 100%;
    position: absolute;
}

.photogal {
    width: calc(100% + 10px);
	margin-left: -5px;
    display: flex;
	flex-wrap: wrap;
    justify-content: flex-start;
	margin-bottom: 1em;
}

.phelm {
    width: calc((100% / 2) - 10px);
    aspect-ratio: 2 / 1;
    margin: 5px;
	border-radius: 10px;
	overflow: hidden;
    position: relative;
}

.phelm>img {
    width: 100%;
    height: 100%;
    position: absolute;
    object-fit: cover;
}

img.backgr {
	position: relative;
	opacity: 1;
	width: 40%;
	height: auto;
	top: 0;
	left: 50%;
	transform: translate(-50%, 0);
	margin-bottom: 1em;
}

@media screen and (max-width: 950px) {
	img.backgr {
		position: relative;
		opacity: 1;
		width: 70%;
		margin-bottom: 2em;
	}
	.content {
		margin-top: 1em;
		margin-bottom: 1em;
	}
	.container {
		flex-direction: column;
	}
	
	.substr.txn {
		max-width: 100% !important;
	}
	
	.substr.mapBbos {
		aspect-ratio: .7;
	}
	
	.content, .bg_img_wrap {
		height: auto;
	}
}

a.phelm:first-child {
    margin-left: 20px;
}

a.phelm:last-child {
    margin-right: 20px;
}

a.btn {
    display: inline-block;
    font-size: .8em;
    width: 95%;
    padding: .5em;
    border: 2px #2a2320 solid;
    margin-bottom: .5em;
    border-radius: .2em;
    font-weight: bold;
    background: #2a2320;
    color: #af906c;
    text-align: center;
	transition: .3s;
}

a.btn.type2 {
    margin-bottom: 1em;
}

a.btn:hover {
    color: #2a2320;
	background: #2a232000;
}