article {
  display: flex;
  width: 100%;
  font-family: "Montserrat", Sans-serif;
}

h2 {
  margin: 0;
}

.section_content_con {
  display: flex;
  gap: 40px;
}

.section_content {
  padding: 0 0 75px;
}

.section_content_gals {
  display: flex;
  width: 50%;
  max-width: 782px;
  flex-direction: column;
  gap: 20px;
}

.section_content_desc {
  display: flex;
  width: 50%;
}

.content_desc_box h4 {
  font-size: 16px;
  color: #00A3FF;
  font-weight: 600;
  margin: 0 0 25px;
}

.content_desc_box p {
  font-size: 20px;
  line-height: 1.5;
  font-weight: 400;
  color: #535252;
}

.owl-dots {
  display: none;
}

.entry-content {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 75px 0;
}

.content_gals_item img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content_gals_dots {
  display: flex;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.content_gals_dots_box {
  display: flex;
  gap: 10px;
}

.content_gals_dots_item {
  position: relative;
  display: flex;
  width: 188px;
  height: 105px;
  cursor: pointer;
}

.content_gals_dots_item:after {
  content: '';
  position: absolute;
  display: flex;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, .3);
}

.content_gals_dots_item.active:after {
  background-color: unset;
}

.content_gals_dots_item img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section_content_info {
  padding: 0 0 75px;
}

.section_content_info_con {
  display: flex;
  gap: 40px;
}

.content_info_con_left {
  display: flex;
  width: 50%;
}

.content_info_con_right {
  display: flex;
  width: 50%;
}

.content_info_hld_stroitelstva {
  display: flex;
  position: relative;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.content_info_hld_stroitelstva img {
  width: 100%;
  height: 100%;
  max-height: 397px;
  object-fit: cover;
}

.content_info_items {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
}

.content_info_item {
  display: flex;
  width: 50%;
  flex-direction: column;
  gap: 20px;
}

.content_info_item_number {
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Montserrat", Sans-serif;
  font-size: 36px;
  color: #0083CC;
  font-weight: 600;
}

.content_info_item_number span {
  font-size: 16px;
}

.content_info_item_text {
  font-size: 16px;
  font-weight: 400;
  color: #535252;
  text-align: center;
}

.content_info_hld_stroitelstva_text {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 9;
  gap: 20px;
}

.content_info_hld_stroitelstva_text h2 {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
}

.content_info_hld_stroitelstva_text a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 8px 24px;
  border: 1px solid #fff;
  color: #fff;
}

.content_info_hld_stroitelstva_text a:hover {
  background-color: #fff;
  color: #122435;
}

.section_content_service_con {
  display: flex;
  gap: 40px;
}

.content_service_con_left {
  display: flex;
  width: 50%;
  background-color: #122435;
  padding-left: 120px;
}

.content_service_con_right {
  display: flex;
  width: 50%;
}

.service_con_left_box {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 60px 0;
  gap: 40px;
}

.service_con_left_box_title {
  display: flex;
  position: relative;
}

.service_con_left_box_title:before {
  content: '';
  position: absolute;
  display: flex;
  width: 120px;
  height: 1px;
  background-color: #fff;
  left: 0;
  bottom: 0;
}

