@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

/* =========================================
   КВАРТИРНОЕ БЮРО — ОБЩИЕ ЦВЕТА
   ========================================= */

:root {
  --kb-milk: #F8F5EF;
  --kb-ivory: #FFFDF9;
  --kb-brown: #49382F;
  --kb-blue: #244D78;
  --kb-gold: #B69A75;
}

/* =========================================
   ШАПКА САЙТА
   ========================================= */

header.kb-header,
header.kb-header.stricky-fixed {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  width: 100% !important;
  height: auto !important;
  z-index: 1000;
  background: var(--kb-milk) !important;
  box-shadow: 0 3px 15px rgba(73,56,47,.07);
  transform: none !important;
  animation: none !important;
  margin-bottom: 0 !important;
  font-family: 'DM Sans', Arial, sans-serif;
}

header.kb-header * {
  box-sizing: border-box;
}

header.kb-header .container {
  max-width: 1320px !important;
  width: 100%;
  margin: 0 auto;
  padding-left: 22px;
  padding-right: 22px;
}

/* Верхняя строка */

header.kb-header .kb-header-top {
  background: var(--kb-milk);
}

header.kb-header .kb-header-top-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 30px;
  min-height: 104px;
  padding-top: 17px;
  padding-bottom: 17px;
}


/* Логотип и название */

header.kb-header .kb-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

header.kb-header .kb-brand-logo {
  display: flex;
  flex: none;
  align-items: center;
}

header.kb-header .kb-brand-logo img.img-logo {
  display: block;
  width: auto;
  max-width: 88px;
  max-height: 76px;
  height: auto;
  object-fit: contain;
}

header.kb-header .kb-brand-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  line-height: 1.3;
}

header.kb-header .kb-brand-name {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-size: 27px;
  font-style: normal !important;
  font-weight: 700 !important;
  color: var(--kb-brown) !important;
  text-decoration: none;
  white-space: nowrap;
}

header.kb-header .kb-brand-experience {
  font-size: 13px;
  font-weight: 600;
  color: var(--kb-brown);
}

header.kb-header .kb-brand-location {
  font-size: 12px;
  color: #8A7767;
}

/* Контакты */

header.kb-header .kb-header-contacts {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 16px;
}

header.kb-header .kb-social {
  display: flex;
  align-items: center;
  gap: 8px;
}

header.kb-header .kb-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid #D9CCBA;
  border-radius: 50%;
  background: var(--kb-ivory);
  color: var(--kb-brown) !important;
  font-size: 17px;
  text-decoration: none;
}

header.kb-header .kb-social a:hover {
  color: var(--kb-blue) !important;
  border-color: var(--kb-blue);
}

header.kb-header .kb-phone {
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  color: var(--kb-brown) !important;
  text-decoration: none;
}

header.kb-header .kb-phone i {
  color: var(--kb-gold);
  margin-right: 5px;
}

/* Синяя кнопка */

header.kb-header .kb-call-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  min-height: 44px;
  border-radius: 7px;
  background: var(--kb-blue) !important;
  color: #fff !important;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none !important;
  white-space: nowrap;
}

header.kb-header .kb-call-btn:hover {
  background: #193A5C !important;
}

/* =========================================
   НИЖНЕЕ МЕНЮ
   ========================================= */

header.kb-header nav.kb-header-nav {
  display: block !important;
  position: static !important;
  background: var(--kb-ivory) !important;
  border-top: 1px solid #E8E0D5;
  border-bottom: 1px solid #E8E0D5;
}

header.kb-header .kb-header-nav-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 20px;
  min-height: 59px;
}

header.kb-header ul.kb-menu {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 26px;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  width: auto !important;
  background: transparent !important;
}

header.kb-header ul.kb-menu > li {
  display: block !important;
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

header.kb-header .kb-menu-link {
  display: inline-block !important;
  padding: 18px 0 !important;
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--kb-brown) !important;
  background: transparent !important;
  text-decoration: none !important;
  white-space: nowrap;
}

