.main-wrapper .main-buttons a {
	padding: 0.2em 2em !important;
}
.start-block .right-bg {
	background-size: 800px !important;
	height: auto;
}
.main-directions li a {
	/* zoom: 0.8;  */
}
.start-block .main-benefits .contracts:before {
	background-image: url(../images/main-benefits-sprite.png);
}
/*.main-directions li a i:before {
	zoom: 0.85;
}*/
@media only screen and (min-width: 750px) {
	.start-block .main-benefits .official:before {background-size: 314px;}
	.start-block .main-benefits .contracts:before {background-size: 314px;}
	.main-directions li:last-child {margin: unset;}
}
/* @media only screen and (max-width: 915px){ */

/*
20241220
@media only screen and (max-width: 960px){
	.main-wrapper.main-page .start-block {
		zoom: 0.8;
	}
}
*/
/* 20241220 */

header .logo::before {
  background: url(/images/logo/ses-krugl2.png);
}

.footer-container {
	padding: 16px 0 0 0;
}
.hp_text {
	margin-right: 12px;
	min-width: 120px;
	font-weight: bold;
	font-size: 16px;
	color: #3A3A3A;
	letter-spacing: 0.2px;
}
.hp-number {
	font-weight: bold;
	font-size: 21px;
	letter-spacing: 0px;
}
.tel_row {
   	display: flex;
   	flex-direction: column;
   	line-height: 32px;
}

.fc_phones-col {
    display: flex;
    flex-direction: column;
    max-width: 285px;
    justify-content: center;
    /*flex-direction: row;*/
}
.fc_phone-row {
    display: flex;
    flex-direction: row;
	margin: 0 12px;
}
.fc_phone {
	color: white;
	margin: 12px;
    font-size: 16px;
}

.fc_phone-text {
	color: white;
	margin: 0 4px 0 0;
    font-size: 16px !important;
	min-width: 130px;
}
.fc_phone-num {
	color: white;
	margin: 0 0 0 0;
    font-size: 14px !important;
}
.filials {
    display: block;
	text-align: center;
    font-size: 19px;
    font-weight: 600;
    color: white;
}
.main-benefits {
    margin-left: 40px;
    display: flex !important;
    justify-content: center !important;
    /* flex-direction: column !important; */
	flex-wrap: wrap !important; /* flex-wrap: nowrap; */
}


header.float .tel {
    top: -2px;
    left: 285px;
    font-size: 23px;
}
/*.header-menu */
header.float nav ul li {
    font-size: 15px;
}

.header-menu {
    position: absolute;
    right: 0;
    bottom: 40px;
}

.menu-top {
    top: 150px;
}

@media only screen and (max-width: 1200px) {
    .menu-top {
        top: 120px;
    }
	.right-bg {
		display: none;
	} 
  	/*
    .main-wrapper {
    	padding: 0;
    	margin: 0;
    	width: 120%; 
    }

    .footer {
    	padding: 0;
    	margin: 0;
    }
    .wrapper {
    	padding: 0;
    	margin: 0;
    	 width: 100%; 
    }
    */
    .wrapper {
    	padding: 0;
    	margin: 0;
    }
}

@media only screen and (max-width: 990px) {
	a.header-phone-number:before {
		display: none;
	}
}

@media (max-width: 576px) {
	header p .tel {
		width: 80%;
	}
    .tel_row {
       	display: flex;
       	flex-direction: column;
		justify-content: space-between;
    }
}

/*   0 .. 480px */
@media only screen and (min-width: 0) and (max-width:480px) {
    .filials {
        padding: 0;
        margin: 10px 0 10px 0;
    }
    .tel {
    	display: flex;
    	flex-direction: column;
    	margin-top: 0 !important;
		justify-content: space-between;
    }
    .tel_row {
       	display: flex;
       	flex-direction: column;
		justify-content: space-between;
    }
    .hp_text {
    	margin: 0;
    }
    .hp-number {
    	margin: 0;
    }
    .fc_phones-col {
    	margin: 0 !important;
    	justify-content: center;
	    max-width: 100%;
    }
    .fc_phones-cols {
    	margin: 0;
    	padding: 0;
    	width: 100%;
    	flex-direction: row;
    }
    .fc_phone-row {
        justify-content: center;
    }
    .fc_phone-text {
    	min-width: 148px;
        font-size: 18px !important;
    }
    .fc_phone-num {
        font-size: 16px !important;
    }
}
/*
@media only screen and (min-width: 481px) {
*/
@media only screen and (min-width: 768px) {
    .fc_phones-cols {
    	justify-content: center;
    }
    .tel {
      	display: flex;
		justify-content: space-between;
    	flex-direction: column;
    	margin-top: 8px !important; 
    }
   .tel_row {
      	display: flex;
      	flex-direction: row;
		justify-content: space-between;
   }
}


