  @media (max-width:991.98px){ .phone-btn{display:none!important} }

  @media (min-width: 992px){
    .menu-pill{
      position:absolute;
      left:50%;
      top:50%;
      transform:translate(-50%,-50%);
    }
  }

  /* === КАРТА + ФИЛЬТР (минимум стилей) === */
  #overview h2{
    letter-spacing:.04em;
    color: var(--text-main);
  }

  .map-ya{border-radius:22px; overflow:hidden}

  .filter-card{
    border:1px solid rgba(0,0,0,.06);
    border-radius:1.2rem;
    background:#fff;
  }

  .tab-underline{color:#234a32; border-bottom:2px solid currentColor; padding-bottom:.25rem}
  .tab-ghost{opacity:.7}

  .btn-pill{
    border:1px solid #cfe3d8;
    background:#fff;
    border-radius:999px;
    padding:.5rem 1rem;
    font-weight:600;
  }
  .btn-pill.active{background:var(--brand); color:#fff; border-color:var(--brand)}

  .form-pill{
    border-radius:999px;
    padding:.6rem .9rem;
  }

  .preview-card{
    position:relative;
    border-radius:1.2rem;
    overflow:hidden;
    height:220px;
    background:#000;
  }
  .preview-glass{
    position:absolute;
    right: 0; bottom: 0;
    max-width:75%;
    color:#fff;
    background: radial-gradient(120% 120% at 0% 0%, rgba(0,0,0,.55), rgba(0,0,0,.35));
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border:1px solid rgba(255,255,255,.35);
    border-radius: 1.2rem 0rem 0rem 0rem;
  }





  /* === КАРТОЧКИ ОБЪЕКТОВ (как на скрине) === */

  /* обёртка сетки */
  #sold{background:#fff;}

 /* === КАРТОЧКИ ОБЪЕКТОВ КАК В МАКЕТЕ === */

/* Коробка карточки */
.estate-card{
  padding-bottom: 1.5rem;        /* запас снизу */
  height: 100%;
}

/* Картинка */
.estate-card__image-wrap img{
  display:block;
  width:100%;
  height:260px;
  object-fit:cover;
  border-radius:26px;            /* как в макете */
}

/* Стеклянная подложка, наезжающая на картинку, но в потоке */
.estate-card__overlay{
  width: 90%;
  margin: -2.4rem auto 0;        /* наехали на картинку */
  padding: 1.1rem 1.6rem 1.4rem;
  border-radius: 1.2rem;

  background: linear-gradient(
    180deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.92) 55%,
    #ffffff 100%
  );
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
}

/* Текст и низ */
.estate-card__desc{
  margin: 0 0 .9rem;
  font-size:.9rem;
  color:#234a32;
  font-weight: 700;
}

.estate-card__footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:.75rem;
}

/* Кнопка "Подробнее" */
.estate-card__btn{
  border-radius:999px;
  border:none;
  padding:.55rem 1.8rem;
  background:#50a46e;
  color:#fff;
  font-weight:600;
  font-size:.85rem;
  box-shadow:0 10px 20px rgba(80,164,110,.35);
  text-transform:uppercase;
  letter-spacing:.06em;
  white-space:nowrap;
  transition:background .25s ease, box-shadow .25s ease, transform .15s ease;
}
.estate-card__btn:hover{
  background:#3d8958;
  box-shadow:0 12px 24px rgba(80,164,110,.4);
  transform:translateY(-1px);
}

