.mm-page section {
    margin-bottom: 20px;
}
.mm-page p{
    font-size: 16px;
    margin: 0;
}
.mm-hero__inner p{
    color: #fff;
    max-width: 750px;
    margin: 0 auto 20px;
}
.mm-page h1,
.mm-page .h1{
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}
.mm-hero__inner h1{
    color: #fff;
    max-width: 750px;
    margin: 0 auto 20px;
}
.mm-page h2,
.mm-page .h2{
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
}
.mm-page h3,
.mm-page .h3{
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
}
.mm-title{
    font-weight: 700;
}
.mm-shadow{
    box-shadow: 0 8px 22px rgba(24, 33, 77, .08);
}
.mm-btn,
.lead-form .wpcf7-submit{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 12px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.5s;
    background: #38a3f3;
    color: #fff;
    border: none;
}
.mm-btn:hover,
.mm-btn:focus,
.lead-form .wpcf7-submit:hover,
.lead-form .wpcf7-submit:focus{
    color: #fff;
    text-decoration: none;
    background: #00428e;
    transition: all 0.5s;
}
.mm-hero {
  position: relative;
  min-height: 45vh;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
}
.mm-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.55));
}
.mm-hero__inner {
  position: relative;
    z-index: 5;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .45) 15%, rgba(0, 0, 0, .45) 80%, rgba(0, 0, 0, 0) 100%);
    padding: 28px;
    width: 100%;
}
.mm-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}
.mm-hero__bg--desktop {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


.mm-section-title {
  margin: 2rem 0 1rem;
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 700;
}
.mm-units__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  list-style: none;
}

.mm-unit-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,.04);
}
.mm-unit-card__thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #f6f7f8;
}
.mm-unit-card__thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mm-unit-card__body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mm-unit-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #666;
  font-size: 13px;
}
.mm-unit-card__priceblock {
  margin-top: auto;
  display: flex;
  gap: 10px;
  align-items: baseline;
}
.mm-unit-card__price {
  font-weight: 700;
  font-size: 16px;
}
.mm-unit-card__cta {
  margin-top: 8px;
  display: inline-block;
  width: 100%;
  text-align: center;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid #111;
  background: #111;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: opacity .15s ease-in-out, transform .03s ease-in-out;
}
.mm-unit-card__cta:hover { opacity: .9; }
.mm-unit-card__cta:active { transform: translateY(1px); }

.mm-units-hot .splide__list { align-items: stretch; }
.mm-units-hot .splide__slide { height: auto; }
.mm-units-hot .splide__arrow {
  background: rgba(0,0,0,.6);
}
.mm-units-hot .splide__arrow svg { fill: #fff; }

.mm-features--split .mm-features__grid {
  display: grid;
  gap: 20px;
  align-items: start;
  grid-template-columns: 1.1fr 1.4fr;
}
.mm-features__heading {
  margin: 0 0 12px;
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 800;
}
.mm-features__left li{
    margin: 0;
}
.mm-features__left ul {
    margin: 0 0 0 28px;
}
.mm-acc {
  border-top: 1px solid #e9e9ef;
}
.mm-acc__item {
  border-bottom: 1px solid #e9e9ef;
  padding: 16px 0;
  margin: 0;
}
.mm-acc__summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  margin: 0;
}
.mm-acc__summary h3 {
    margin: 0;
}
.mm-acc__summary::-webkit-details-marker { display: none; }

.mm-acc__chev {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  position: relative;
  box-shadow: inset 0 0 0 2px rgba(19,19,19,0.1);
}
.mm-acc__chev::before,
.mm-acc__chev::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 10px;
  height: 2px;
  background: #131313;
  transition: transform .2s ease;
}
.mm-acc__chev::after { transform: rotate(90deg); }
.mm-acc__item[open] .mm-acc__chev::after { transform: rotate(0deg); }
.mm-acc__content {
  color: #5a5a72;
  padding-top: 12px;
}
.mm-acc__content p { margin: 0 0 10px; }