header.kb-header .kb-menu-link:hover {
  color: var(--kb-blue) !important;
}

header.kb-header .kb-header-actions {
  display: flex;
  flex: none;
  align-items: center;
  gap: 19px;
}

header.kb-header .kb-action-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--kb-brown) !important;
  text-decoration: none;
  white-space: nowrap;
}

header.kb-header .kb-action-link .fa-heart {
  color: #C56A65;
}

header.kb-header .kb-action-link #fav_indicator {
  font-weight: 700;
}

header.kb-header .kb-mobile-menu {
  display: none;
}


/* Убираем старый отступ под шапкой */

.header-line {
  display: none !important;
}

.kb-header + .header-line {
  margin: 0 !important;
  padding: 0 !important;
  height: 0 !important;
}

/* =========================================
   ГЛАВНЫЙ ЭКРАН
   ========================================= */


.kb-home-hero {
  position: relative;
  background-color: #635b51;
  background-image: url('/upload/living-room.png');
  background-size: cover;
  background-position: center;
  padding: 74px 0 65px;
  font-family: 'DM Sans', Arial, sans-serif;
}

.kb-home-hero-inner {
  position: relative;
}

.kb-home-hero-copy {
  max-width: 800px;
  color: #fff;
  margin-bottom: 42px;
}

.kb-home-hero-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .15em;
  color: #EAD8BB;
  margin-bottom: 16px;
}

/* Исправленный шрифт главного заголовка */

.kb-home-hero .kb-home-hero-copy h1 {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-style: normal !important;
  font-weight: 600 !important;
  font-size: clamp(30px, 3vw, 43px) !important;
  line-height: 1.18 !important;
  letter-spacing: -0.6px !important;
  color: var(--kb-brown) !important;
  margin: 0 0 18px;
}

.kb-home-hero-copy p {
  font-family: 'DM Sans', Arial, sans-serif;
  color: #fff;
  font-size: 17px;
  line-height: 1.6;
  margin: 0;
}

/* Поиск недвижимости */

.kb-home-search {
  position: relative;
  z-index: 1;
}

.kb-home-hero .kb-home-search .container {
  max-width: 100%;
}

/* =========================================
   ПЯТЬ ПРЕИМУЩЕСТВ
   ========================================= */


.kb-home-benefits {
  background: var(--kb-milk);
  border-bottom: 1px solid #E7DFD3;
  padding: 30px 0;
  font-family: 'DM Sans', Arial, sans-serif;
}

.kb-benefits-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  align-items: center;
}

.kb-benefit {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--kb-brown);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

.kb-benefit i {
  font-size: 27px;
  color: var(--kb-gold);
  flex-shrink: 0;
}

.kb-benefit-number {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 36px;
  color: var(--kb-blue);
  line-height: 1;
}

/* =========================================
   ЗАГОЛОВКИ РАЗДЕЛОВ
   ========================================= */

.kb-section-title,
.kb-offers h2 {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-style: normal !important;
  font-weight: 600 !important;
  color: var(--kb-brown);
}

/* =========================================
   АДАПТАЦИЯ ПОД ЭКРАНЫ
   ========================================= */

@media (max-width: 1199px) {

  header.kb-header .kb-header-top-inner {
    gap: 15px;
  }

  header.kb-header .kb-brand-name {
    font-size: 23px;
  }

  header.kb-header .kb-header-contacts {
    gap: 10px;
  }

  header.kb-header ul.kb-menu {
    gap: 16px;
  }

  header.kb-header .kb-header-actions {
    gap: 11px;
  }
}

