.uc-residence .t774__wrapper{border:1px solid #D0B275 !important;}
.uc-communication .t490 .t-section__title{margin-bottom:10px !important;}
.uc-communication .t490 .t-section__topwrapper{margin-bottom:50px !important;}
.uc-communication .t490__img{margin-bottom:0px;}
.uc-residence .t774 .t-card__btn{width:100% !important;}

.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;  /* Preferred icon size */
  display: inline-block;
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;
}

@media only screen and (orientation: portrait) and (min-device-width: 320px) and (max-device-width: 568px) and (-webkit-min-device-pixel-ratio: 2) {
.t995__inner-wrapper{padding:30px 0 !important;}
}

.tmenu-mobile__imglogo{width:110px !important;}
.tmenu-mobile__container{padding:10px 20px !important;}

/* ===== DESKTOP ≥980px ===== */
@media (min-width:980px){
  /* H1 (T120) — крупный */
  .uc-mc-h1 .t120__title{
    font-size:46px !important;
    line-height:1.2 !important;
    font-weight:700 !important;
    letter-spacing:.01em !important;
    margin-bottom:10px !important;
  }
  .uc-mc-h1 .t120__descr{
    font-size:20px !important;
    line-height:1.55 !important;
  }

  /* H2 (T004) — меньше H1 */
  .uc-mc-h2 .t-heading{
    font-size:24px !important;
    line-height:1.4 !important;
    font-weight:600 !important;
    margin-bottom:8px !important;
  }

  /* Межабзацные интервалы + ширина колонки */
  .uc-mc-txt .t-text p{ margin:0 0 12px !important; }
  .uc-mc-h1 .t-descr, .uc-mc-h1 .t-text,
  .uc-mc-h2 .t-descr, .uc-mc-h2 .t-text,
  .uc-mc-txt .t-descr, .uc-mc-txt .t-text{
    max-width:66ch !important; hyphens:auto;
  }
}
/* Сблизить лид и H2: уменьшаем верхний паддинг секции с подзаголовком */
@media (min-width:980px){
  .uc-mc-h2 .t-container, .uc-mc-h2 .t-row, .uc-mc-h2 .t-col{
    padding-top:12px !important; /* было 14 */
  }
  /* Чуть больше выдох перед фото */
  .uc-mc-txt .t-container, .uc-mc-txt .t-row, .uc-mc-txt .t-col{
    padding-bottom:32px !important; /* было 36 — можно 28–32 по вкусу */
  }
}

/* Лид: капля контраста */
.uc-mc-h1 .t120__descr{ color: rgba(26,26,26,.9) !important; }

/* (Опционально) на ультра-широких H1=48px */
@media (min-width:1400px){
  .uc-mc-h1 .t120__title{ font-size:48px !important; }
}



/* ===== MOBILE 980px ===== */
@media (max-width:979px){
  .uc-mc-h1 .t120__title{
    font-size:34px !important;  /* при желании 32–36 */
    line-height:1.25 !important;
    font-weight:700 !important;
    letter-spacing:.01em !important;
    margin-bottom:10px !important;
  }
  .uc-mc-h1 .t120__descr{
    font-size:17px !important;
    line-height:1.6 !important;
  }

  .uc-mc-h2 .t-heading{
    font-size:20px !important;
    line-height:1.4 !important;
    font-weight:600 !important;
    margin-bottom:8px !important;
  }

  .uc-mc-txt .t-text, .uc-mc-txt .t-descr, .uc-mc-txt p{
    font-size:16.8px !important;
    line-height:1.65 !important;
  }
  .uc-mc-txt .t-text p{ margin:0 0 14px !important; }

  /* На мобиле колонку не сужаем */
  .uc-mc-h1 .t-text, .uc-mc-h1 .t-descr,
  .uc-mc-h2 .t-text, .uc-mc-h2 .t-descr,
  .uc-mc-txt .t-text, .uc-mc-txt .t-descr{
    max-width:100% !important;
  }
}

/* Мобильная подправка ритма */
@media (max-width: 979px){
  /* H1 — оставляем крупным, но без лишнего “воздуха” */
  .uc-mc-h1 .t120__title{
    font-size: 32px !important;       /* если хочется ещё крупнее — 34px */
    line-height: 1.25 !important;
    letter-spacing: .005em !important;
    margin-bottom: 8px !important;    /* было 10 */
  }
  .uc-mc-h1 .t120__descr{
    line-height: 1.6 !important;
    margin-top: 6px !important;
  }

  /* H2 — на полшага ниже лида */
  .uc-mc-h2 .t-heading{
    font-size: 19px !important;
    line-height: 1.4 !important;
    font-weight: 600 !important;
    margin: 12px 0 8px !important;    /* ближе к лиду */
  }

  /* Текст — ровные интервалы */
  .uc-mc-txt .t-text, .uc-mc-txt .t-descr, .uc-mc-txt p{
    font-size: 16.8px !important;
    line-height: 1.65 !important;
  }
  .uc-mc-txt .t-text p{ margin: 0 0 13px !important; } /* было 14 */

  /* Небольшой выдох перед изображением/кнопкой */
  .uc-mc-txt .t-container, .uc-mc-txt .t-row, .uc-mc-txt .t-col{
    padding-bottom: 24px !important;
  }
}