.mm-agent-card {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 20px;
  padding: 28px;
  border: 1px solid #E7E4F5;
  border-radius: 12px;
  background: #F3F1FF;
  box-shadow: 0 8px 24px rgba(22,13,61,.06);
  overflow: hidden;
}
.mm-agent-card__media {
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.mm-agent-card__photo {
  width: 100%;
  max-width: 360px;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
  background: #ddd;
}
.mm-agent-card__photo--placeholder { aspect-ratio: 3/4; }
.mm-agent-card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mm-agent-card__heading {
  margin: 0 0 4px;
  font-size: 28px;
  font-weight: 800;
}

.mm-agent-card__role {
  color: #8A8DAA;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .2px;
}
.mm-agent-card__bio {
  margin: 6px 0 8px;
  color: #343443;
  max-width: 56ch;
}
.mm-agent-card__stats {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 18px;
  margin: 6px 0 4px;
}
.mm-agent-stat__num {
  font-size: 26px;
  font-weight: 800;
  color: #5A54FF;
}
.mm-agent-stat__num span {
  font-size: 18px;
  font-weight: 700;
  color: #5A54FF;
}
.mm-agent-stat__label {
  color: #6F6F85;
  font-size: 12px;
}
.mm-agent-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  gap: 12px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.mm-agent-card__phone {
  font-size: 18px;
  font-weight: 700;
  color: #111;
  text-decoration: none;
  white-space: nowrap;
}
.mm-agent-card__phone:hover { text-decoration: underline; }
.mm-news__row {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4,minmax(0,1fr));
}
.mm-news-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
  transition: transform .15s, box-shadow .15s;
}
.mm-news-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}
.mm-news-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
  height: 100%;
}
.mm-news-card__thumb img {
  width: 100%;
  height: auto;
  display: block;
}
.mm-news-card__title {
  margin: 12px 12px 6px;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.3;
}
.mm-news-card__meta {
  margin: 0 12px 10px;
  color: #777;
  font-size: 12px;
}
.mm-news-card__excerpt {
  margin: 0 12px 14px;
  color: #555;
  font-size: 14px;
}
.mm-news__more { margin-top: 14px; text-align: right; }

.mm-faq__list { border-top: 1px solid #e9e9ef; }
.mm-faq__item {
  border-bottom: 1px solid #e9e9ef;
  padding: 14px 0;
}
.mm-faq__q {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.mm-faq__item summary::-webkit-details-marker { display: none; }
.mm-faq__item .mm-faq__q::after {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px rgba(19,19,19,0.1);
  position: relative;
  flex: 0 0 auto;
}
.mm-faq__item .mm-faq__q::before {
  content: "";
  position: relative;
  right: -6px;
  width: 10px;
  height: 2px;
  background: #131313;
  order: 2;
}
.mm-faq__item .mm-faq__q span { flex: 1; }
.mm-faq__a {
  color: #5a5a72;
  padding-top: 10px;
}
.mm-faq__item[open] .mm-faq__q::before { transform: rotate(90deg); }

.mm-sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  display: none;
  gap: 8px;
  padding: 10px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 -6px 18px rgba(0,0,0,.08);
  z-index: 999;
}
.mm-sticky-cta__btn {
  flex: 1 1 0;
  border: 1px solid #111;
  border-radius: 12px;
  padding: 12px 14px;
  text-align: center;
  font-weight: 700;
  background: #fff;
  color: #111;
  text-decoration: none;
}
.mm-sticky-cta__btn--primary {
  background: #38a3f3;
  border-color: #38a3f3;
  color: #fff;
  max-width: 50%;
    margin-left: auto;
}
.mm-steps__wrap {
    display: flex
;
    flex-wrap: wrap;
    flex-direction: row;
    align-content: center;
    justify-content: space-between;
    gap: 20px;
}
.mm-step {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: 12px;
    padding: 28px;
    position: relative;
    flex: 1 1 100%;
    max-width: 545px;
}
.mm-step__badge {
    position: absolute;
    top: 0px;
    left: 0;
    background-color: #38a3f3;
    border-radius: 12px 0px;
    width: 30px;
    height: 30px;
    color: white;
    text-align: center;
    font-weight: bold;
    font-size: 18px;
}
/* Контейнер и сетка */
.lead-form .wpcf7-form {
  display: grid;
  gap: 12px;
  text-transform: none;
  font-weight: unset;
  letter-spacing: unset;
  font-size: unset;
}
.mm-form {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    padding: 28px;
    gap: 20px;
    border: 1px solid #E7E4F5;
    border-radius: 12px;
    background: #F3F1FF;
    box-shadow: 0 8px 24px rgba(22, 13, 61, .06);
    overflow: hidden;
}
.mm-form h2{
    width: 100%;
    margin: 0;
}
.mm-form textarea{
    flex: 1 1 47%;
    height: 220px;
    min-width: 300px;
    cursor: pointer;
    padding: 12px 27px 14px;
    border-radius: 12px;
    display: inline-block;
    font-weight: 700;
    font-size: 16px;
    border: none;
}
.mm-form-right {
    display: flex;
    flex-direction: column;
    height: 220px;
    gap: 18px;
    flex: 1 1 47%;
    flex-wrap: nowrap;
    justify-content: space-around;
}
.mm-form input {
    cursor: pointer;
    padding: 12px 27px 14px;
    border-radius: 12px;
    display: inline-block;
    font-weight: 700;
    font-size: 16px;
    border: none;
}
/* Поля */
.lead-form .wpcf7-form input[type=text],
.lead-form .wpcf7-form input[type=tel],
.lead-form .wpcf7-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #e2e2e2;
  border-radius: 12px;
  outline: 0;
  font: inherit;
  line-height: 1.4;
  background: #fff;
}