@media (max-width: 991px) {

  header.kb-header .kb-header-top-inner {
    min-height: 88px;
  }

  header.kb-header .kb-brand-logo img.img-logo {
    max-width: 68px;
    max-height: 65px;
  }

  header.kb-header .kb-brand-name {
    font-size: 21px;
  }

  header.kb-header .kb-header-contacts {
    gap: 10px;
  }

  header.kb-header .kb-social {
    display: none;
  }

  header.kb-header ul.kb-menu {
    display: none !important;
  }

  header.kb-header .kb-header-nav-inner {
    justify-content: flex-end !important;
    min-height: 51px;
  }

  header.kb-header .kb-mobile-menu {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }

  header.kb-header .kb-mobile-menu img {
    width: 22px;
    height: auto;
  }

  .kb-home-hero {
    padding: 55px 0 45px;
  }

  .kb-benefits-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 650px) {

  header.kb-header .container {
    padding-left: 15px;
    padding-right: 15px;
  }

  header.kb-header .kb-header-top-inner {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 14px;
    padding-top: 12px;
    padding-bottom: 13px;
  }

  header.kb-header .kb-brand {
    gap: 11px;
  }

  header.kb-header .kb-brand-name {
    font-size: 21px;
  }

  header.kb-header .kb-brand-experience {
    font-size: 12px;
  }

  header.kb-header .kb-brand-location {
    font-size: 11px;
  }

  header.kb-header .kb-header-contacts {
    width: 100%;
    justify-content: space-between;
  }

  header.kb-header .kb-phone {
    font-size: 13px;
  }

  header.kb-header .kb-call-btn {
    padding: 10px 12px;
    font-size: 12px;
    min-height: 38px;
  }

  header.kb-header .kb-header-actions {
    gap: 15px;
  }

  header.kb-header .kb-action-label {
    display: none;
  }

  .kb-home-hero {
    padding: 40px 0;
  }

  .kb-home-hero-copy {
    margin-bottom: 26px;
  }

  .kb-home-hero-copy p {
    font-size: 15px;
  }

  .kb-benefits-grid {
    grid-template-columns: 1fr 1fr;
    gap: 22px 12px;
  }

  .kb-benefit {
    font-size: 12px;
  }
}

/* =========================================
   ГОСТИНАЯ И ЗАГОЛОВОК
   ========================================= */