.service_con_left_box_title h2 {
  color: #E2E2E2;
  font-size: 32px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.service_con_right_box {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-left: 60px;
}

.service_items {
 display: flex;
  flex-direction: column;
  gap: 20px;
}

.service_item {
display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  color: #E2E2E2;
}
.service_item a {
position: relative;
  display: flex;
  width: 100%;
  align-items: center;
  color: #E2E2E2;
  gap: 10px;
  font-size: 16px;
}
.service_item_child {
  font-size: 12px;
}
.service_item a:after {
position: absolute;
  top: 50%;
  right: -14px;
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 14px 0 14px 14px;
  border-color: transparent transparent transparent #122435;
  opacity: 0;
  transform: translateY(-50%);
}
.service_item a:hover:after,
.service_item.active a:after {
    opacity: 1;
}
.service_item.active .service_items_child{
  display: flex;
}
.service_item .icon_arrow{
  transform: rotate(180deg);
  transition: all 0.3s ease;
}
.service_item.active .icon_arrow{
  transform: unset;
}
.icon_arrow {
 background-image: url(../img/icons/icon_arrow.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100%;
  width: 14px;
  height: 8px;
}
.service_items_child {
display: none;
  flex-direction: column;
  gap: 10px;
  transition: all, 0.3s ease-in-out;
  padding-left: 43px;
}
.right_tab{
  display: none;
}
.right_tab.active{
  display: flex;
  flex-direction: column;
}
.ifrastruktura_title {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.5;
  color: #292929;
  margin-top: 20px;
}

.ifrastruktura_desc {
  margin-top: 20px;
}

.ifrastruktura_btn {
  display: flex;
  margin-top: 20px;
}

.ifrastruktura_btn a {
  display: inline-flex;
  border: 1px solid #00A3FF;
  padding: 7px 15px;
  color: #00A3FF;
}

.ifrastruktura_btn a:hover {
  background-color: #00A3FF;
  color: #fff;
}

.section_content_territory {
  display: flex;
  width: 100%;
  padding: 55px 0 55px;
}

.section_content_territory_con {
  display: flex;
  width: 100%;
}

.section_content_territory_box {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 27px;
}

.section_content_territory_title {
  display: flex;
  padding: 0 0 20px;
  border-bottom: 1px solid #00A3FF;
}

.section_content_territory_title h2,
.fasady_con_item_title,
.section_content_layouts_con_title h2,
.section_content_infrastructure_con_title h2,
.section_terms_purchase h2 {
  font-size: 32px;
  font-weight: 700;
  line-height: 122%;
  text-transform: uppercase;
}

.section_content_territory_img {
  display: flex;
  justify-content: center;
}

.section_content_fasady {
  position: relative;
  display: flex;
  width: 100%;
  padding: 0 0 55px;
}

.section_content_fasady_con {
  display: flex;
  width: 100%;
}

.fasady_con_items {
  position: relative;
  display: flex;
  width: 100%;
  gap: 20px;
}

.fasady_con_item {
  display: flex;
  width: 50%;
  flex-direction: column;
}

.fasady_con_item_img {
  display: flex;
  position: relative;
}

.fasady_con_item_img svg {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 9;
}

.fasady_con_item_title {
  display: flex;
  padding: 0 0 20px;
  border-bottom: 1px solid #00a3ff;
  margin: 0 0 20px;
}

.fasady_con_item_img svg rect[data-action]:hover {
  cursor: pointer;
  fill-opacity: 0.4;
}

.section_content_layouts {
  display: flex;
  width: 100%;
}

.section_content_layouts_con {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.section_content_layouts_con_title {
  padding: 0 0 20px;
  margin: 0 0 20px;
  border-bottom: 1px solid #00a3ff;
}

.content_layouts_box {
  position: relative;
  display: flex;
  width: 100%;
  gap: 20px;
  justify-content: space-between;
}

#layouts_box_img {
  display: flex;
  width: 100%;
  position: relative;
  height: 100%;
}

#layouts_box_img img {
  width: 100%;
}

.content_layouts_box_floor {
  display: flex;
  overflow-y: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
  max-height: 487px;
}

.layouts_box_floor_items {
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
}

.layouts_box_floor_item a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 64px;
  height: 64px;
  background-color: #BEBEBE;
  color: #fff;
  font-weight: 700;
  font-size: 36px;
}

.layouts_box_floor_items a:hover {
  background-color: #00A3FF;
}

#box_floor_slider {
display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: min-content;
}

#layouts_box_img svg {
  max-width: 100%;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 999;
  max-height: 100%;
}

#layouts_box_img svg rect {
  cursor: pointer;
}

.box_floor_slider_btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 33px;
  height: 33px;
  background-color: #00A3FF;
  color: #fff;
  border-radius: 5px;
}

.floor_slider_arrow {
  position: relative;
  width: 2px;
  height: 17px;
  background-color: #fff;
}

.floor_slider_arrow:before {
  content: '';
  position: absolute;
  display: inline-flex;
  width: 2px;
  height: 10px;
  background-color: #fff;
  top: 0;
  transform: rotate(45deg);
  left: -4px;
}

.floor_slider_arrow:after {
  content: '';
  position: absolute;
  display: inline-flex;
  width: 2px;
  height: 10px;
  background-color: #fff;
  top: 0;
  transform: rotate(-45deg);
  left: 4px;
}

.slider_btn_next {
  transform: rotate(180deg);
}

.layouts_box_floor_item a.active {
  background-color: #00A3FF;
}

#infrastructure_list_items {
  display: flex;
  margin: 20px 0;
  padding: 20px 0;
}

.infrastructure_list_items_box {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
}

.infrastructure_list_items_box_title {
  font-size: 30px;
  font-weight: 600;
  text-transform: uppercase;
}