/* Цена справа */
.estate-card__price{
  font-weight:800;
  font-size:1rem;
  color:#234a32;
  white-space:nowrap;
}

  /* футер */
  .footer-light {
    background: #fff;
    border-top: 1px solid rgba(0,0,0,.08);
    box-shadow: 0 -4px 16px rgba(0,0,0,.05);
  }

  .footer-links a {
    color: #2c5033;
    text-decoration: none;
    transition: color .25s ease;
  }
  .footer-links a:hover {
    color: #50a46e;
  }

  .footer-light hr {
    border-color: rgba(0,0,0,.1);
  }

  @media (max-width: 991.98px){
    .fluid-p5b{padding: 0 1.5rem 2rem;}
    .navbar{padding:0 1.5rem;}
  }
  
  









  .estate-hero{padding: 40px 0 50px;}

  /* ЛЕВАЯ КАРТИНКА (СЛАЙДЕР) */
  .estate-hero_gallery-main{
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(0,0,0,.18);
    background: #f3f5f2; /* мягкий фон под фото */
    aspect-ratio: 16/9;  /* фиксированное соотношение */
    display:flex;
    align-items:center;
    justify-content:center;
}
  .estate-hero_gallery-main .carousel-inner,
  .estate-hero_gallery-main .carousel-item{height:100%;}
  .estate-hero_gallery-main img{
    width: 100%;
    height: 100%;
    object-fit: cover; 
}

  /* ПРАВАЯ КОЛОНКА С ПРЕВЬЮ */
  .estate-hero_gallery-side{
    display:flex;
    flex-direction:column;
    gap:12px;
    height:360px; 
  }

  /* Обёртка одного превью (делим на 3 части по высоте) */
  .estate-hero_thumb{
    flex:1;                 
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 10px 25px rgba(0,0,0,.16);
  }

  .estate-hero_thumb img{
    width: 100%;
    height: 100%;
    object-fit: cover; 
    background: #f3f5f2;
}

  .estate-hero_thumb img.active{
    opacity:1;
    box-shadow:0 0 0 3px #1e9e6e;
  }




  /* Характиристики */

  .estate-specs{
    background:#fff;
    border-radius:22px;
    padding:25px 35px 5px;
    box-shadow:var(--card-shadow);
  }
  
    .estate-h2-title{
    text-align:center;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.18em;
    margin-bottom:25px;
    color: #234a32;
  }
  
  .estate-specs_list{
    list-style:none;
    margin:0;
    padding:0 18px 15px 0;
  }
  .estate-specs_item{
    display:flex;
    justify-content:space-between;
    gap:10px;
    padding:6px 0;
    border-bottom:1px solid #e0f0e6;
    font-size:.8rem;
  }
  .estate-specs_item:last-child{
    border-bottom:none;
  }
  .estate-specs_label{
    font-weight:600;
  }
  .estate-specs_value{
    text-align:right;
    color:#5f7c69;
  }

  /* Описание */
  .estate-description-subtitle{
    text-align:center;
    font-size:.75rem;
    letter-spacing:.25em;
    text-transform:uppercase;
    color:#8f9f93;
  }
  .estate-description-title{
    text-align:center;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.18em;
    margin-bottom:25px;
    color: #234a32;
  }


  /* Карта */
.estate-map_wrap{
    overflow:hidden;
    width: 100%;
    position: relative;
}