.kb-home-hero {
  background-image: url('/upload/living-room.png') !important;
  background-position: center center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
}
.kb-home-hero-copy { max-width: 570px !important; color: var(--kb-brown); }
.kb-home-hero .kb-home-hero-copy h1 {
  max-width: 540px !important;
  font-size: clamp(28px, 2.5vw, 38px) !important;
  line-height: 1.2 !important;
  color: var(--kb-brown) !important;
  text-shadow: none !important;
}
.kb-home-hero .kb-home-hero-eyebrow { color: #8A6A4F !important; }
.kb-home-hero .kb-home-hero-copy p {
  max-width: 520px !important;
  line-height: 1.5 !important;
  color: var(--kb-brown) !important;
}

/* =========================================
   ПОИСК: ТОЛЬКО ВНЕШНИЙ ВИД, БЕЗ ИЗМЕНЕНИЯ ФУНКЦИЙ
   ========================================= */
.kb-home-hero .kb-home-search { position: relative; z-index: 5; }
.kb-home-hero .kb-home-search .container { max-width: 100%; }

/* Поля */
.kb-home-search input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.kb-home-search select,
.kb-home-search .form-control,
.kb-home-search .form-select {
  border-color: #DED6CB !important;
  border-radius: 7px !important;
  font-family: 'DM Sans', Arial, sans-serif !important;
}
.kb-home-search input:focus,
.kb-home-search select:focus,
.kb-home-search .form-control:focus,
.kb-home-search .form-select:focus {
  border-color: var(--kb-blue) !important;
  box-shadow: 0 0 0 2px rgba(36,77,120,.09) !important;
}

/* Только кнопка отправки поиска. Не трогаем «На карте». */
.kb-home-search button[type="submit"],
.kb-home-search input[type="submit"] {
  background: var(--kb-blue) !important;
  border-color: var(--kb-blue) !important;
  color: #fff !important;
  border-radius: 7px !important;
  font-weight: 600 !important;
  box-shadow: none !important;
}
.kb-home-search button[type="submit"]:hover,
.kb-home-search input[type="submit"]:hover {
  background: #193A5C !important;
  border-color: #193A5C !important;
}

/* Вкладки «Купить / Снять» — без синей рамки вокруг вкладки */
.kb-home-search .nav-link,
.kb-home-search .nav-pills .nav-link {
  box-shadow: none !important;
  border-left-color: transparent !important;
  border-right-color: transparent !important;
  border-top-color: transparent !important;
}
.kb-home-search .nav-link.active,
.kb-home-search .nav-pills .nav-link.active {
  background: #fff !important;
  color: var(--kb-brown) !important;
  border-bottom: 3px solid var(--kb-blue) !important;
  border-radius: 0 !important;
  outline: none !important;
}

/* Вторая кнопка «На карте» — белая с тонкой рамкой.
   Используем существующий стиль прозрачной кнопки, не перекрашиваем все .btn-thm. */
.kb-home-search .btn-transparent,
.kb-home-search .btn-outline-dark {
  background: #fff !important;
  color: var(--kb-brown) !important;
  border: 1px solid #B8ADA0 !important;
  border-radius: 7px !important;
}

/* Аккуратная тень панели */
.kb-home-search .search_area,
.kb-home-search .search-box,
.kb-home-search .advance-search {
  box-shadow: 0 8px 25px rgba(73,56,47,.08);
}

@media (max-width: 650px) {
  .kb-home-hero-copy { max-width: 100% !important; }
  .kb-home-hero .kb-home-hero-copy h1 { font-size: 28px !important; }
}

/* Убираем полосу преимуществ под главным экраном */
.kb-home-benefits {
    display: none !important;
}

/* Настройки только для телефона */
@media (max-width: 650px) {

  header.kb-header .kb-header-top-inner {
    gap: 10px;
    min-height: 0;
    padding-top: 12px;
    padding-bottom: 12px;
  }
  header.kb-header .kb-brand { gap: 10px; }
  header.kb-header .kb-brand-logo img.img-logo {
    max-width: 58px;
    max-height: 55px;
  }
  header.kb-header .kb-brand-name {
    font-size: clamp(18px, 5vw, 23px);
    line-height: 1.15;
  }
  header.kb-header .kb-brand-experience,
  header.kb-header .kb-brand-location { font-size: 10px; }
  header.kb-header .kb-header-contacts {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
  }
  header.kb-header .kb-phone { font-size: 13px; }
  header.kb-header .kb-call-btn {
    padding: 9px 11px;
    min-height: 36px;
    font-size: 12px;
  }
  header.kb-header .kb-header-nav-inner { min-height: 44px; }

  /* Сам блок НЕ имеет высокой пустой верхней части. */
  .kb-home-hero {
    position: relative !important;
    isolation: isolate;
    background: var(--kb-milk) !important;
    padding: 0 0 24px !important;
    overflow: visible !important;
  }
  /* Компактная фотография гостиной на телефоне. */
  /* Фото гостиной: чуть ближе, с мягким переходом */
.kb-home-hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    height: 220px;

    background-image:
        linear-gradient(
            to bottom,
            rgba(248,245,239,0) 55%,
            rgba(248,245,239,0.25) 75%,
            #F8F5EF 100%
        ),
        url('/upload/living-room.png');

    background-size: cover, auto 135%;
    background-position: center, 58% center;
    background-repeat: no-repeat;
}
  /* Отступ создаём у внутреннего блока, чтобы карточка
     начиналась прямо у нижнего края фотографии. */
  .kb-home-hero .kb-home-hero-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    padding-top: 150px !important;
  }
  .kb-home-hero .kb-home-hero-copy {
    box-sizing: border-box;
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 22px 20px 18px !important;
    background: rgba(255,253,249,.98) !important;
    border-radius: 16px 16px 0 0 !important;
    box-shadow: 0 -4px 22px rgba(73,56,47,.08);
    color: var(--kb-brown) !important;
  }
  .kb-home-hero .kb-home-hero-eyebrow {
    font-size: 9px !important;
    letter-spacing: .09em !important;
    line-height: 1.5 !important;
    margin-bottom: 10px !important;
    color: #8A6A4F !important;
  }
  .kb-home-hero .kb-home-hero-copy h1 {
    max-width: none !important;
    font-size: clamp(25px, 6.2vw, 33px) !important;
    line-height: 1.15 !important;
    letter-spacing: -.35px !important;
    margin: 0 0 12px !important;
    color: var(--kb-brown) !important;
  }
  .kb-home-hero .kb-home-hero-copy p {
    max-width: none !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    color: var(--kb-brown) !important;
  }
  .kb-home-hero .kb-home-search {
    position: relative;
    z-index: 2;
    width: 100%;
    margin: 0 !important;
    padding: 0 0 6px !important;
    background: var(--kb-ivory);
    border-radius: 0 0 16px 16px;
    box-shadow: 0 12px 24px rgba(73,56,47,.10);
  }
  .kb-home-hero .kb-home-search .container { max-width: 100% !important; }
  .kb-home-search input:not([type="checkbox"]):not([type="radio"]),
  .kb-home-search select { max-width: 100%; }
}