.popup_object_room,
.popup_object_room_layouts {
  position: absolute;
  display: none;
  opacity: 0;
  transition: all .3s ease;
}

.popup_object_room.ajax:before {
  content: '';
  position: absolute;
  display: flex;
  width: 100%;
  height: 100%;
  background-image: url(../img/icons/loader.gif);
  background-color: #fff;
  opacity: 0.6;
  background-position: center;
  background-repeat: no-repeat;
}

.popup_object_room.active,
.popup_object_room_layouts.active {
  display: inline-flex;
  opacity: 1;
  flex-direction: column;
  min-width: 144px;
 z-index: 999999;
  gap: 10px;
  width: max-content;
  background-color: #fff;
  border: 1px solid #00A3FF;
}

#popup_number,
.popup_number {
  background-color: #00A3FF;
  color: #fff;
  padding: 0 10px;
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
}

#popup_square,
#popup_count_room,
#popup_price,
.popup_square,
.popup_count_room,
.popup_price {
  font-size: 12px;
  font-weight: 400;
  color: #535252;
}

#popup_square span,
#popup_count_room span,
#popup_price span,
.popup_square span,
.popup_count_room span,
.popup_price span {
  font-size: 13px;
  font-weight: 600;
}

#popup_square span,
#popup_count_room span,
.popup_square span,
.popup_count_room span {
  color: #00A3FF;
}

#popup_price span,
.popup_price span {
  color: #00A3FF;
}

.wrap_popap_room_content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.popap_room_content_row {
  display: flex;
  flex-direction: column;
  padding: 0 10px;
}