.main-wrapper.main-page .start-block {
	zoom: 1;
}
@media only screen and (max-width: 576px){
    .tel {
      	display: flex;
		justify-content: space-between;
    	flex-direction: column;
    	margin-top: 8px !important; 
    }
   .tel_row {
      	display: flex;
      	flex-direction: row;
		justify-content: space-between;
		margin: 0 15%;
   }
}
@media only screen and (max-width: 460px){
   .tel_row {
      	display: flex;
      	flex-direction: row;
		justify-content: space-between;
		margin: 0 5%;
   }
   .main-wrapper.main-page .start-block {
    	zoom: 0.8;
    	margin-lift: 10px;
   }
}
@media only screen and (max-width: 360px){
   .tel_row {
      	display: flex;
      	flex-direction: column;
		justify-content: space-between;
		margin: 0 0;
   }
   .main-wrapper.main-page .start-block {
    	zoom: 0.75;
    	margin-lift: 5px;
   }
}
@media only screen and (max-width: 319px){
	.main-wrapper.main-page .start-block {
		zoom: 0.6;
		margin-lift: 4px;
	}
}

/* 20250409 */   
.footer-licence {
	/* display: inline !important; */ 
	line-height: 16px;
  	font-size: 14px !important;
  	margin: 0 !important;
}
.footer-licence__bold {
	display: inline !important;
  	font-weight: 600 !important;
  	font-size: 14px !important;
}
@media only screen and (max-width: 480px){
	.footer-licence {
		line-height: 13px;
		/* display:  !important; */
	  	font-size: 12px !important;
	}
    .footer-licence__bold {
      	font-weight: 600 !important;
      	font-size: 12px !important;
    }
}
/* 15042025 все изменения как v150425 */
a.header-phone-number:before {
	display: none;
}
/*
.header-container {
	width: 1400px;
}
.podval {
	max-width: 1400px;
}
.menu-top-container, .menu-top nav {
	width: 1400px;
}
ul.menu-top ul,.menu-top ul.menu ul {
	width: 1400px !important;
}
.slider-block {
	width: 1400px;
}
.content {
	width: 1400px;
}
.footer-container {
	width: 100%;
}
.scheme-images img {
	width: 1400px;
}
.comp-slider {
	width: 1400px;
}
.main-directions {
	width: 1400px;
}
header .header-top-container .header-top-container-items{
	max-width: 1400px;
}
.last-articles{
	max-width: 1400px;
}
.menu-top-container > ul.menu {
	width: 1220px;
}

*/
ul.menu-top ul, .menu-top ul.menu ul {
    width: 1410px !important;
}
.deeper-container {
    width: 105vw;
}
.menu-top ul.menu .deeper-container ul li a {
    width: 265px;
}
@media only screen and (max-width: 960px){
	.main-wrapper {
	    /* margin: -100px auto; */
	}
	.start-block {
	    padding-top: 1em;
	    margin-top: -38px;
    }
}

/* 20250723 Меню */
.menu-top a {
  	font-size: 13px;
}
.menu-top.float li a {
  	font-size: 13px;
}

.menu-top ul.menu-top ul li a, .menu-top ul.menu ul li a {
  	font-size: 13px;
}
.menu-top {
    top: 150px;
	height: 38px;
}
.menu-top.float li a {
  line-height: 28px;
  padding: 0 14px;
  /*font-size: 1.05em; */
}
.menu-top a {
  line-height: 30px;
}

.menu-top ul .item-266 a::before {
  content: '';
  background: unset;
}
.menu-top ul .item-266 a {
  padding: 4px 14px;
}
/* блеклость телефонов */
header .tel em {
  color: #919191; /* #c4c4c4; */
}
/* 20250813 Меню fix */
.menu-top ul.menu .deeper-container {
    top: 36px;
}
.menu-top.float ul.menu .deeper-container {
    top: 32px;
}