@media (max-width: 390px) {
  header.kb-header .kb-brand-name { font-size: 18px; }
  header.kb-header .kb-phone { font-size: 12px; }
  header.kb-header .kb-call-btn { font-size: 11px; padding: 8px 9px; }
  .kb-home-hero::before { height: 150px; }
  .kb-home-hero .kb-home-hero-inner { padding-top: 135px !important; }
  .kb-home-hero .kb-home-hero-copy {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  .kb-home-hero .kb-home-hero-copy h1 { font-size: 25px !important; }
}

/* МОБИЛЬНАЯ ВЕРСИЯ — компактная форма поиска */
@media (max-width: 650px) {

  /* Вкладки Купить / Снять */
  .kb-home-search .nav-tabs,
  .kb-home-search .nav-pills {
    margin-bottom: 0 !important;
  }

  .kb-home-search .tab-content {
    padding-top: 0 !important;
  }

  /* Уменьшаем расстояния между полями */
  .kb-home-search .search_area,
  .kb-home-search .search-box,
  .kb-home-search .advance-search {
    padding-top: 12px !important;
    padding-bottom: 14px !important;
  }

  .kb-home-search .form-group {
    margin-bottom: 6px !important;
  }

  /* Поля одинаковой высоты */
  .kb-home-search .form-control,
  .kb-home-search .form-select {
    box-sizing: border-box !important;
    min-height: 42px;
  }

  /* Поля цены не выходят за пределы своих колонок */
  .kb-home-search input[placeholder*="Цена"] {
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }
}
/* Адаптация полей цены для телефона */
@media (max-width: 767px) {

    .advance-style4.at-home5 .fltr-box-cost {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        gap: 8px !important;
        width: 100% !important;
    }

    .advance-style4.at-home5 .fltr-box-cost input {
        flex: 1 1 0 !important;
        width: 0 !important;
        min-width: 0 !important;
        max-width: none !important;
    }

    .advance-style4.at-home5 .fltr-box-cost .fa-minus {
        flex: 0 0 auto !important;
        margin: 0 !important;
    }

}
/* МОБИЛЬНЫЙ ПОИСК — сокращаем вертикальные промежутки */
@media (max-width: 767px) {

  /* Между типом недвижимости и ценами */
  .kb-home-search .fltr-box-cost {
    margin-top: -12px !important;
  }

  /* Между дополнительными фильтрами и кнопками */
  .kb-home-search .fltr-box-cost ~ .row {
    margin-top: -12px !important;
  }

}
/* Уменьшаем расстояние перед кнопками поиска на телефоне */
@media (max-width: 767px) {
  .kb-home-search button[type="submit"],
  .kb-home-search .btn-search {
    margin-top: -12px !important;
  }
}
/* Градиент гостиной — только компьютер */

@media (min-width: 992px) {

  .kb-home-hero {
    background-image:
      linear-gradient(
        to bottom,
        rgba(248,245,239,0) 50%,
        rgba(248,245,239,0.15) 68%,
        rgba(248,245,239,0.65) 85%,
        #F8F5EF 100%
      ),
      url('/upload/living-room.png') !important;

    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
  }

}
/* Единый бежевый фон для главного экрана и предложений */

.kb-home-hero {
  background-color: #F8F5EF !important;
}

section.reviews {
  background: #F8F5EF !important;
  padding-top: 10px !important;
  padding-bottom: 75px !important;
}
/* Актуальные предложения — оформление карточек */

section.reviews .shop-item {
  background: #FFFDF9 !important;
  border: 1px solid #E8DED2 !important;
  border-radius: 16px !important;
  padding: 12px !important;
  box-shadow: 0 8px 24px rgba(73,56,47,.06) !important;
  overflow: hidden;
  height: 100%;
  transition: transform .25s ease, box-shadow .25s ease;
}

section.reviews .shop-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(73,56,47,.12) !important;
}