.lead-form .wpcf7-form textarea {
  min-height: 110px;
  resize: vertical;
}

.lead-form .wpcf7-form input::placeholder,
.lead-form .wpcf7-form textarea::placeholder {
  opacity: .6;
}

/* Фокус / невалидные поля */
.lead-form .wpcf7-form input:focus,
.lead-form .wpcf7-form textarea:focus {
  border-color: #bdbdbd;
}

.lead-form .wpcf7-form .wpcf7-not-valid,
.lead-form .wpcf7-form [aria-invalid="true"] {
  border-color: #e55353;
}

/* Сообщения формы */
.lead-form .wpcf7-form .wpcf7-response-output {
  margin: 6px 0 0;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 14px;
  border: 1px solid transparent;
}

/* Статусы сообщений */
.lead-form .wpcf7-form .wpcf7-response-output.wpcf7-validation-errors { 
  border-color: #e55353;
}

.lead-form .wpcf7-form .wpcf7-response-output.wpcf7-mail-sent-ok {
  border-color: #2eb85c;
}

.lead-form .wpcf7-form .wpcf7-response-output.wpcf7-mail-sent-ng,
.lead-form .wpcf7-form .wpcf7-response-output.wpcf7-spam-blocked,
.lead-form .wpcf7-form .wpcf7-response-output.wpcf7-aborted {
  border-color: #f9b115;
}

/* === Units: фильтры + таблица (финальная версия) === */

/* Контейнер фильтров */
.mm-units-filters {
  padding: 16px;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(24,33,77,.06);
  margin-bottom: 20px;
}

/* Ряд фильтров */
.mm-units-filters__row {
  display: grid;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  gap: 12px 16px;
  align-items: end;
}

/* Подписи и поля */
.mm-units-filters label {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px;
  align-items: center;
  font-weight: 600;
  color: #343443;
}

.mm-units-filters input[type="text"] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #e2e2e2;
  border-radius: 12px;
  background: #fff;
  line-height: 1.3;
  font: inherit;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.mm-units-filters input[type="text"]:focus {
  border-color: #bdbdbd;
  box-shadow: 0 0 0 3px rgba(56,163,243,.15);
  outline: 0;
}

/* Кнопки фильтров */
.mm-units-filters .mm-btn {
  height: 42px;
  padding: 12px 16px;
}

/* Disabled */
.mm-units-filters .mm-btn:disabled,
.mm-units-filters .mm-btn[disabled],
.mm-units-empty .mm-btn:disabled,
.mm-units-empty .mm-btn[disabled] {
  opacity: .5;
  cursor: not-allowed;
  background: #ccc;
  border-color: #ccc;
  color: #666;
  pointer-events: none;
}

/* Таблица */
.mm-units-table__table {
  width: 100%;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(24,33,77,.06);
}

/* Заголовки */
.mm-units-table__table thead th {
  text-align: left;
  padding: 12px 12px;
  font-weight: 800;
  font-size: 14px;
  background: #f6f7fb;
  border-bottom: 1px solid #e9e9ef;
  white-space: nowrap;
  text-align: center;
  letter-spacing: normal;
}