.estate-map_wrap iframe{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
  .estate-map_wrap img{
    width:100%;
    height:360px;
    border:0;
    display:block;
  }
  .estate-map_btn{
    margin-top:18px;
    border-radius:999px;
    padding:.7rem 1.8rem;
    font-size:.78rem;
    font-weight:700;
    letter-spacing:.12em;
    text-transform:uppercase;
    border:none;
    background:#1e9e6e;
    color:#fff;
    box-shadow:0 12px 24px rgba(0,0,0,.25);
  }



/* ===== ПОХОЖИЕ ОБЪЕКТЫ ===== */
.estate-similar{
  background:#fff;
  padding:55px 0 65px;
}
.estate-similar h2{
  color:#234a32;
  text-align: center;
}

/* ЛЕНТА */
.similar-track{
  display:flex;
  gap:24px;
  overflow-x:auto;
  scroll-behavior:smooth;
  scrollbar-width:none;
}
.similar-track::-webkit-scrollbar{ display:none; }

/* карточка = 1/3 ширины */
.estate-similar_item{
  flex:0 0 calc(33.333% - 16px);
  padding: 1rem 0;
}

@media (max-width: 991.98px){
  .estate-similar_item{
    flex:0 0 100%;
  }
}

/* ===== CARD ===== */
.estate-similar_card{
  background: rgba(255, 255, 255, 0.75); /* стекло */
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border: 1px solid rgba(35, 74, 50, 0.18);
  border-radius: 1.2rem;
  overflow: hidden;

  box-shadow:
    0 3px 10px rgba(0,0,0,.08),
    inset 0 1px 0 rgba(255,255,255,.45); /* светлый блик сверху */

  height: 100%;
  transition: transform .25s ease, box-shadow .25s ease;
}

.estate-similar_card:hover{
  transform: translateY(-3px);
  box-shadow:
    0 4px 15px rgba(0,0,0,.14),
    inset 0 1px 0 rgba(255,255,255,.6);
}

.estate-similar_img{
  width:100%;
  object-fit:cover;
  display:block;
}

.estate-similar_body{ padding:12px 14px 14px; }

.estate-similar_place{
  display:flex;
  gap:8px;
  align-items:flex-start;
  color:#234a32;
  font-weight:700;
  font-size:.82rem;
  margin-bottom:6px;
}
.estate-similar_place i{ color:#1e9e6e; margin-top:2px; }

.estate-similar_addr{
  color:#234a32;
  opacity:.85;
  font-size:.78rem;
  margin-bottom:10px;
}

.estate-similar_footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.estate-similar_price{
  font-weight:900;
  color:#234a32;
  font-size:.9rem;
  white-space:nowrap;
}

/* ===== стрелки ===== */
.similar-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:38px;
  height:38px;
  border-radius:50%;
  background:#1e9e6e;
  border:none;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  z-index:5;
}
.similar-prev{ left:-10px; }
.similar-next{ right:-10px; }

.similar-arrow i{ font-size:1.1rem; }
.similar-arrow:hover{ background:#167b55; }


  /* Форма подбора */
  .estate-cta{
    position:relative;
    padding:55px 0 65px;
  }
  .estate-cta_bg{
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  }
  .estate-cta_overlay{
    position:relative;
    z-index:1;
  }
  
  .estate-cta_form{
    max-width:780px;
    margin:0 auto;
    background:rgba(255,255,255,.12);
    border-radius:28px;
    padding:18px 22px;
    backdrop-filter:blur(16px);
    -webkit-backdrop-filter:blur(16px);
    border:1px solid rgba(255,255,255,.45);
    box-shadow:0 18px 40px rgba(0,0,0,.45);
  }
  .estate-cta_form .form-control{
    background:rgba(255,255,255,.85);
    border-radius:999px;
    border:none;
    padding:.6rem 1rem;
    font-size:.8rem;
  }
  .estate-cta_submit{
    border-radius:999px;
    border:none;
    padding:.65rem 1.8rem;
    background:#1e9e6e;
    color:#fff;
    font-size:.8rem;
    font-weight:700;
    letter-spacing:.12em;
    text-transform:uppercase;
    box-shadow:0 12px 24px rgba(0,0,0,.4);
  }

  @media (max-width: 991.98px){
    .estate-hero_gallery-main{
      height:auto;
    }
    .estate-hero_gallery-main img{
      height:260px;
    }

    .estate-hero_gallery-side{
      margin-top:12px;
      flex-direction:row;
      height:auto;
    }
    .estate-hero_thumb{
      flex:1 0 33%;
      height:90px;
    }

    .estate-hero_bar{
      text-align:center;
    }
    .estate-hero_bar-price{
      text-align:center;
      margin-top:8px;
    }
    .estate-hero_btn-primary{
      margin-left:0;
      width:100%;
      justify-content:center;
    }
    .estate-hero_btns{
      flex-direction:column;
    }
    .estate-specs{
      padding:18px 18px 5px;
    }
    .estate-cta_form{
      padding:16px;
    }
    .estate-cta_form .estate-cta_submit{
      width:100%;
      margin-top:8px;
    }
  }
  
  
  
  .estate-topbar{
    background:#56a773;           
    border-radius: 0 0 0 0;
    color:#fff;
    padding: 28px 0 26px;
  }

  .estate-topbar_inner{
    border-radius: 0;
  }

  .estate-topbar_title{
    text-transform: uppercase;
  }

  .estate-topbar_sub{
    letter-spacing: .18em;
    text-transform: uppercase;
    opacity: .95;
  }

  .estate-topbar_actions{
    margin-top: 18px;
    display:flex;
    flex-wrap:wrap;
    gap:14px;
  }



  .estate-topbar_right{
    display:flex;
    flex-direction:column;
    align-items:flex-end;
    justify-content:center;
    gap: 14px;
    height:100%;
  }

  .estate-topbar_price{
    white-space:nowrap;
    color:#fff;
  }
  
  .estate-topbar_minhight{
    min-height: 10vh;
  }  
  
  


  @media (max-width: 991.98px){
    .estate-topbar_title{ font-size: 1.15rem; }
    .estate-topbar_sub{ font-size: .75rem; letter-spacing:.12em; }
    .estate-topbar_right{ align-items:flex-start; margin-top:18px; }
    .estate-topbar_price{ font-size: 1.25rem; }
    .estate-topbar_cta{ width:100%; min-width: 0; }
  }

  