/* ДЕСKTOP */
@media (min-width:980px){
  /* Лид под H1 — заметнее */
  .uc-mc-h1 .t120__descr{
    font-size: 20px !important;      /* было 17–18 */
    line-height: 1.55 !important;
    color: rgba(26,26,26,.88) !important;
    letter-spacing: .01em !important;
  }
  /* Основной текст — спокойнее */
  .uc-mc-txt .t-text, .uc-mc-txt .t-descr, .uc-mc-txt p{
    font-size: 17px !important;
    line-height: 1.68 !important;
    color: #1a1a1a !important;
    letter-spacing: 0 !important;
  }
}

/* МОБИЛЬНЫЕ */
@media (max-width:979px){
  .uc-mc-h1 .t120__descr{
    font-size: 17.5px !important;
    line-height: 1.6 !important;
    color: rgba(26,26,26,.9) !important;
    letter-spacing: .005em !important;
  }
  .uc-mc-txt .t-text, .uc-mc-txt .t-descr, .uc-mc-txt p{
    font-size: 16.6px !important;
    line-height: 1.65 !important;
  }
}




/* === ЕДИНАЯ ШИРИНА КОЛОНКИ === */
:root{
  /* Поставь нужную ширину «колонки» на десктопе */
  --mc-col-width: 760px;   /* варианты: 720, 760, 800 */
}

@media (min-width: 980px){

  

  /* 2) Блок кнопок */
  #mc-links{
    max-width: var(--mc-col-width) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* 3) Текстовые блоки Tilda
     Добавь классу нужного блока (в «Block CSS class name») значение: mc-narrow */
  .mc-narrow .t-container,
  .mc-narrow .t-container_100,
  .mc-narrow .t-col{
    max-width: var(--mc-col-width) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}





/* === Bitrix24: выровнять ссылку "Сообщить о нарушении" === */

/* 1) Контейнер футера формы — растянуть и очистить обтекание */
.b24-form .b24-form-footer{
  width:100% !important;
  max-width:100% !important;
  display:block !important;
  clear:both !important;
  margin-top:8px !important;
  text-align:left !important;
  box-sizing:border-box !important;
}

/* 2) Сама служебная ссылка — убрать float/right и поставить слева, строкой */
.b24-form .b24-form-footer a,
.b24-form [class*="abuse"],
.b24-form [href*="abuse"],
.b24-form [href*="narush"],          /* на случай русск. версии */
.b24-form [href*="complain"]{
  float:none !important;
  display:inline-block !important;
  text-align:left !important;
  margin:6px 0 0 !important;
  white-space:nowrap;                 /* чтобы не ломалась на буквы */
}

/* 3) На всякий случай — кнопка остаётся на всю ширину */
@media (min-width:980px){
  .b24-form .b24-form-btn{
    width:100% !important;
    white-space:nowrap !important;
  }
}



/* Ровный правый край + переносы СОВЕРХУ БЛОКА uc-mc-txt */
.uc-mc-txt,
.uc-mc-txt *{
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
}

/* Выравнивание по ширине для разных текстовых контейнеров Тильды */
.uc-mc-txt .t-text,
.uc-mc-txt .t-descr,
.uc-mc-txt .t-name,
.uc-mc-txt .t-title,
.uc-mc-txt p,
.uc-mc-txt li{
  text-align: justify !important;
  text-justify: inter-word;        /* распределяем пробелы */
  overflow-wrap: anywhere;         /* на всякий случай */
  word-break: normal;
  text-align-last: left !important;/* последняя строка не тянется */
}

/* ЕСЛИ раньше добавляли мобильный reset — отключите его или переопределите: */
/*
@media (max-width: 979px){
  .uc-mc-txt .t-text p{ text-align: left; }
}
*/


/* Кнопка в GL19 (блок с классом uc-wa) — текст + цветная иконка WhatsApp справа */
.uc-wa [href="#wa-widget"].t-btn,
.uc-wa [data-href="#wa-widget"].t-btn,
.uc-wa [data-btnhref="#wa-widget"].t-btn,
.uc-wa [href="#wa-widget"].t-card__btn,
.uc-wa [data-href="#wa-widget"].t-card__btn,
.uc-wa [data-btnhref="#wa-widget"].t-card__btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;         /* расстояние между текстом и иконкой */
  padding-right: 24px;
  white-space: nowrap;
}

/* Цветная иконка через background-image (строго по центру) */
.uc-wa [href="#wa-widget"].t-btn::after,
.uc-wa [data-href="#wa-widget"].t-btn::after,
.uc-wa [data-btnhref="#wa-widget"].t-btn::after,
.uc-wa [href="#wa-widget"].t-card__btn::after,
.uc-wa [data-href="#wa-widget"].t-card__btn::after,
.uc-wa [data-btnhref="#wa-widget"].t-card__btn::after{
  content: "";
  display: inline-block;
  width: 24px;
  height: 24px;
  background-image: url("https://event.millcreek.ru/icon/whatsapp.svg");
  background-repeat: no-repeat;
  background-position: center;  /* центрирование по контейнеру */
  background-size: contain;     /* целиком умещаем внутри 24×24 */
}