/* Сортируемые заголовки */
.mm-units-table__table th.sortable {
  cursor: pointer;
  user-select: none;
  position: relative;
}
.mm-units-table__table th.sortable:focus {
  outline: 0;
  box-shadow: inset 0 -3px 0 #38a3f3;
}
.mm-units-table__table th.sortable::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 0; height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  transform: translateY(-50%);
  opacity: .35;
}
.mm-units-table__table th.sortable[data-order="ASC"]::after {
  border-bottom: 7px solid #111;
}
.mm-units-table__table th.sortable[data-order="DESC"]::after {
  border-top: 7px solid #111;
}

/* Ячейки */
.mm-units-table__table tbody td {
  padding: 6px 0px;
    font-size: 14px;
    vertical-align: middle;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    border: none;
    text-align: center;
}

/* Зебра + hover */
.mm-units-table__table tbody tr:nth-child(odd) { background: #fff; }
.mm-units-table__table tbody tr:nth-child(even){ background: #fafbff; }
.mm-units-table__row { transition: background .12s ease, transform .02s ease; }
.mm-units-table__row:hover { background: #eef6ff; }
.mm-units-table__row:focus-within {
  outline: 0;
  box-shadow: inset 0 0 0 2px rgba(56,163,243,.25);
}

/* План */
.mm-units-table__table td.col-plan img {
  display: block;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
}
.mm-units-table__table td.col-action .mm-btn {
  padding: 8px 10px;
  border-radius: 12px;
}

/* Заглушка */
.mm-units-empty { margin: 16px 0; }
.mm-units-empty__box { padding: 20px 22px; }

/* Показать ещё */
.mm-units-loadwrap {
  margin-top: 12px;
  text-align: center;
}
.mm-units-loadwrap .mm-btn { min-width: 220px; }
/* Убираем бордеры у ячеек */
/* Зебра */
.mm-units-table__table tbody tr:nth-child(odd) {
  background: #fff;
}
.mm-units-table__table tbody tr:nth-child(even) {
  background: #f7f7f7;
}

/* Добавляем боковые разделители только для белых строк */
.mm-units-table__table tbody tr:nth-child(odd) td {
  border-right: 2px solid #f7f7f7;
}
.mm-units-table__table tbody tr:nth-child(odd) td:last-child {
  border-right: none; /* у последней ячейки убираем */
}

/* Hover */
.mm-units-table__table tbody tr:hover {
  background: #ededed;
}
.mm-text { overflow: hidden; max-height: 230px; transition: max-height .3s ease;} /* сколько показывать в свернутом виде */
.mm-text.is-expanded { max-height: none; }

.mm-text__controls { display: flex; justify-content: flex-end; margin-top: 10px; }

/* опционально: лёгкий градиент-подсказка */
.mm-text.is-collapsed { position: relative; }
.mm-text.is-collapsed::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 100px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), #fff 85%);
  pointer-events: none;
}





/* Двухстрочная цена BYN (крупно) + EUR (подпись) */
.mm-price {
      display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.1;
    flex-wrap: nowrap;
    justify-content: center;
}
.mm-price__main {
  font-weight: bold;
}
.mm-price__sub {
  margin-top: 4px;
  font-size: 13px;
  color: #999;
}
/* === Dual-range фильтры (UI) === */
.mm-range {
  display: grid; gap: 8px; padding: 10px;
}
.mm-range__labels { font-weight: 700; color: #343443; }
.mm-range__inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: center; }
.mm-range__inputs label { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: center; color: #343443; }
.mm-range__inputs input[type="text"] {
  width: 100%; padding: 10px 12px; border: 1px solid #e2e2e2; border-radius: 12px; background:#fff; font: inherit;
}
.mm-range__unit { color: #8A8DAA; font-size: 14px; }

.mm-range__track { position: relative; height: 36px; display: grid; align-items: center; }
.mm-range__track::before {
  content:""; position:absolute; left:0; right:0; height:4px; background:#d8e6f9; border-radius:999px;
}
.mm-range__track::after  {
  content:""; position:absolute; height:4px; background:#38a3f3; border-radius:999px;
  left: var(--from,0%); right: calc(100% - var(--to,100%));
}
.mm-range__track input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; background: none; position: absolute; left: 0; right: 0;
}
.mm-range__track input[type="range"]::-webkit-slider-runnable-track { height: 4px; background: transparent; }
.mm-range__track input[type="range"]::-moz-range-track            { height: 4px; background: transparent; }

.mm-range__track input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 12px;
  background: #38a3f3;
  border: 2px solid #38a3f3;
  box-shadow: 0 0 0 4px rgba(15,122,84,.15);
  margin-top: -7px;
  cursor: pointer;
}

.mm-range__track input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 12px;
  background: #38a3f3;
  border: 2px solid #38a3f3;
  box-shadow: 0 0 0 4px rgba(15,122,84,.15);
  cursor: pointer;
}