.content_gals_item {
  display: flex;
  height: 420px;
}
.popup_btn {
  padding: 0 10px 10px 10px;
}
.btn.popap_room_btn {
  padding: 5px;
  background-color: #00A3FF;
  color: #fff;
  border: 1px solid transparent;
  transition: all 0.3s ease-in-out;
}
.btn.popap_room_btn:hover {
  padding: 5px;
  background-color: #fff;
  color: #00A3FF;
   border: 1px solid #00A3FF;
}
.popup_object_room {
    background: white;
    border: 2px solid #00A3FF;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    min-width: 300px;
    max-width: 400px;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.popup_object_room.active {
    opacity: 1;
    visibility: visible;
}

/* Анимация появления */
.popup_object_room {
    transform: translateY(20px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.popup_object_room.active {
    transform: translateY(0);
}

@media screen and (max-width: 1400px) {
.content_layouts_box_floor {
  max-height: 424px;
}
}


@media screen and (max-width: 1300px) {
.content_layouts_box_floor {
  max-height: 405px;
}
}


@media screen and (max-width: 1200px) {
.content_layouts_box_floor {
  max-height: 360px;
}
}

@media screen and (max-width: 1100px) {
.content_layouts_box_floor {
  max-height: 310px;
}
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .popup_object_room {
        position: fixed !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        width: 90% !important;
        max-width: 90% !important;
        margin: 0 auto !important;
    }
}





@media screen and (max-width: 992px) {
    .content_layouts_box {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
  }
   #box_floor_slider {
    position: relative;
    flex-direction: row;
    width: 100%;
  }
   .content_layouts_box_floor {
    width: 100%;
    overflow-y: unset;
    overflow-x: auto;
  }
  
  .box_floor_slider_btn.prev {
    left: 0;
    transform: rotate(-90deg);
  }

  .box_floor_slider_btn.next {
    right: 0;
    transform: rotate(-90deg);
  }
    .layouts_box_floor_items {
    flex-direction: row;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
}


@media screen and (max-width: 770px) {
  .section_content_con {
    flex-direction: column;
  }

  .section_content_desc {
    width: 100%;
  }

  .section_content_gals {
    max-width: 100%;
    width: 100%;
    gap: 10px;
  }

  .entry-content {
    padding: 10px 0;
  }

  .section_content_info_con {
    flex-direction: column;
  }

  .content_info_con_left {
    width: 100%;
  }

  .content_info_con_right {
    width: 100%;
  }

  .fasady_con_items {
    flex-direction: column;
  }

  .fasady_con_item {
    width: 100%;
  }

  .section_content_territory_img {
    max-width: 770px;
    overflow-x: auto;
  }

  .section_content_service_con {
    flex-direction: column;
  }

  .content_service_con_left {
    width: 100%;
  }

  .content_service_con_right {
    width: 100%;
  }

  .section_content_infrastructure_con_content {
    justify-content: unset;
    flex-direction: column;
  }

  .infrastructure_con_content_left {
    width: 100%;
  }

  .infrastructure_con_content_right {
    width: 100%;
  }

  .section_content_fasady {
    padding: 0;
  }

  .fasady_con_item_img {
    width: 100%;
  }

  .fasady_con_items .fasady_con_item:last-child .fasady_con_item_img {
    padding-left: 0;
  }

  .box_floor_slider_btn {
    width: 50px;
    height: 50px;
  }

  .box_floor_slider_btn {
    display: none;
    position: absolute;
    z-index: 99;
    -webkit-box-shadow: 4px 4px 22px 47px rgba(255, 255, 255, 0.15);
    -moz-box-shadow: 4px 4px 22px 47px rgba(255, 255, 255, 0.15);
    box-shadow: 4px 4px 22px 47px rgba(255, 255, 255, 0.15);
  }

  .content_info_item {
    align-items: center;
    gap: 0px;
  }

  .service_con_right_box {
    padding-left: 10px;
  }

  .layouts_box_floor_item a {
    width: 50px;
    height: 50px;
    font-size: 22px;
  }

  .section_content_infrastructure {
    padding: 24px 0;
  }

  .infrastructure_list_item {
    flex-direction: column;
  }

  .infrastructure_list_item_img {
    width: 100%;
  }

  .infrastructure_list_item_img img {
    width: 100%;
  }

  .infrastructure_list_item_info {
    padding: 10px;
    flex-direction: column;
    gap: 10px;
  }

  .infrastructure_list_item_info_desc {
    width: 100%;
  }

  .list_item_info_title {
    font-size: 22px;
    margin: 0 0 10px;
    text-align: center;
  }

  .infrastructure_list_item_metas {
    gap: 10px;
  }

  .infrastructure_list_item_metas {
    width: 100%;
  }

  .mobile-room-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-room-modal.active {
    opacity: 1;
    visibility: visible;
}

.mobile-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.mobile-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90%;
    max-width: 400px;
    max-height: 80vh;
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.mobile-room-modal.active .mobile-modal-content {
    transform: translate(-50%, -50%) scale(1);
}

.mobile-modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.mobile-modal-close:hover {
    color: #ff0000;
}

.mobile-modal-body {
    margin-top: 10px;
    max-height: calc(80vh - 60px);
    overflow-y: auto;
}
.mobile-room-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-family: "Montserrat", Sans-serif;
}
.mobile-room-field.popup_number span {
  background-color: #00A3FF;
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
}
.popup_square span,
.popup_count_room span,
.popup_price span{
  font-size: 12px;
  font-weight: 400;
  color: #535252;
}
.mobile-room-field.popup_square span span,
.mobile-room-field.popup_count_room span span,
.mobile-room-field.popup_price span span{
  font-size: 13px;
  font-weight: 600;
  color: #00A3FF;
}
.btn.popap_room_btn {
  font-size: 18px;
    font-family: "Montserrat", Sans-serif;
}
.mobile-room-field {
     padding: 0 10px;
}

.mobile-room-field:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.mobile-room-field strong {
    display: block;
    color: #333;
    margin-bottom: 4px;
    font-size: 14px;
}

.mobile-room-field span {
    display: block;
    color: #666;
    font-size: 16px;
}

/* Отключение прокрутки body когда модальное окно открыто */
body.modal-open {
    overflow: hidden;
}
#layouts_box_img svg rect {
    cursor: pointer;
    transition: all 0.2s ease;
}

#layouts_box_img svg rect:hover {
    fill-opacity: 0.6 !important;
}
    
    #layouts_box_img svg rect:active {
        fill-opacity: 0.6 !important;
    }
}

@media screen and (max-width: 1366px) {
.entry-content {
  padding: 75px 50px;
}
}

@media (max-width: 1024px) {
.entry-content {
  padding: 75px 30px;
}
}

@media screen and (max-width: 767px) {
.entry-content {
  padding: 30px 10px;
}
}


@media screen and (max-width: 480px) {
  .elementor-89 .elementor-element.elementor-element-3b56135 .elementor-heading-title {
    font-size: 28px;
  }

  .content_gals_item {
    display: flex;
    height: 280px;
  }
   .mobile-modal-content {
        width: 95%;
        padding: 15px;
    }
    
    .mobile-room-field strong {
        font-size: 13px;
    }
    
    .mobile-room-field span {
        font-size: 15px;
    }
}