#to-top {
	box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}
.menu-top ul.menu .deeper-container ul li a:hover {
	color: #032762;
	/* background-color: #fff; 25092026 */
}
.menu-top ul.menu .deeper-container ul li:hover {
	/*background-color: #fff;  25092026 */
}
.menu-top ul.menu ul {
	/*background-color: #fff;  25092026 */
}
/*
.menu-top a:hover {
    border-top: 0;
    border-bottom: 0;
    background: #2c91d8;
}
*/
/* Кукисы */
/*.mobile-menu-block {
	z-index:2000;
}
#mobile-menu-button {
	position: relative;
	z-index:2000;
}
*/
.mobile-menu-block {
	z-index: 20;
}

/* FZ-152*/

/* Фикс меню и мелкие фиксы */
@media only screen and (max-width: 1050px) {
  	.main-block .menu-top, .header-menu {
    	display: none;
  	}
  	.header {
  		height: 112px;
  	}
  	.main-block {
	  margin-top: 92px;
	}
	/*
    .item-511 {
    	display: none;
    }
    */
   .tel_row {
      	display: flex;
      	flex-direction: row;
      	line-height: 32px;
		justify-content: center;
   }
}

@media only screen and (max-width: 750px) {
  	.main-block {
	  margin-top: 164px;
	}
}
.breadcrumbs {
	@media only screen and (min-width: 921px) {
		margin: 0px 0 10px 0;
	}
	@media only screen and (max-width: 920px) {
		margin: 20px 0 10px 0;
	}
}

.advantages {
  display: flex;
  flex-direction: row;
  justify-items: inherit;
  justify-content: space-evenly;
}
.mceContentBody .advantages img {
	@media only screen and (max-width: 1440px) {
  		padding: 0;
  		width: 210px;
  		height: 210px;
	}
	@media only screen and (max-width: 1024px) {
  		padding: 0;
  		width: 180px;
  		height: 180px;
	}
	@media only screen and (max-width: 800px) {
  		padding: 0;
  		width: 120px;
  		height: 120px;
	}
	@media only screen and (max-width: 640px) {
  		padding: 0;
  		width: 80px;
  		height: 80px;
	}
	@media only screen and (max-width: 360px) {
  		padding: 0;
  		width: 60px;
  		height: 60px;
	}
}
/* убераем баннеры на низких разрешениях */
.bannergroup {
	@media only screen and (max-width: 1440px) {
  		display: none;
	}
}
.last-articles {
	display: none;
}
.comp-slider {
  padding-top: 0px;
}

.content {
	width: 98%;
}

@media only screen and (min-width: 1400px) {
	.content {
  		width: 1400px;
	}
}

.contact-widget-container {
  bottom: 82px;
  right: 4px;
}
/* Исправление после маркетологов 2025 */
/*
header.float address {
    top: 0;
    right: 79%;
    right: 1135px; 
}
*/
/*
.header-container {
    width: 100%;
    min-width: 320px;
    margin: 0;
}
.breadcrumbs {
    margin: 0 0 0 0;
}
*/
/* Вынесено из страниц */
.content.content--two {
	max-width: 100%;
	width: 100%;
	padding: 0;
	margin: 0 auto;
	overflow: hidden;
}

.header-top-container-item {
    padding: 0 0 0 10px;
}
.copyright {
    padding: 0 0 0 10px;
}
.hero__wrapper {
	padding: 25px 0 25px 0;
	@media (max-width: 1921px) {
		padding: 25px 0 0px 0;
	}
}
.chose__wrapper {
	padding: 25px 0 25px 0;
	@media (max-width: 1921px) {
		padding: 25px 0 25px 0;
	}
}
.know__wrapper {
	padding: 0 0 50px 0;
	@media (max-width: 1921px) {
		padding: 0 0 50px 0;
	}
}
.metod__wrapper {
    padding: 0;
}
.fk_blue__wrapper {
	padding: 25px 0 30px 0;
	@media (max-width: 1921px) {
		padding: 25px 0 30px 0;
	}
}
.garant__wrapper {
	padding: 25px 0 30px 0;
	@media (max-width: 1921px) {
		padding: 25px 0 30px 0;
	}
}
.faq__wrapper {
	padding: 25px 0 30px 0;
	@media (max-width: 1921px) {
		padding: 25px 0 30px 0;
	}
}
.rev__wrapper {
	padding: 0 0 30px 0;
	@media (max-width: 1921px) {
		padding: 0 0 30px 0;
	}
}
.logo-footer {
    padding: 0 0 0 20px;
}
.logo-link {
    padding: 0 0 0 20px;
    width: 200px;
    height: 76px;
    background: url(/images/common-sprite2.png) no-repeat 0% 122% / 200px;
    font-size: 1.4em;
    display: block;
    margin: 0 0 1em;
    color: #fff;
}
.footer-container {
    width: 100%;
    max-width: 1440px;
}
.social-groups {
    margin: 7px 10px 0 18px;
}
.content.content--two {
	@media (max-width: 1024px) {
	    margin-top: -48px;
	}
}