/* Мобильная подстройка */
@media (max-width: 640px){
  .uc-wa [href="#wa-widget"].t-btn,
  .uc-wa [data-href="#wa-widget"].t-btn,
  .uc-wa [data-btnhref="#wa-widget"].t-btn,
  .uc-wa [href="#wa-widget"].t-card__btn,
  .uc-wa [data-href="#wa-widget"].t-card__btn,
  .uc-wa [data-btnhref="#wa-widget"].t-card__btn{
    gap: 10px;
    padding-right: 20px;
  }
  .uc-wa [href="#wa-widget"].t-btn::after,
  .uc-wa [data-href="#wa-widget"].t-btn::after,
  .uc-wa [data-btnhref="#wa-widget"].t-btn::after,
  .uc-wa [href="#wa-widget"].t-card__btn::after,
  .uc-wa [data-href="#wa-widget"].t-card__btn::after,
  .uc-wa [data-btnhref="#wa-widget"].t-card__btn::after{
    width: 20px;
    height: 20px;
  }
}



/* мини-кнопка WhatsApp под счётчиками */
.uc-wa-mini .t-btn,
.uc-wa-mini .t-card__btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  padding:14px 22px;
  background:#D4AF37;           /* фирменное золото */
  color:#fff;
  border:none;
  border-radius:8px;
  box-shadow:0 6px 18px rgba(0,0,0,.12);
  transition:transform .12s ease, box-shadow .12s ease, background .15s ease;
}
.uc-wa-mini .t-btn:hover,
.uc-wa-mini .t-card__btn:hover{
  background:#b4934f;           /* тёплее при ховере */
  transform:translateY(-1px);
  box-shadow:0 10px 22px rgba(0,0,0,.16);
}
/* иконка WhatsApp (цветная) */
.uc-wa-mini [href="#wa-widget"].t-btn::after,
.uc-wa-mini [data-href="#wa-widget"].t-btn::after,
.uc-wa-mini [href="#wa-widget"].t-card__btn::after,
.uc-wa-mini [data-href="#wa-widget"].t-card__btn::after{
  content:"";
  display:inline-block;
  width:22px;height:22px;
  background-image:url("https://event.millcreek.ru/icon/whatsapp.svg");
  background-repeat:no-repeat;
  background-position:center;
  background-size:contain;
}

/* мобильная адаптация */
@media (max-width: 768px){
  .uc-wa-mini .t-btn,
  .uc-wa-mini .t-card__btn{
    width:100%;
    padding:16px 20px;
    font-size:16px;
  }
}

/* Иконка в 2 раза больше на десктопе */
.uc-wa [href="#wa-widget"].t-btn::after,
.uc-wa [data-href="#wa-widget"].t-btn::after,
.uc-wa [href="#wa-widget"].t-card__btn::after,
.uc-wa [data-href="#wa-widget"].t-card__btn::after{
  width: 52px !important;
  height: 52px !important;
}

/* Чуть увеличим расстояние между текстом и иконкой */
.uc-wa [href="#wa-widget"].t-btn,
.uc-wa [data-href="#wa-widget"].t-btn,
.uc-wa [href="#wa-widget"].t-card__btn,
.uc-wa [data-href="#wa-widget"].t-card__btn{
  gap: 18px !important;
}

/* На мобиле — не столь огромная: ~1.5x, чтобы не ломать строку */
@media (max-width: 640px){
  .uc-wa [href="#wa-widget"].t-btn::after,
  .uc-wa [data-href="#wa-widget"].t-btn::after,
  .uc-wa [href="#wa-widget"].t-card__btn::after,
  .uc-wa [data-href="#wa-widget"].t-card__btn::after{
    width: 40px !important;
    height: 40px !important;
  }
  .uc-wa [href="#wa-widget"].t-btn,
  .uc-wa [data-href="#wa-widget"].t-btn,
  .uc-wa [href="#wa-widget"].t-card__btn,
  .uc-wa [data-href="#wa-widget"].t-card__btn{
    gap: 16px !important;
  }
}


.uc-wa-mini [href="#wa-widget"].t-btn::after,
.uc-wa-mini [data-href="#wa-widget"].t-btn::after,
.uc-wa-mini [href="#wa-widget"].t-card__btn::after,
.uc-wa-mini [data-href="#wa-widget"].t-card__btn::after{
  width: 48px !important;
  height: 48px !important;
}
.uc-wa-mini .t-btn,
.uc-wa-mini .t-card__btn{ gap: 16px !important; }

@media (max-width: 640px){
  .uc-wa-mini [href="#wa-widget"].t-btn::after,
  .uc-wa-mini [data-href="#wa-widget"].t-btn::after,
  .uc-wa-mini [href="#wa-widget"].t-card__btn::after,
  .uc-wa-mini [data-href="#wa-widget"].t-card__btn::after{
    width: 36px !important;
    height: 36px !important;
  }
}