section.reviews .item-img-wrap {
  border-radius: 11px !important;
  overflow: hidden;
}

section.reviews .item-img-wrap img {
  width: 100% !important;
  height: 220px !important;
  object-fit: cover !important;
}

section.reviews .shop-item-name {
  color: #49382F !important;
  font-size: 17px !important;
  font-weight: 600 !important;
  margin-top: 15px !important;
  margin-bottom: 10px !important;
}

section.reviews .price-block .price {
  color: #244D78 !important;
  font-size: 20px !important;
  font-weight: 700 !important;
}

section.reviews .price-block-street {
  color: #8A796C !important;
  font-size: 13px !important;
  margin-top: 10px !important;
  margin-bottom: 8px !important;
}

section.reviews .btn_ob_all {
  display: inline-block;
  background: #244D78 !important;
  color: white !important;
  border: 1px solid #244D78 !important;
  border-radius: 8px !important;
  padding: 13px 30px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

/* Карточки на телефоне */

@media (max-width: 767px) {
  section.reviews {
    padding-top: 40px !important;
    padding-bottom: 45px !important;
  }

  section.reviews .item-img-wrap img {
    height: 210px !important;
  }
}
/* Каталог недвижимости */

.kb-catalog-heading {
  margin-bottom: 22px;
}

.kb-catalog-heading .title {
  font-family: Georgia, serif;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 600;
  color: #49392F;
  margin-bottom: 10px;
}

.kb-catalog-subtitle {
  color: #8A796C;
  font-size: 15px;
  margin: 0;
}

.kb-catalog-categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 auto 32px;
}

.kb-category {
  display: inline-block;
  padding: 11px 20px;
  border: 1px solid #DDD3C7;
  border-radius: 24px;
  background: #FFFFFF;
  color: #59483B;
  font-size: 14px;
  font-weight: 500;
}

.kb-category.active {
  background: #244D77;
  border-color: #244D77;
  color: #FFFFFF;
}

@media (max-width: 767px) {
  .kb-catalog-categories {
    gap: 8px;
    margin-bottom: 24px;
  }

  .kb-category {
    padding: 9px 14px;
    font-size: 13px;
  }
}
/* Актуальные предложения — приближаем к референсу */

section.reviews .shop-item {
  padding: 7px !important;
  border-radius: 20px !important;
  background: #FFFDF9 !important;
  box-shadow: 0 3px 12px rgba(73,56,47,.06) !important;
}

/* Убираем внутреннюю двойную рамку */

section.reviews .item-hover-wrap {
  border: none !important;
  box-shadow: none !important;
  padding: 0 0 12px !important;
  background: transparent !important;
}

/* Более крупные фотографии */

section.reviews .item-img-wrap {
  border-radius: 15px !important;
  overflow: hidden;
}

section.reviews .item-img-wrap img {
  height: 230px !important;
  width: 100% !important;
  object-fit: cover !important;
}

/* Название объекта */

section.reviews .shop-item-name {
  text-align: left !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  color: #302720 !important;
  margin: 14px 14px 8px !important;
}

/* Цена на бежевой плашке */

section.reviews .price-block {
  text-align: left !important;
  margin: 0 14px 8px !important;
}