/* Картинка id=24 */

@media screen and (max-width: 550px) {
    .team__image-mobile {
        aspect-ratio: unset;
        margin-top: unset;
    }
}
/* Правка первого шаблона */
.int__wrapper {
	justify-content: space-evenly;
}
.int__left {
	/* aspect-ratio: 420 / 500; */
	aspect-ratio: unset;
	/* max-height: 600px; */
	width: 35%;
}
.int__left img {
}

@media screen and (max-width: 1440px) {
    .int__left {
        width: 35%;
    }
}
@media screen and (max-width: 1024px) {
    .int__left {
        width: unset;
    }
}
/* Секция call-service */
.mceContentBody h2.call-service_item-title:after {
    content: none !important; /* или content: ""; */
    display: none !important; /* если нужно скрыть */
    background-color: none;
}

/*
.menu-top ul.menu .deeper-container ul li:hover {
    background-color: unset;
}

/* =====================================================================
   СТРАНИЦЫ УСЛУГ (.content--two) — минимальные правки
   ===================================================================== */

/* Скрыть H1 из заголовка материала Joomla (свой уже в hero) */
.content.content--two h1 {
	display: none;
}

/* Хлебные крошки и .custom по центру 1400px */
.content--two .breadcrumbs,
.content--two .custom {
	max-width: 1400px;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	padding-right: 10px;
	padding-left: 10px;
}

/* Обёртки SEO-блоков — по центру 1400px.
   Аккордеон внутри наследует стили FAQ. */
.content--two .seo-about {
	max-width: 1400px;
	width: 98%;
	margin: 0 auto;
	padding: 0 10px;
}

.content--two .seo-about__lead,
.content--two .seo-about__note {
	font-family: "PT Sans", sans-serif !important;
	font-size: 17px !important;
	line-height: 1.45 !important;
	color: #353535;
	margin: 0 0 24px !important;
}

.content--two .seo-about__note {
	margin-bottom: 0 !important;
}
/* =====================================================================
   Блок «С какими проблемами» (.blue__list1) — компактная раскладка.
   Работает на всех страницах .content--two: клопы, тараканы, кожееды.
   Перебивает .blue__item / .blue__image / .blue__text из general.css.
   ===================================================================== */
.content--two .blue__item {
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	gap: 14px;
	padding: 28px 20px;
}

.content--two .blue__item .blue__image {
	width: 64px;
	height: 64px;
	margin: 0;
	flex-shrink: 0;
}

.content--two .blue__item .blue__text {
	margin: 0 !important;
	font-size: 18px;
	line-height: 1.25;
	text-align: center;
}

@media screen and (max-width: 550px) {
	.content--two .blue__item {
		gap: 10px;
		padding: 20px 16px;
	}
	.content--two .blue__item .blue__image {
		width: 52px;
		height: 52px;
	}
	.content--two .blue__item .blue__text {
		font-size: 16px;
	}
}
/* Скрыть старую карусель «Нам доверяют» (.comp-slider)
   на всех страницах услуг с блоком .two.
   Работает для клопов, тараканов, кожеедов и всех будущих.
   Остальные страницы сайта не затрагиваются. */
