:root {
  --main-white: #f7f7f7;
  --header-text-color: #282828;
  --theme-color: #aada36;
  --background-black: #282828;
  --text-opacity-color: #979797;
  --text-opacity-size: 14px;
  --text-opacity-line: 22px;
  --text-title-color: #282828;
  --text-title-size: 46px;
  --text-title-line: 58px;
  --text-b-color: #000000;
  --text-b-size: 24px;
  --text-b-line: 30px;
  --project-btn-color: #282828;
  --project-btn-size: 14px;
}
body{
  background-color: var(--main-white);
  position: relative;
}
/* main{
  padding: 90px 50px 0px 50px;
} */
p{
  margin: 0;
}
a{
  text-decoration: none;
}

/* ##########################  HEADER ############################### */
header{
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99;
}
.header__inner{
  width: 1150px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 3000px;
  padding: 16px 50px;
  background-color: var(--main-white);
}

.timing{
  display: flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
}

.header__el{
display: flex;
flex-direction: column;
}
.header__el p{
  color: var(--header-text-color);
  font-size: 12px;
  line-height: 19px;
}
.header__el a{
  color: var(--header-text-color);
  font-size: 12px;
  line-height: 19px;
}
.header__el.with_img{
  flex-direction: row;
  gap: 7px;
  align-items: center;
}
.header__el .header__el-link{
  display: flex;
  flex-direction: column;
}
.header__el-link a{
text-decoration: underline;
}
.header__el-link .orange{
  color: var(--theme-color);
}
.header__el .header__tell{
  font-size: 24px;
  line-height: 37px;
}

.header__el-soc.telegram svg rect:hover{
fill: #31abdc;
cursor: pointer;
transition: all 0.3s ease;
}
.header__el-soc.whatsapp svg rect:hover{
  fill: #37ca73;
  cursor: pointer;
  transition: all 0.3s ease;
}


.header__menu{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  max-width: 500px;
}
.header-menu__el{
  color: #000000;
  font-size: 15px;
  line-height: 15px;
}
.header-menu__el:hover{
  color: var(--theme-color);
  cursor: pointer;
  transition: all 0.3s ease;
}


.header__menu{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  max-width: 580px;
}
.header-menu__el{
  color: #000000;
  font-size: 15px;
  line-height: 25px;
}
.header-menu__el:hover{
  color: var(--theme-color);
  cursor: pointer;
  transition: all 0.3s ease;
}
html {
  scroll-behavior: smooth;
}