@media (max-width: 992px) { .mm-range__inputs { grid-template-columns: 1fr; } }

/* Адаптив */
@media (max-width: 1200px) {
  .mm-units-filters__row { grid-template-columns: repeat(3, minmax(220px,1fr)); }
  .mm-steps__wrap {justify-content: space-around;}
  .mm-step {max-width: 100%;}
}
@media (min-width: 992px){
    .hide-mobile{display: block;}
    .show-mobile{display: none;}
}
@media (max-width: 992px) {
  .mm-units-filters__row { grid-template-columns: repeat(2, minmax(220px,1fr)); }
  .mm-range__track {display: none;}
  .col-house{display: none;}
  .hide-mobile{display: none;}
  .show-mobile{display: block;}
  .mm-units-table__table thead th {
      padding: 12px 0px;
  }
}
@media (max-width: 768px) {
  /* скрываем второстепенные столбцы */
  .mm-units-table__table td.col-house,
  .mm-units-table__table th.col-house,
  .mm-units-table__table td.col-number,
  .mm-units-table__table th.col-number,
  .mm-units-table__table td.col-block,
  .mm-units-table__table th.col-block,
  .mm-units-table__table td.col-plan,
  .mm-units-table__table th.col-plan,
  .mm-units-table__table td.col-price-eur,
  .mm-units-table__table th.col-price-eur,
  .mm-units-table__table td.col-price-m2-byn,
  .mm-units-table__table th.col-price-m2-byn,
  .mm-units-table__table td.col-price-byn,
  .mm-units-table__table th.col-price-byn
  { display: none; }
  
}
@media (max-width: 600px) {
  .mm-units-filters__row { grid-template-columns: 1fr; }
  .mm-units-filters { padding: 12px; }
}


/* Объединенные медиа-запросы */
@media (min-width: 768px) {
  .mm-hero__bg--mobile { display: none; }
  .mm-hero__bg--desktop { display: block; }
}

@media (max-width: 1024px) {
  .mm-units__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mm-news__row { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 992px) {
  .mm-features--split .mm-features__grid { grid-template-columns: 1fr; }
  .mm-agent-card { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .mm-units__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mm-news__row { grid-template-columns: repeat(2, 1fr); }
  .mm-sticky-cta { display: flex; }
  .mm-sticky-cta > .footer-social-icons {
    font-size: 28px;
    display: flex;
    gap: 15px;
    }
    .header__social > .footer-social-icons {display: none !important;}
    .header__social-text a {display:none;}
    .site-branding, .header-right-wrapper{line-height: 45px !important;}
    .site-branding .site-logo-div{line-height: 45px !important;}
    .site-branding .no-logo-img.has-desc, .site-branding .has-logo-img{line-height: 45px !important;}
}

@media (max-width: 600px) {
  .mm-agent-card__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mm-agent-card__footer {
    flex-direction: column;
    align-items: stretch;
  }
  .mm-agent-card__phone { align-self: flex-start; }
}

@media (max-width: 480px) {
  .mm-units__list { grid-template-columns: 1fr; }
  .mm-news__row { grid-template-columns: 1fr; }
}

@media (max-width: 550px) {
  .mm-units-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
  .mm-units-table-wrap::-webkit-scrollbar { height: 8px; } /* Chrome/Safari */
  .mm-units-table-wrap::-webkit-scrollbar-thumb { background: rgba(0,0,0,.15); border-radius: 999px; }
  .mm-units-table__table {
    min-width: 440px;
    table-layout: auto;
    border-collapse: separate;
  }
  .mm-units-table-wrap {
    position: relative;
    mask-image: linear-gradient(to right, black 85%, transparent);
  }
  .mm-units-table-wrap.is-end {
    mask-image: none;
  }
  .mm-units-table-wrap.is-end::after {
    opacity: 0;
  }
}