.has-two-page .comp-slider {
    display: none !important;
    height: 0 !important;
    visibility: hidden !important;
    opacity: 0 !important;
}
/* Исправление иконок FAQ на странице услуг и цен */
.book .faq .accordion__icon img {
    background: transparent;
    border: none;
    border-radius: 0;
    margin: 0;
    padding: 7px;
}
/* Исправление ширины картинки в верхнем блоке вентиляции */
@media screen and (min-width: 1025px) {
    .content--two .int__wrapper {
        justify-content: space-between;
        gap: 40px;
    }

    .content--two .int__left {
        flex: 0 0 35%;
        width: 35%;
    }

    .content--two .int__right {
        flex: 1 1 0;
        min-width: 0;
    }
}


/* =========================================
   Вентиляция — иллюстрация поверх синей карточки
   ========================================= */

.content--two .know--vent .know__right {
    position: relative;
    overflow: hidden;
    min-height: 370px;
}

/* Текст и кнопка поверх иллюстрации */
.content--two .know--vent .know__info {
    position: relative;
    z-index: 2;
}

/* Иллюстрация не влияет на высоту карточки */
.content--two .know--vent .know__image {
    position: absolute;
    right: 10px;
    bottom: 0;
    width: 65%;
    height: 75%;
    margin: 0;
    padding: 0;
    pointer-events: none;
    z-index: 1;
}

.content--two .know--vent .know__image img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: contain;
    object-position: right bottom;
}

/* Кнопка остаётся поверх изображения */
.content--two .know--vent .blue-button--three {
    position: relative;
    z-index: 3;
}

/* Телефоны */
@media screen and (max-width: 550px) {
    .content--two .know--vent .know__right {
        min-height: 340px;
    }

    .content--two .know--vent .know__image {
        width: 75%;
        height: 65%;
        right: 0;
        bottom: 0;
    }
}


/* ===== Футер ООО «СЭС» — версия 3: типографика и пропорции ===== */
footer .footer-main {
  display: grid;
  grid-template-columns: 245px minmax(0, 1fr) 280px;
  column-gap: 32px;
  align-items: start;
  width: calc(100% - 48px);
  max-width: 1260px;
  margin: 0 auto;
  padding: 32px 0 22px;
  box-sizing: border-box;
}
footer .footer-main > * { min-width: 0; }
footer .footer-main__brand .custom,
footer .footer-main__contact .custom { margin: 0; }
footer .footer-main__brand .logo-footer,
footer .footer-main__brand .logo-link {
  max-width: 100%; box-sizing: border-box;
}
footer .footer-main__brand .logo-link { margin-bottom: 12px; }
footer .footer-main__services .footer-services {
  width: 100%; margin: 0; padding: 0; border: 0;
}
footer .footer-services__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 28px;
  row-gap: 17px;
  align-items: start;
  width: 100%; max-width: none;
  margin: 0; padding: 0; border: 0;
  box-sizing: border-box;
}
footer .footer-services__group { min-width: 0; text-align: left !important; }
/* Меняем местами дератизацию и услуги для организаций */
footer .footer-services__group:nth-child(2) { grid-column: 2; grid-row: 2; }
footer .footer-services__group:nth-child(4) { grid-column: 2; grid-row: 1; }
footer .footer-services__title {
  margin: 0 0 10px; padding: 0;
  color: #fff; font-size: 17px; font-weight: 700;
  line-height: 1.3; text-align: left !important;
}
footer .footer-services__title a,
footer .footer-services__title a:visited { color: #fff; text-decoration: none; }
footer .footer-services__title a:hover,
footer .footer-services__title a:focus-visible { color: #fff; text-decoration: underline; }
footer .footer-services__list {
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 7px; margin: 0; padding: 0; list-style: none;
  text-align: left !important;
}
footer .footer-services__list li {
  display: block; float: none; width: 100%;
  margin: 0; padding: 0; text-align: left !important;
}
footer .footer-services__list a {
  display: inline-block; width: auto; max-width: 100%;
  color: #e0edf8; font-size: 15px; font-weight: 400;
  line-height: 1.45; text-decoration: none;
  text-align: left !important; white-space: normal;
  word-spacing: normal; overflow-wrap: break-word;
}
footer .footer-services__list a:hover,
footer .footer-services__list a:focus-visible {
  color: #fff; text-decoration: underline;
}
footer .footer-main__contact {
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 15px; min-width: 0;
  padding-left: 24px;
  border-left: 1px solid rgba(255,255,255,.23);
}
footer .footer-main__contact::before {
  content: "Свяжитесь с нами";
  display: block; color: #dcecf8;
  font-size: 14px; font-weight: 600;
  line-height: 1.3; margin: 0 0 2px;
}
footer .footer-main__contact .contacts { position: static; margin: 0; }
footer .footer-main__contact .apex,
footer .footer-main__contact .social-groups { margin: 0; }
footer .footer-main__contact .contacts a[href^="tel:"],
footer .footer-main__contact .contacts .phone,
footer .footer-main__contact .contacts .tel { white-space: nowrap; }
footer .footer-main__company {
  width: calc(100% - 48px); max-width: 1260px;
  margin: 0 auto; padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,.22);
  border-bottom: 1px solid rgba(255,255,255,.22);
  box-sizing: border-box;
}
footer .footer-main__company ul.nav {
  display: flex; flex-wrap: wrap; gap: 10px 25px;
  margin: 0; padding: 0; list-style: none;
}
footer .footer-main__company ul.nav li { float: none; margin: 0; padding: 0; }
footer .footer-main__company ul.nav a {
  color: #e0edf8; font-size: 14px; text-decoration: none;
}
footer .footer-main__company ul.nav a:hover,
footer .footer-main__company ul.nav a:focus-visible {
  color: #fff; text-decoration: underline;
}
@media (max-width: 1180px) {
  footer .footer-main {
    grid-template-columns: 245px minmax(0, 1fr);
    gap: 28px;
  }
  footer .footer-main__contact {
    grid-column: 1 / -1;
    flex-direction: row; flex-wrap: wrap;
    align-items: center; gap: 18px 26px;
    padding: 18px 0 0;
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,.22);
  }
  footer .footer-main__contact::before { flex-basis: 100%; }
}
@media (max-width: 680px) {
  footer .footer-main {
    grid-template-columns: 1fr;
    gap: 25px; padding: 26px 0 22px;
  }
  footer .footer-main__contact {
    grid-column: auto;
    flex-direction: column; align-items: flex-start;
    gap: 14px;
  }
  footer .footer-services__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 20px; row-gap: 22px;
  }
  footer .footer-services__list a { font-size: 14px; }
  footer .footer-main__company ul.nav { gap: 12px 20px; }
}
@media (max-width: 400px) {
  footer .footer-services__inner { grid-template-columns: 1fr; }
  footer .footer-services__group:nth-child(2),
  footer .footer-services__group:nth-child(4) { grid-column: auto; grid-row: auto; }
  footer .footer-main__contact .contacts a[href^="tel:"] { white-space: normal; }
}

