/* =====================================================================
   ООО «СЭС» — 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;
}

/* Иконка вентиляции в основном меню */
.menu-top ul.menu .deeper-container ul li.item-598 a::before {
    content: "";
    display: inline-block;
    width: 22px;
    height: 22px;
    padding-right: 0;
    margin-right: 5px;
    vertical-align: middle;
    background: url("/images/services-ventilation.svg") no-repeat center;
    background-size: contain;
}

/* ============================================================
   Главная страница — баннер преимуществ (модуль 113)
   ============================================================ */
.home-hero {
    position: relative;
    isolation: isolate;
    box-sizing: border-box;
    max-width: 1440px;
    margin: 172px auto 0;
    padding: 44px 32px 34px;
    font-family: "PT Sans", sans-serif;
}
.home-hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    pointer-events: none;
    top: 48px;
    right: 32px;
    bottom: 12px;
    width: 33%;
    background: url("/images/home-specialist.svg") no-repeat right center / contain;
}
.home-hero__benefits {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 20px;
    width: 72%;
}
.home-hero a.home-hero__item {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    padding: 6px;
    color: #222;
    text-decoration: none;
    border-radius: 12px;
    transition: background-color .2s;
}
.home-hero a.home-hero__item:hover { background-color: #f3f8fc; }
.home-hero .home-hero__icon {
    display: block;
    flex: 0 0 96px;
    width: 96px;
    height: 96px;
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
}
.home-hero__text { min-width: 0; font-size: 18px; line-height: 1.3; overflow-wrap: anywhere; }
.home-hero__text strong { display: block; color: #2174b1; font-size: 22px; line-height: 1.2; margin-bottom: 4px; }
.home-hero__text > span { display: block; }
.home-hero__buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    width: 88%;
    margin: 20px 0 0;
}
.home-hero a.home-hero__button {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 0;
    max-width: 300px;
    min-width: 0;
    min-height: 54px;
    padding: 10px 12px;
    border: 2px solid #2174b1;
    border-radius: 6px;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.15;
    text-align: center;
    text-decoration: none;
    transition: background-color .2s, color .2s;
}
.home-hero a.home-hero__button--blue { background: #2174b1; color: #fff; }
.home-hero a.home-hero__button--white { background: #fff; color: #2174b1; }
.home-hero a.home-hero__button--blue:hover { background: #195e91; }
.home-hero a.home-hero__button--white:hover { background: #edf5fb; }
.home-hero a:focus-visible { outline: 2px solid #2174b1; outline-offset: 3px; }
@media screen and (max-width: 1200px) {
    .home-hero { margin-top: 40px; padding: 20px 24px 24px; }
    .home-hero::before { display: none; }
    .home-hero__benefits, .home-hero__buttons { width: 100%; }
}
@media screen and (max-width: 740px) {
    .home-hero { margin-top: 0; padding: 12px 12px 18px; }
    .home-hero__benefits { gap: 10px 8px; }
    .home-hero a.home-hero__item { flex-direction: column; justify-content: flex-start; gap: 5px; padding: 4px 2px; text-align: center; }
    .home-hero .home-hero__icon { flex: 0 0 56px; width: 56px; height: 56px; }
    .home-hero__text { font-size: 13px; line-height: 1.25; }
    .home-hero__text strong { font-size: 15px; margin-bottom: 3px; }
    .home-hero__buttons { gap: 8px; margin-top: 12px; }
    .home-hero a.home-hero__button { font-size: 14px; padding: 8px 5px; min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
    .home-hero a { transition: none; }
}


/* ============================================================
   05. Главная страница — основные направления
   ============================================================ */
.ses-directions {
    width: 100%; box-sizing: border-box; padding: 28px 20px 30px;
    background: #084e89;
    background: linear-gradient(0deg, #2771ac 0%, #084e89 19%, #024782 38%, #084d88 82%, #2771ac 100%);
}
.ses-directions ul.ses-directions__grid {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: 1400px; width: 100%; margin: 0 auto; padding: 0;
    gap: 24px 16px; list-style: none; box-sizing: border-box;
}
.ses-directions .ses-directions__grid li { margin: 0; padding: 0; list-style: none; min-width: 0; }
.ses-directions .ses-directions__grid a {
    display: flex; flex-direction: column; align-items: center; gap: 12px;
    height: 100%; box-sizing: border-box; padding: 4px 6px;
    color: #fff; text-align: center; text-decoration: none;
    font: bold 18px/1.25 'PT Sans', sans-serif; text-transform: uppercase;
    background: transparent;
}
.ses-directions .ses-directions__icon {
    display: flex; align-items: center; justify-content: center;
    width: 104px; height: 104px; flex: 0 0 104px; border-radius: 20px;
    background: rgba(255,255,255,.13); transition: background .2s, transform .2s;
}
.ses-directions .ses-directions__icon img { display: block; width: 76px; height: 76px; max-width: none; object-fit: contain; margin: 0; border: 0; padding: 0; }
.ses-directions .ses-directions__label { display: block; overflow-wrap: break-word; max-width: 100%; }
.ses-directions .ses-directions__grid a:hover .ses-directions__icon,
.ses-directions .ses-directions__grid a:focus-visible .ses-directions__icon { background: rgba(255,255,255,.24); transform: translateY(-3px); }
.ses-directions .ses-directions__grid a:focus-visible { outline: 2px solid white; outline-offset: 3px; border-radius: 8px; }
/* Таракан: увеличенный исходный силуэт, усы выходят за подложку. */
.ses-directions .ses-directions__cockroach .ses-directions__icon { overflow: visible; }
.ses-directions .ses-directions__cockroach .ses-directions__icon img {
    width: 132px; height: 132px; flex: 0 0 132px;
    transform: translateY(-8px);
}
@media (max-width: 740px) {
    .ses-directions { padding: 18px 12px 22px; }
    .ses-directions ul.ses-directions__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 8px; }
    .ses-directions .ses-directions__grid a { font-size: 14px; gap: 8px; padding: 3px; }
    .ses-directions .ses-directions__icon { width: 76px; height: 76px; flex-basis: 76px; border-radius: 16px; }
    .ses-directions .ses-directions__icon img { width: 56px; height: 56px; }
    .ses-directions .ses-directions__cockroach .ses-directions__icon img { width: 96px; height: 96px; flex-basis: 96px; transform: translateY(-6px); }
}
@media (prefers-reduced-motion: reduce) {
    .ses-directions .ses-directions__icon { transition: none; transform: none; }
}

/* SES header v1 — desktop only; legacy mobile markup and behavior retained */
.ses-new-logo, .ses-brand-name, .ses-header-call { display:none; }
@media (min-width:1051px) {
 header.ses-header-v1 {height:110px; box-shadow:0 2px 8px #183b5420;}
 header.ses-header-v1 .header-top-container {display:block; height:28px; background:#edf3f7; color:#40596e; font-size:13px;}
 header.ses-header-v1 .header-top-container-items {height:28px; justify-content:flex-start; gap:16px; padding:0 14px; box-sizing:border-box;}
 header.ses-header-v1 .header-top-container-item {padding:0; white-space:nowrap;}
 header.ses-header-v1 .header-top-container-item a.mailto {color:#40596e;}
 header.ses-header-v1 .header-top-container-item:last-child {display:none;}
 header.ses-header-v1 .header-container {width:100%; max-width:1400px; height:82px; display:flex; align-items:center; justify-content:space-between; gap:12px; padding:0 14px; box-sizing:border-box;}
 header.ses-header-v1 .header-container > div:first-child, header.ses-header-v1 .logo-container {display:none;}
 header.ses-header-v1 address {position:static; width:auto; padding:0; margin:0; flex:none;}
 header.ses-header-v1 address a {min-width:0; margin:0;}
 header.ses-header-v1 address svg, header.ses-header-v1 address .icon24 {display:none;}
 header.ses-header-v1 .ses-new-logo {display:block; width:clamp(150px,15vw,220px); height:auto;}
 header.ses-header-v1 .ses-brand-name {display:block; font-size:16px; font-weight:700; line-height:1.12; color:#263746; flex:none;}
 header.ses-header-v1 .tel {position:static; display:flex; gap:clamp(10px,2vw,28px); margin:0; float:none; width:auto; white-space:nowrap; align-items:center;}
 header.ses-header-v1 .tel_row {display:flex; flex-direction:column; line-height:1.2; gap:4px;}
 header.ses-header-v1 .hp_text {font-size:13px; min-width:0; margin:0; font-weight:400; color:#526879;}
 header.ses-header-v1 .hp-number {font-size:clamp(20px,1.9vw,27px); color:#2174b1; text-decoration:none;}
 header.ses-header-v1 .tel em {color:inherit;}
 header.ses-header-v1 .social-groups {display:flex; gap:5px; margin:0; float:none; flex:none;}
 header.ses-header-v1 .social-groups li {margin:0;}
 header.ses-header-v1 .social-groups a {margin:0;}
 header.ses-header-v1 .ses-header-call {display:block; order:9; flex:none; margin:0; padding:10px 14px; font-size:16px; line-height:1.3; white-space:nowrap; text-transform:none; cursor:pointer;}
 header.ses-header-v1 .header-menu {position:absolute; top:-28px; right:14px; bottom:auto; height:28px; display:flex; align-items:center;}
 header.ses-header-v1 .header-menu li a {font-size:13px; text-transform:none; color:#40596e;}
 header.ses-header-v1 .header-menu li:not(:last-child):after {padding:0 2px;}
 header.ses-header-v1 .header-menu ul {margin:0; padding:0; white-space:nowrap;}
 header.ses-header-v1 .header-menu li {margin:0;}
 header.ses-header-v1.float {height:56px;}
 header.ses-header-v1.float .header-container {height:56px;}
 header.ses-header-v1.float .header-top-container, header.ses-header-v1.float .header-menu, header.ses-header-v1.float .ses-brand-name, header.ses-header-v1.float .social-groups, header.ses-header-v1.float .hp_text {display:none;}
 header.ses-header-v1.float .ses-new-logo {width:145px;}
 header.ses-header-v1.float .hp-number {font-size:22px;}
 header.ses-header-v1 .header-container > address, header.ses-header-v1 .tel, header.ses-header-v1 .header-menu {transition:none;}
 .ses-desktop-nav {top:110px; height:38px; background:#e4eef6; border-bottom:2px solid #2174b1; box-sizing:border-box;}
 .ses-desktop-nav.float {top:56px; height:38px;}
 .ses-desktop-nav nav, .ses-desktop-nav .menu-top-container {width:100%; max-width:1400px;}
 .ses-desktop-nav .menu-top-container > ul.menu {display:flex; justify-content:space-between; align-items:center; max-width:none; margin:0; padding:0 12px; box-sizing:border-box;}
 .ses-desktop-nav .menu-top-container > ul.menu > li {margin:0; flex:none;}
 .ses-desktop-nav .menu-top-container > ul.menu > li > a {color:#155581; font-size:15px; line-height:36px; padding:0 8px; letter-spacing:0; text-transform:none;}
 .ses-desktop-nav .menu-top-container > ul.menu > li > a:hover {background:#d2e4f1;}
 .ses-desktop-nav ul .item-267 {position:static;}
 .ses-desktop-nav .menu-top-container > ul.menu > li.item-267 > a {background:none;}
 .ses-desktop-nav ul.menu .deeper-container, .ses-desktop-nav.float ul.menu .deeper-container {top:36px; width:100%; max-height:calc(100vh - 150px); overflow:auto; box-sizing:border-box;}
 .ses-desktop-nav ul.menu .deeper-container > ul {width:min(1400px,100%) !important; box-sizing:border-box; padding:0 12px;}
 .ses-desktop-nav ul.menu .deeper-container > ul > li {width:25%;}
 .ses-desktop-nav ul.menu .deeper-container ul li a {width:auto; white-space:normal; height:auto; min-height:34px; line-height:1.3; padding:7px; box-sizing:border-box;}
 .main-block:has(> .ses-desktop-nav) {margin-top:148px;}
}
@media (min-width:1051px) and (max-width:1399px) {
 header.ses-header-v1 .header-top-container-item:nth-child(2) {display:none;}
 header.ses-header-v1 .social-groups {display:none;}
 header.ses-header-v1 .ses-brand-name {font-size:14px;}
}
@media (min-width:1400px) {
 header.ses-header-v1.float {height:70px;}
 header.ses-header-v1.float .header-container {height:70px; justify-content:flex-start;}
 header.ses-header-v1.float .tel {margin-left:auto; flex-direction:column; gap:2px;}
 header.ses-header-v1.float .hp-number {font-size:19px;}
 header.ses-header-v1.float .ses-header-call {font-size:14px; padding:9px 10px;}
 .ses-desktop-nav.float {top:0; left:calc(50% - 535px); width:820px; height:70px; background:white; border:0; box-shadow:none;}
 .ses-desktop-nav.float .menu-top-container > ul.menu {height:70px; padding:0 4px;}
 .ses-desktop-nav.float .menu-top-container > ul.menu > li > a {font-size:14px; padding:0 4px; line-height:70px;}
 .ses-desktop-nav.float ul.menu .deeper-container {position:fixed; top:70px; left:0; width:100%;}
}


/* 06. SES header v2 — corrections to desktop layout only */
@media (min-width:1051px) {
 header.ses-header-v1 {transition:height .2s ease;}
 header.ses-header-v1 .header-top-container .header-top-container-items {justify-content:flex-start; gap:14px;}
 header.ses-header-v1 .header-top-container .header-top-container-items .header-top-container-item a.mailto {color:#40596e;}
 header.ses-header-v1 .header-container {justify-content:flex-start; gap:clamp(10px,1.25vw,20px); transition:height .2s ease;}
 header.ses-header-v1 .ses-new-logo {transition:width .2s ease;}
 header.ses-header-v1 .ses-brand-name {margin-right:auto;}
 header.ses-header-v1 .tel {flex-direction:row; justify-content:center; align-items:center; margin:0 !important; padding:0; height:auto; line-height:normal; gap:clamp(12px,1.5vw,24px);}
 header.ses-header-v1 .tel_row {flex:0 0 auto; margin:0; padding:0; justify-content:center; align-items:flex-start; line-height:1.15; gap:4px;}
 header.ses-header-v1 .hp_text {display:block; line-height:1.15;}
 header.ses-header-v1 .hp-number {display:block; line-height:1.15; font-size:clamp(20px,1.65vw,26px); white-space:nowrap;}
 header.ses-header-v1 .social-groups {align-items:center; flex-wrap:nowrap; padding:0;}
 header.ses-header-v1 .social-groups li, header.ses-header-v1 .social-groups li a {display:block; line-height:1;}
 header.ses-header-v1 .ses-header-call {border-radius:6px; font-size:17px; padding:10px 15px;}
 header.ses-header-v1.float .tel {margin-left:auto !important;}
 header.ses-header-v1.float .tel_row {gap:0; align-items:flex-end;}
 header.ses-header-v1.float .hp_text {display:none;}
 .ses-desktop-nav {transition:top .2s ease;}
 .ses-desktop-nav .menu-top-container > ul.menu > li > a {font-size:17px; transition:background-color .15s,color .15s;}
 .ses-desktop-nav .menu-top-container > ul.menu > li > a[href="/"] img,
 .ses-desktop-nav .menu-top-container > ul.menu > li.item-101 > a img {filter:brightness(0) saturate(100%) invert(36%) sepia(76%) saturate(758%) hue-rotate(164deg) brightness(93%) contrast(91%);}
 .ses-desktop-nav .menu-top-container > ul.menu > li:hover > a,
 .ses-desktop-nav .menu-top-container > ul.menu > li > a:focus-visible {background:#d2e4f1; color:#155581;}
 .ses-desktop-nav ul.menu .deeper-container {border-top:2px solid #2174b1; box-shadow:0 5px 12px rgba(23,65,96,.15);}
}
@media (min-width:1051px) and (max-width:1399px) {
 header.ses-header-v1 .header-container {gap:12px;}
 header.ses-header-v1 .ses-new-logo {width:155px;}
 header.ses-header-v1 .hp-number {font-size:21px;}
 header.ses-header-v1 .ses-header-call {font-size:15px; padding:9px 10px;}
 .ses-desktop-nav .menu-top-container > ul.menu > li > a {font-size:16px;}
}
@media (min-width:1400px) {
 header.ses-header-v1.float .tel {flex-direction:column; gap:2px;}
 header.ses-header-v1.float .hp-number {font-size:20px;}
 header.ses-header-v1.float .ses-header-call {font-size:15px; padding:9px 10px;}
 .ses-desktop-nav.float {transition:none;}
 .ses-desktop-nav.float .menu-top-container > ul.menu > li > a {font-size:15px;}
}
@media (min-width:1051px) and (prefers-reduced-motion:reduce) {
 header.ses-header-v1, header.ses-header-v1 .header-container, header.ses-header-v1 .ses-new-logo, .ses-desktop-nav {transition:none;}
}


/* 07. SES header v3 — desktop refinement */
@media (min-width:1051px) {
 header.ses-header-v1 {transition:height .30s cubic-bezier(.2,.65,.3,1);}
 header.ses-header-v1 .header-container {transition:height .30s cubic-bezier(.2,.65,.3,1);}
 header.ses-header-v1 .ses-new-logo {transition:width .30s cubic-bezier(.2,.65,.3,1);}
 header.ses-header-v1 .header-top-container {display:block; overflow:hidden; opacity:1; transition:height .30s cubic-bezier(.2,.65,.3,1),opacity .22s ease;}
 header.ses-header-v1.float .header-top-container {display:block; height:0; opacity:0; pointer-events:none; visibility:hidden; transition:height .30s cubic-bezier(.2,.65,.3,1),opacity .22s ease,visibility 0s .30s;}
 header.ses-header-v1 .ses-brand-name {font-size:19px; line-height:1.16; align-self:center; margin-top:0; margin-bottom:0;}
 header.ses-header-v1 .social-groups li a {height:36px; min-height:36px; margin:0;}
 header.ses-header-v1 .social-groups li a:before {top:0;}
 .ses-desktop-nav .menu-top-container > ul.menu > li.item-101,
 .ses-desktop-nav .menu-top-container > ul.menu > li:has(> a[href="/"] img) {display:none;}
 .ses-desktop-nav {transition:top .30s cubic-bezier(.2,.65,.3,1);}
}
@media (min-width:1051px) and (max-width:1399px) {
 header.ses-header-v1 .ses-brand-name {font-size:16px;}
}
@media (min-width:1400px) {
 header.ses-header-v1.float {box-shadow:inset 0 -2px #2174b1,0 3px 8px #183b5420;}
 /* The menu changes layout, not just position. Fade rather than slide across phones. */
 .ses-desktop-nav:not(.float) {animation:ses-nav-full-in .30s ease both; transition:none;}
 .ses-desktop-nav.float {animation:ses-nav-compact-in .30s ease both; transition:none;}
 @keyframes ses-nav-full-in {from {opacity:.15;} to {opacity:1;}}
 @keyframes ses-nav-compact-in {from {opacity:.15;} to {opacity:1;}}
}
@media (min-width:1051px) and (prefers-reduced-motion:reduce) {
 header.ses-header-v1, header.ses-header-v1 .header-container,
 header.ses-header-v1 .ses-new-logo, header.ses-header-v1 .header-top-container,
 header.ses-header-v1.float .header-top-container, .ses-desktop-nav,
 .ses-desktop-nav.float, .ses-desktop-nav:not(.float) {transition:none; animation:none;}
}

/* 08. SES header v4 — service strip and continuous compact border */
@media (min-width:1051px) {
 header.ses-header-v1 .header-top-container .header-top-container-items {gap:24px;}
 header.ses-header-v1 .header-top-container .header-top-container-items .header-top-container-item {font-size:14px; color:#40596e;}
 header.ses-header-v1 .header-top-container .header-top-container-items .header-top-container-item:nth-child(3) {color:#155581; font-weight:700; padding-left:12px; border-left:1px solid #b8cbd9;}
}
@media (min-width:1051px) and (max-width:1399px) {
 header.ses-header-v1 .header-top-container .header-top-container-items {gap:14px;}
 header.ses-header-v1 .header-top-container .header-top-container-items .header-top-container-item {font-size:13px;}
}
@media (min-width:1400px) {
 .ses-desktop-nav.float {border-bottom:2px solid #2174b1;}
 .ses-desktop-nav.float .menu-top-container > ul.menu {height:68px;}
 .ses-desktop-nav.float .menu-top-container > ul.menu > li > a {line-height:68px;}
}


/* 09. SES header v5 — readable service strip, wide desktop only */
@media (min-width:1400px) {
 header.ses-header-v1:not(.float) {height:118px;}
 header.ses-header-v1 .header-top-container {height:36px; background:#eaf1f6;}
 header.ses-header-v1 .header-top-container .header-top-container-items {height:36px; gap:16px;}
 header.ses-header-v1 .header-top-container .header-top-container-items .header-top-container-item {font-size:15px; line-height:1.2; color:#344e62;}
 header.ses-header-v1 .header-top-container .header-top-container-items .header-top-container-item a.mailto {color:#344e62; font-size:inherit;}
 header.ses-header-v1 .header-top-container .header-top-container-items .header-top-container-item:nth-child(2),
 header.ses-header-v1 .header-top-container .header-top-container-items .header-top-container-item:nth-child(3) {padding-left:16px; border-left:1px solid #b8cbd9;}
 header.ses-header-v1 .header-top-container .header-top-container-items .header-top-container-item:nth-child(3) {color:#176da8; font-weight:700;}
 header.ses-header-v1:not(.float) .header-menu {top:-36px; height:36px;}
 header.ses-header-v1 .header-menu li a {font-size:14px;}
 .ses-desktop-nav:not(.float) {top:118px;}
 .main-block:has(> .ses-desktop-nav) {margin-top:156px;}
}

/* 10. SES header v6 — phone captions and single navigation underline */
@media (min-width:1051px) {
 header.ses-header-v1 .hp_text {font-size:15px; font-weight:600; color:#344e62;}
}
@media (min-width:1400px) {
 header.ses-header-v1.float {box-shadow:0 3px 8px #183b5420;}
 .ses-desktop-nav, .ses-desktop-nav.float {border-bottom:0;}
 .ses-desktop-nav::after {content:""; position:absolute; bottom:0; left:0; width:100%; height:2px; background:#2174b1; pointer-events:none; z-index:2;}
 .ses-desktop-nav.float::after {left:calc(535px - 50vw); width:100vw;}
 /* Keep the underline opaque; fade only the top-level links. */
 .ses-desktop-nav.float, .ses-desktop-nav:not(.float) {animation:none;}
 .ses-desktop-nav.float .menu-top-container > ul.menu > li > a {animation:ses-nav-compact-in .30s ease both;}
 .ses-desktop-nav:not(.float) .menu-top-container > ul.menu > li > a {animation:ses-nav-full-in .30s ease both;}
}
@media (min-width:1400px) and (prefers-reduced-motion:reduce) {
 .ses-desktop-nav.float .menu-top-container > ul.menu > li > a,
 .ses-desktop-nav:not(.float) .menu-top-container > ul.menu > li > a {animation:none;}
}


/* 11. SES header v7 — final wide desktop alignment and motion */
@media (min-width:1400px) {
 header.ses-header-v1 {--ses-motion: .36s cubic-bezier(.25,.7,.25,1); transition:height var(--ses-motion);}
 header.ses-header-v1 .header-container {transition:height var(--ses-motion);}
 header.ses-header-v1 .header-top-container {transition:height var(--ses-motion), opacity .24s ease;}
 header.ses-header-v1.float .header-top-container {transition:height var(--ses-motion), opacity .24s ease, visibility 0s .36s;}
 header.ses-header-v1 .header-top-container-items {transition:none;}
 header.ses-header-v1 .ses-new-logo {transition:width var(--ses-motion);}
 header.ses-header-v1 address, header.ses-header-v1 address a,
 header.ses-header-v1 .tel, header.ses-header-v1 .tel_row,
 header.ses-header-v1 .hp_text, header.ses-header-v1 .hp-number,
 header.ses-header-v1 .ses-brand-name, header.ses-header-v1 .social-groups,
 header.ses-header-v1 .header-menu {transition:none;}
 header.ses-header-v1:not(.float) .tel {gap:32px;}
 header.ses-header-v1:not(.float) .tel_row {align-items:flex-start; text-align:left;}
 header.ses-header-v1:not(.float) .hp_text,
 header.ses-header-v1:not(.float) .hp-number {margin:0; padding:0; text-indent:0;}
 header.ses-header-v1 .ses-header-call {transition:background-color .18s ease,color .18s ease;}
 .ses-desktop-nav.float .menu-top-container > ul.menu > li > a,
 .ses-desktop-nav:not(.float) .menu-top-container > ul.menu > li > a {animation:ses-nav-v7-in .36s ease both;}
 @keyframes ses-nav-v7-in {from {opacity:.65;} to {opacity:1;}}
}
@media (min-width:1400px) and (prefers-reduced-motion:reduce) {
 header.ses-header-v1, header.ses-header-v1 .header-container,
 header.ses-header-v1 .header-top-container, header.ses-header-v1.float .header-top-container,
 header.ses-header-v1 .ses-new-logo, header.ses-header-v1 .ses-header-call {transition:none;}
 .ses-desktop-nav.float .menu-top-container > ul.menu > li > a,
 .ses-desktop-nav:not(.float) .menu-top-container > ul.menu > li > a {animation:none;}
}
/* SES — отступ контента под новой шапкой */
@media (min-width: 1400px) {
    .top:has(.ses-desktop-nav) + #content:before {
        height: 10px;
        margin: 0;
    }
}
/* SES — отступ баннера преимуществ на главной */
@media (min-width: 1400px) {
    .main-block:has(> .ses-desktop-nav) .home-hero {
        padding-top: 20px;
    }

    .main-block:has(> .ses-desktop-nav) .home-hero::before {
        top: 24px;
    }
}