.header__menu{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  max-width: 580px;
}
.header__inner{
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.header-menu__el{
  color: #000000;
  font-size: 15px;
  line-height: 25px;
}
.header-menu__el:hover{
  color: var(--theme-color);
  cursor: pointer;
  transition: all 0.3s ease;
}
html {
  scroll-behavior: smooth;
}
@media (max-width:1420px) {
  .header__menu{
    max-width: 410px;
  }
}
@media (max-width:1200px) {
  .header__menu{
    display: none;
  }
}
@media (min-width:1201px) {
header{
  position: fixed;

}
}
.mobile-menu{
left: -150%;
}

/* ##########################  HEADER end ############################### */




/* ##########################  FOOTER ############################### */
footer p,
footer a{
  color: #fff;
}
footer{
  background-color: var(--background-black);
}
.footer__inner{
  max-width: 1250px;
  padding: 35px 20px 25px 20px;
  margin: 0 auto;
}
.footer__container{
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid #888888;
}
.footer__top{
  display: flex;
  flex-direction: row;
}
.footer__top-left{
  display: flex;
  flex-direction: column;
  min-width: 350px;
}
.footer__tell{
 font-size: 24px;
 line-height: 37px;
}
.footer__place,
.footer__form{
  padding-left: 350px;
}
.footer__top-menu{
  font-size: 15px;
  line-height: 37px;
  padding-right: 40px;
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  width: 100%;
}
.footer__top-menu a:hover{
  color: var(--theme-color);
  cursor: pointer;
  transition: all 0.3s ease;
}
.footer__form{
  display: flex;
  gap: 15px;
}
.footer__form .btn{
  background-color: #373737;
  font-weight: 500;
  font-size: 12px;
  text-transform: uppercase;
  width: 170px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 10px;
  color: #fff;
}
.footer__form .btn.orange{
  background-color: var(--theme-color);
}
.footer__mail{
  padding-top: 5px;
}
.footer__form .btn.telegram:hover{
  background-color: #31abdc;
  cursor: pointer;
  transition: all 0.3s ease;
}
.footer__form .btn.whatsapp:hover{
  background-color: #37ca73;
  cursor: pointer;
  transition: all 0.3s ease;
}

.footer__place{
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 50px;
  padding-bottom: 30px;
}

.footer__place-right__inner,
.footer__place-left__inner{
  display: flex;
  align-items: center;
  gap: 1px;
}

.footer__place-lable{
  color: #888888;
  font-size: 12px;
  line-height: 19px;
  padding-left: 25px;
}


.footer__bottom{
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}
.footer__bottom-middle{
  max-width: 600px;
}
.footer__bottom p{
color: #a2a2a2;
line-height: 22px;
font-size: 14px;
}
.footer__bottom a{
  line-height: 22px;
font-size: 14px;
}



/* ########################## MOBILE_MENU  #################### */


.mobile__header{
  display: none;
  position: fixed;
  bottom: 0;
  width: fit-content; /* Ширина по содержимому */
  left: 50%;
  transform: translateX(-50%);
  padding: 15px 40px;
  overflow: hidden; /* Скрываем всё, что выходит за границы */
  background-color: #fff;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1); /* Добавил тень для примера */
  z-index: 100;
  border-radius: 20px;
}

@media (max-width: 1200px) {
  .mobile__header{
    display: flex;
  }
}

.mobile__header-inner {
  width: 100%;
  overflow: hidden;
}

.mobile__header-flex {
  display: flex;
  flex-direction: row;
  overflow-x: auto;
  overflow-y: hidden;
  gap: 10px;
  justify-content: flex-start;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 5px;
  

  scrollbar-width: none;
  -ms-overflow-style: none;
}


.mobile__header-flex::-webkit-scrollbar {
  display: none;
}


.mobile__header-el {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  color: #000;
  text-decoration: none;
  flex-shrink: 0; 
  padding: 5px 10px;
}


@media (max-width: 563px) {
  .mobile__header {
    width: 100%; 
    left: 0;
    right: 0;
    transform: none;
    border-radius: 0; 
    padding: 15px 20px; 
  }
  
  .mobile__header-inner {
    overflow: visible;
  }
  
  .mobile__header-flex {
    width: 100%;
    gap: 0;
  }

  .mobile__header-el{
    padding-right: 20px;
  }
}




/* ##########################  FOOTER end ############################### */



.container{
  padding: 50px;
  overflow: hidden;
  z-index: 2;
  position: relative;
}

.container.black{
   background-color: var(--background-black);
}
.container.no__hidden{
  overflow: visible;
}




/* #####################MEDIA####################### */

@media (max-width:1420px) {
  .header__el.with_img{
    display: none;
  }
  .header__inner {
    width: 950px;
  }
  .header__menu{
    max-width: 410px;
  }
}
@media (max-width:1200px) {
  :root{
    --text-title-size: 40px;
    --text-title-line: 52px;
  }
  .header__el{
    display: none;
  }
  .header__el.tell{
    display: flex;
  }
  .header__inner{
    width: 650px;
  }
  .container{
    padding: 20px;
  }
  .header__menu{
    display: none;
  }
}
@media (max-width:996px) {
  :root{
    --text-title-size: 36px;
    --text-title-line: 42px;
    --text-b-size: 20px;
    --text-b-line: 24px;
    --text-opacity-size: 12px;
    --text-opacity-line: 16px;
    --project-btn-size: 12px;
  }
  .footer__place, .footer__form{
    padding-left: 0;
  }
  .header__menu,
  .footer__top-menu{
    gap: 15px;
    line-height: 15px;
  }
  .footer__top{
    padding-bottom: 25px;
  }
  .footer__place{
    padding-top: 30px;
  }
  .footer__bottom{
    flex-direction: column;
  }
}
@media (max-width:768px) {
  header{
    position: relative;
  }
  .header__inner{
    width: auto;
  }
  .container{
    padding-top: 0;
  }
  :root {
    --text-title-size: 28px;
    --text-title-line: 35px;
  }
  .header__el .header__tell{
    font-size: 20px;
    line-height: 30px;
  }
  .footer__top{
    flex-direction: column;
    gap: 20px;
  }
  .header__el-soc{
    display: none;
  }
  .header__menu,
  .footer__top-menu{
    padding-right: 0;
  }
}
@media (max-width:550px) {
  .header__logo{
    width: 100px;
  }
  .header__inner{
    padding-top: 0;
    padding-bottom: 0;
  }
}
@media (max-width:400px) {
  :root {
    --text-title-size: 24px;
    --text-title-line: 30px;
  }
  .footer__place{
    flex-direction: column-reverse;
    align-items: start;
  }
  .footer__form{
    flex-direction: column;
    justify-content: center;
    margin: 0 auto;
  }
  .footer__bottom{
    gap: 10px;
  }
  .header__inner{
    padding: 10px;
  }
  .footer__top-left{
    min-width: auto;
  }
}



/* ##################### Блок записи ############### */


.cost__house-inner{
  background-color: var(--background-black);
  padding-top: 70px;
  position: relative;
  margin-top: 570px;
}
.cost__house-inner.white{
  padding-top: 0;
  margin-top: 500px;
}
.cost__house-inner.white .cost__house-content{
  bottom: -80px;
}
.cost__house-content{
  width: 1350px;
  margin: 0 auto;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}
.cost__house-content{
  display: flex;
  flex-direction: row;
}
.cost__house-photo{
  width: 500px;
  height: auto;
  object-fit: cover;
  border-radius: 30px;
}
.cost__house-right{
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
  width: 100%;
  padding-left: 80px;
  background-color: #fff;
  border-radius: 30px;
}

.cost__house-title{
  font-size: var(--text-title-size);
  line-height: var(--text-title-line);
  color: var(--text-title-color);
  font-weight: 500;
}
.cost__house-title .orange{
  color: var(--theme-color);
}

.cost__house-info{
  display: flex;
  align-items: center;
  gap: 10px ;
  padding-top: 20px;
  padding-bottom: 20px;
}

.cost__house-btn .btn{
  padding: 25px 15px ;
  background-color: var(--theme-color);
  color: #fff;
  text-transform: uppercase;
  margin-top: 10px;
  border: none;
  border-radius: 15px;
  font-size: 16px;
  font-weight: 600;
}
.cost__house-btn .btn:hover{
  opacity: 0.8;
  transition: all 0.3s ease;
}


/* #####################MEDIA####################### */

@media (max-width:1420px) {
  .cost__house-content{
    width: 1200px;
  }
}
@media (max-width:1300px) {
  .cost__house-photo {
    width: 900px;
    height: 200px;
    object-fit: cover;
}
  .cost__house-content{
    width: 900px;
    flex-direction: column;
  }
  .cost__house-right{
    padding: 20px;
    width: 860px;
  }
}

@media (max-width:996px) {
  .cost__house-btn .btn{
    font-size: 14px;
    padding: 15px 10px;
  }
  .cost__house-info{
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .cost__house-content,
  .cost__house-photo{
    width: 700px;
  }
  .cost__house-right{
    width: 660px;
  }
  .cost__house-inner{
    margin-top: 470px !important;
  }
}

@media (max-width:768px) {
  .cost__house-content,
  .cost__house-photo{
    width: 450px;
  }
  .cost__house-right{
    width: 410px;
  }
  .cost__house-inner{
    margin-top: 450px !important;
  }
}



@media (max-width:550px) {
  .cost__house-content, .cost__house-photo{
    width: 300px;
  }
  .cost__house-right{
    width: 260px;
  }
  .cost__house-title{
    font-size: 20px;
    line-height: 25px;
  }
  .cost__house-title br{
    display: none;
  }
}