/* =====================================================
   ООО «СЭС»: мобильный футер v5 (только <= 680px)
   Десктопные правила v4 остаются без изменений.
   ===================================================== */
@media screen and (max-width: 680px) {
  footer .footer-main {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: calc(100% - 36px);
    max-width: 560px;
    margin: 0 auto;
    padding: 26px 0 18px;
    gap: 0;
  }

  /* Контакты вверху — один экземпляр существующего модуля */
  footer .footer-main__contact {
    order: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding: 0 0 22px;
    margin: 0 0 22px;
    gap: 10px;
    border-left: 0;
    border-top: 0;
    border-bottom: 1px solid rgba(255,255,255,.22);
    box-sizing: border-box;
    text-align: left;
  }
  footer .footer-main__contact::before {
    flex-basis: auto;
    font-size: 15px;
    margin: 0 0 2px;
  }
  footer .footer-main__contact .custom,
  footer .footer-main__contact .contacts,
  footer .footer-main__contact .apex {
    position: static;
    margin: 0;
    text-align: left;
    max-width: 100%;
  }
  footer .footer-main__contact .contacts a {
    max-width: 100%;
    box-sizing: border-box;
    overflow-wrap: anywhere;
  }
  footer .footer-main__contact .contacts a[href^="tel:"],
  footer .footer-main__contact .contacts .phone,
  footer .footer-main__contact .contacts .tel {
    white-space: normal;
  }
  footer .footer-main__contact .social-groups {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 10px 16px;
    width: 100%;
    margin: 8px 0 0;
    padding: 0;
    text-align: left;
  }
  footer .footer-main__contact .social-groups li {
    margin: 0;
    padding: 0;
    max-width: 100%;
  }
  footer .footer-main__contact .social-groups a {
    margin: 0 !important;
    padding-right: 0;
    max-width: 100%;
  }

  /* Логотип и сведения о лицензии: компактнее */
  footer .footer-main__brand {
    order: 2;
    width: 100%;
    padding: 0 0 20px;
    margin: 0 0 22px;
    border-bottom: 1px solid rgba(255,255,255,.22);
    box-sizing: border-box;
  }
  footer .footer-main__brand .custom,
  footer .footer-main__brand .logo-footer {
    margin: 0;
    padding: 0;
    text-align: left;
  }
  footer .footer-main__brand .logo-link {
    width: 180px;
    max-width: 100%;
    height: 69px;
    margin: 0 0 12px;
    padding: 0;
    background-size: 180px auto;
  }
  footer .footer-main__brand img {
    max-width: 180px;
    height: auto;
  }

  /* Услуги: две равные колонки, без принудительного переноса в одну */
  footer .footer-main__services {
    order: 3;
    width: 100%;
    min-width: 0;
  }
  footer .footer-services__inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 18px;
    row-gap: 23px;
    align-items: start;
    margin: 0;
    padding: 0;
  }
  footer .footer-services__group:nth-child(1) { grid-column: 1; grid-row: 1; }
  footer .footer-services__group:nth-child(4) { grid-column: 2; grid-row: 1; }
  footer .footer-services__group:nth-child(3) { grid-column: 1; grid-row: 2; }
  footer .footer-services__group:nth-child(2) { grid-column: 2; grid-row: 2; }
  footer .footer-services__title {
    font-size: 16px;
    line-height: 1.3;
    margin-bottom: 11px;
  }
  footer .footer-services__list { gap: 9px; }
  footer .footer-services__list a {
    font-size: 14px;
    line-height: 1.45;
    overflow-wrap: break-word;
  }

  /* Корпоративное меню */
  footer .footer-main__company {
    width: calc(100% - 36px);
    max-width: 560px;
    padding: 17px 0;
  }
  footer .footer-main__company ul.nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 12px 19px;
  }
  footer .footer-main__company ul.nav a {
    font-size: 14px;
    line-height: 1.4;
  }

  /* Филиалы: вместо разъезжающихся строк — читабельные пары город/номер */
  footer .footer-container.filials,
  footer .footer-container.fc_phones-cols {
    width: calc(100% - 36px);
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
  }
  footer .footer-container.fc_phones-cols {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 0 16px;
  }
  footer .fc_phones-cols .fc_phones-col {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    margin: 0 !important;
    padding: 0;
  }
  footer .fc_phones-cols .fc_phone-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: baseline;
    justify-content: initial;
    gap: 8px;
    margin: 0;
    padding: 5px 0;
  }
  footer .fc_phones-cols .fc_phone-text {
    min-width: 0;
    font-size: 13px !important;
    line-height: 1.4;
    overflow-wrap: anywhere;
  }
  footer .fc_phones-cols .fc_phone-num {
    font-size: 13px !important;
    line-height: 1.4;
    white-space: nowrap;
    text-align: right;
  }
  /* Немного места над фиксированной панелью звонка */
  footer { padding-bottom: 76px; }
}