section.reviews .price-block .price {
  display: inline-block !important;
  background: #F3E7D7 !important;
  color: #38291F !important;
  border: none !important;
  border-radius: 10px !important;
  padding: 7px 12px !important;
  font-size: 20px !important;
  font-weight: 700 !important;
}

/* Адрес с иконкой */

section.reviews .price-block-street {
  text-align: left !important;
  margin: 0 14px 4px !important;
  color: #79695D !important;
  font-size: 13px !important;
  font-style: normal !important;
}

section.reviews .price-block-street i {
  font-style: normal !important;
}

section.reviews .price-block-street::before {
  content: "⌖";
  color: #A78C6F;
  font-size: 19px;
  margin-right: 7px;
}

/* Кнопка как на референсе */

section.reviews .btn_ob_all {
  min-width: 310px !important;
  text-align: center !important;
  border-radius: 12px !important;
  font-size: 16px !important;
  padding: 16px 25px !important;
}

/* На телефонах */

@media (max-width: 767px) {
  section.reviews .item-img-wrap img {
    height: 220px !important;
  }

  section.reviews .btn_ob_all {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 310px !important;
  }
}
/* Прямой текст кнопки «Смотреть все» */
section.reviews .btn_ob_all {
    font-style: normal !important;
}

section.reviews .btn_ob_all * {
    font-style: normal !important;
}


/* ===== О КОМПАНИИ ===== */

.kb-about {
    padding: 35px 0 65px;
    background: #F8F3ED;
    color: #49352B;
}

.kb-about .container {
    max-width: 1120px;
}

.kb-about-title {
    font-family: Georgia, serif;
    font-size: 56px;
    font-weight: 600;
    color: #3F281C;
    margin-bottom: 42px;
}

.kb-about-intro {
    display: grid;
    grid-template-columns: 34% 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 38px;
}

.kb-about-experience {
    text-align: center;
    border-right: 1px solid #DCC8B5;
    padding: 15px 30px 15px 0;
}

.kb-about-number {
    font-family: Georgia, serif;
    font-size: 76px;
    font-style: italic;
    line-height: 1.1;
    color: #4B2D1C;
}

.kb-about-years-text {
    font-size: 18px;
    margin-top: 8px;
}

.kb-about-description {
    font-size: 18px;
    line-height: 1.6;
}

.kb-about-description p {
    margin-bottom: 14px;
}

.kb-about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.kb-about-feature {
    min-height: 185px;
    padding: 30px 20px;
    background: rgba(255,255,255,.65);
    border: 1px solid #F0E5D9;
    border-radius: 22px;
    box-shadow: 0 8px 25px rgba(83,57,36,.06);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.kb-about-feature-icon {
    width: 66px;
    height: 66px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #F4E8DA;
    color: #805A3D;
    font-size: 30px;
    margin-bottom: 18px;
}

.kb-about-feature h3 {
    font-family: Georgia, serif;
    font-size: 23px;
    font-weight: 600;
    line-height: 1.25;
    color: #493021;
    margin: 0;
}

.kb-about-action {
    text-align: center;
}

.kb-about-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 16px 32px;
    border-radius: 12px;
    background: #244F7A;
    color: #fff !important;
    font-size: 17px;
    font-weight: 500;
    font-style: normal;
    text-decoration: none !important;
}

.kb-about-button:hover {
    background: #193D60;
    color: #fff !important;
}

/* Мобильная версия */
@media (max-width: 767px) {
    .kb-about {
        padding: 45px 0;
    }

    .kb-about-title {
        font-size: 39px;
        margin-bottom: 25px;
    }

    .kb-about-intro {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .kb-about-experience {
        border-right: 0;
        border-bottom: 1px solid #DCC8B5;
        padding: 0 0 22px;
    }

    .kb-about-number {
        font-size: 65px;
    }

    .kb-about-description {
        font-size: 16px;
    }

    .kb-about-features {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .kb-about-feature {
        min-height: 145px;
    }

    .kb-about-feature h3 {
        font-size: 21px;
    }
}
