/* =====================================================================
   ООО «СЭС» — override.css
   Дополнения к general.css. Порядок правил важен для каскада.
   01. Общие и исторические настройки шаблона
   02. Страницы услуг и вентиляция
   03. Футер: базовые стили, сетка, адаптивность, нижние меню
   ===================================================================== */

/* =====================================================================
   01. Общие настройки шаблона, шапка, меню и адаптивность
   ===================================================================== */

.main-wrapper .main-buttons a {
    padding: 0.2em 2em !important;
}

.start-block .right-bg {
    background-size: 800px !important;
    height: auto;
}

.start-block .main-benefits .contracts:before {
    background-image: url(../images/main-benefits-sprite.png);
}

@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;
    }
}

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

.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;
}

.main-benefits {
    margin-left: 40px;
    display: flex !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
}

header.float .tel {
    top: -2px;
    left: 285px;
    font-size: 23px;
}

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;
    }

    .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;
    }
}

@media only screen and (min-width: 0) and (max-width:480px) {
    .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;
    }
}

@media only screen and (min-width: 768px) {
    .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;
        }
}

@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;
        }
}

@media only screen and (max-width: 319px) {
    .main-wrapper.main-page .start-block {
        zoom: 0.6;
        }
}

a.header-phone-number:before {
    display: none;
}

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) {
    .start-block {
        padding-top: 1em;
        margin-top: -38px;
    }
}

.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;
}

.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;
}

.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;
}

.mobile-menu-block {
    z-index: 20;
}

@media only screen and (max-width: 1050px) {
    .main-block .menu-top, .header-menu {
        display: none;
    }

    .header {
        height: 112px;
    }

    .main-block {
        margin-top: 92px;
    }

    .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;
}

/* =====================================================================
   02. Страницы услуг, общие обёртки и специальные блоки
   ===================================================================== */

.content.content--two {
    max-width: 100%;
    width: 100%;
    padding: 0;
    margin: 0 auto;
    overflow: hidden;
}

.header-top-container-item {
    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;
    }
}

.content.content--two {
    @media (max-width: 1024px) {
        margin-top: -48px;
    }
}

@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: unset;
    width: 35%;
}

@media screen and (max-width: 1440px) {
    .int__left {
        width: 35%;
    }
}

@media screen and (max-width: 1024px) {
    .int__left {
        width: unset;
    }
}

.mceContentBody h2.call-service_item-title:after {
    content: none !important;
    display: none !important;
}

/* Заголовок материала Joomla; собственный H1 зависит от стилей шаблона. */
.content.content--two h1 {
    display: none;
}

.content--two .breadcrumbs,
.content--two .custom {
    max-width: 1400px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-right: 10px;
    padding-left: 10px;
}

.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;
}

.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;
    }
}

.has-two-page .comp-slider {
    display: none !important;
    height: 0 !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

.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;
    }
}

/* =====================================================================
   03. Футер — все настройки в порядке каскада
   ===================================================================== */


/* Базовые стили: филиалы, лицензия, логотип и социальные сети */

.footer-container {
    padding: 16px 0 0 0;
}

.fc_phones-col {
    display: flex;
    flex-direction: column;
    max-width: 285px;
    justify-content: center;
}

.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;
}

@media only screen and (min-width: 0) and (max-width:480px) {
    .filials {
        padding: 0;
        margin: 10px 0 10px 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: 768px) {
    .fc_phones-cols {
        justify-content: center;
    }
}

.footer-licence {
    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;
        font-size: 12px !important;
    }

    .footer-licence__bold {
        font-weight: 600 !important;
        font-size: 12px !important;
    }
}

.copyright {
    padding: 0 0 0 10px;
}

.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;
}

/* Основная сетка, услуги, контакты и корпоративное меню */

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;
}

/* Порядок групп зависит от HTML в index.php. */
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;
    }
}

/* Мобильная компоновка и филиалы (экран): контакты → логотип → услуги */

@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;
}