@media screen and (max-width: 350px) {
  footer .footer-services__inner { column-gap: 12px; }
  footer .footer-services__title { font-size: 15px; }
  footer .footer-services__list a { font-size: 13px; }
  footer .fc_phones-cols .fc_phone-text,
  footer .fc_phones-cols .fc_phone-num { font-size: 12px !important; }
}

/* Исправление переносов строк в лицензии футера */
footer .logo .footer-licence br {
    display: inline !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: normal !important;
}

footer .logo .footer-licence .footer-licence__bold {
    display: inline !important;
    margin: 0 !important;
}
/* Межстрочный интервал лицензии в футере */
footer .logo .footer-licence {
    line-height: 1.3 !important;
}
/* Центрирование корпоративного меню футера */
footer .footer-main__company {
    text-align: center;
}

footer .footer-main__company ul {
    justify-content: center;
    text-align: center;
}

/* Центрирование нижнего юридического меню */
footer .podval-pre {
    justify-content: center !important;
    text-align: center !important;
}

footer .podval-pre .menu,
footer .podval-pre ul {
    display: flex !important;
    justify-content: center !important;
    flex-wrap: wrap;
    width: 100%;
    margin: 0 auto !important;
    padding: 0;
}

footer .podval-pre li {
    float: none !important;
}