/* === ЗАКРЕПЛЕНИЕ ШАПКИ === */
.adaptive .for-adress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* === УМЕНЬШЕНИЕ ОСНОВНОГО ИЗОБРАЖЕНИЯ === */
.adaptive .object .object_image img {
    max-width: 400px !important;
    max-height: 400px !important;
    width: auto;
    height: auto;
    display: block;
    margin: 0 auto 20px;
}
@media screen and (max-width: 767px) {
    .adaptive .object .object_image img {
        max-width: 100% !important;
        max-height: auto !important;
        margin: 0 0 20px 0;
    }
}

/* ===== СВЕТЛАЯ ТЕМА ДЛЯ IT-КОМПАНИИ ===== */
:root {
    --bg-light: #FFFFFF;
    --bg-card: #F8FAFC;
    --accent: #0066CC;
    --accent-hover: #004999;
    --text-dark: #1E293B;
    --text-secondary: #475569;
    --border-light: #E2E8F0;
    --shadow: 0 4px 12px rgba(0,0,0,0.05);
    --shadow-hover: 0 8px 24px rgba(0,102,204,0.15);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

body {
    background: var(--bg-light);
    color: var(--text-dark);
    font-family: "Onest-Regular", "GothamproReg", sans-serif;
    line-height: 1.6;
}

/* АНИМАЦИИ ПРИ СКРОЛЛЕ */
.scroll-animation {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.scroll-animation.visible {
    opacity: 1;
    transform: translateY(0);
}
.direction_block_2.scroll-animation { transition-delay: 0.1s; }
.about_block.scroll-animation { transition-delay: 0.2s; }
.offer_block.scroll-animation { transition-delay: 0.3s; }
.special_offers_list li.scroll-animation { transition-delay: 0.1s; }
.news_item.scroll-animation { transition-delay: 0.1s; }
#left_column.scroll-animation { transition-delay: 0.1s; }
#center_column.scroll-animation { transition-delay: 0.2s; }
.breadcrumbs.scroll-animation { transition-delay: 0.05s; }
h1#page_main_header.scroll-animation { transition-delay: 0.15s; }

/* ШАПКА */
.adaptive .for-adress {
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
}

.adaptive .for-content {
    margin-top: 120px;
}
@media screen and (max-width: 767px) {
    .adaptive .for-content {
        margin-top: 100px;
    }
}

.adaptive .for-adress .container .row-fluid .company_name p {
    color: var(--accent);
    font-family: "Onest-Black", "GothamproBold", sans-serif;
    text-transform: uppercase;
}
.adaptive .for-adress .container .row-fluid .nav-wrap .umi-menu ul.level-0 > li > a {
    color: var(--text-dark);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    padding: 8px 16px;
    border-radius: 30px;
    transition: var(--transition);
}
.adaptive .for-adress .container .row-fluid .nav-wrap .umi-menu ul.level-0 > li > a:hover {
    color: var(--accent);
    background: rgba(0,102,204,0.05);
}
.adaptive .for-adress .container .row-fluid .nav-wrap .umi-menu ul.level-0 > li.current > a {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 4px 12px rgba(0,102,204,0.3);
}
.adaptive .for-adress .container .row-fluid .header_contacts .phone_number {
    color: var(--accent);
    font-family: "Onest-Bold", "GothamproBold", sans-serif;
}
.adaptive .for-adress .container .row-fluid .header_contacts .phone span::before {
    filter: brightness(0) saturate(100%) invert(28%) sepia(76%) saturate(1876%) hue-rotate(199deg) brightness(96%) contrast(101%);
}

/* БАННЕР */
.adaptive .for-content .direction_block_2 {
    height: 700px;
    position: relative;
    overflow: hidden;
}
.adaptive .for-content .direction_block_2 .direction_block_link {
    display: block;
    width: 100%;
    height: 100%;
}
.adaptive .for-content .direction_block_2 .direction_block_link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-height: none;
    transform: none;
    left: 0;
    transition: transform 0.5s ease;
}
.adaptive .for-content .direction_block_2:hover .direction_block_link img {
    transform: scale(1.05);
}
.adaptive .for-content .direction_text {
    background: linear-gradient(90deg, rgba(0,102,204,0.9) 0%, rgba(0,119,255,0.9) 100%);
    border: none;
    backdrop-filter: blur(2px);
    padding: 60px 80px;
    position: absolute;
    top: 100px;
    left: 0;
    width: 50%;
    height: auto;
    color: #fff;
}
.adaptive .for-content .direction_text:before,
.adaptive .for-content .direction_text:after {
    display: none;
}
.adaptive .for-content .direction_block_title {
    font-size: 70px;
    font-family: "Onest-Black", "GothamproBold", sans-serif;
    text-transform: uppercase;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.adaptive .for-content .direction_block_subtitle {
    font-size: 36px;
    font-weight: 300;
}
.adaptive .for-content .direction_block_slogan {
    font-size: 18px;
    opacity: 0.9;
}

/* БЛОКИ О НАС / ПРЕДЛОЖЕНИЕ */
.adaptive .for-content .about_block {
    background: var(--bg-card);
    border-radius: 24px;
    box-shadow: var(--shadow);
    padding: 70px;
    margin-top: 70px;
    border: 1px solid var(--border-light);
}
.adaptive .for-content .offer_block {
    background: var(--bg-card);
    border-radius: 24px;
    box-shadow: var(--shadow);
    padding: 70px;
    border: 1px solid var(--border-light);
}

/* ЗАГОЛОВКИ СЕКЦИЙ */
.h2 .h2_content,
.mainpage_catalog_title .h2_content,
.index_special_offers .h2 .h2_content {
    color: var(--text-dark);
    font-family: "Onest-Black", "GothamproBold", sans-serif;
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    margin-bottom: 30px;
}
.h2 .h2_content:after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    background: var(--accent);
    margin-top: 10px;
}

/* КАРТОЧКИ ПАРТНЁРОВ / ТОВАРОВ */
.adaptive .special_offers .items_catalog .simple_catalog_item,
.adaptive .services-catalog-wrapper .items_catalog li {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    overflow: hidden;
}
.adaptive .special_offers .items_catalog .simple_catalog_item:hover,
.adaptive .services-catalog-wrapper .items_catalog li:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: var(--shadow-hover);
}
.adaptive .special_offers .items_catalog .simple_catalog_item img,
.adaptive .services-catalog-wrapper .items_catalog li img {
    transition: none;
    transform: none;
}
.adaptive .special_offers .items_catalog .simple_catalog_item .object_title a,
.adaptive .services-catalog-wrapper .items_catalog .simple_catalog_item .object_title a {
    color: var(--text-dark);
    font-size: 1.2rem;
    transition: color 0.3s;
}
.adaptive .special_offers .items_catalog .simple_catalog_item:hover .object_title a,
.adaptive .services-catalog-wrapper .items_catalog li:hover .object_title a {
    color: var(--accent);
}
.adaptive .special_offers .items_catalog .simple_catalog_item .object_prefix {
    color: var(--text-secondary);
}

/* КНОПКИ */
.adaptive .all_system_buttons,
.adaptive .all_system_buttons:hover {
    background: transparent;
    border: 2px solid var(--accent);
    border-radius: 40px;
    color: var(--accent);
    font-family: "Onest-Bold", "GothamproBold", sans-serif;
    padding: 12px 32px;
    box-shadow: 0 2px 8px rgba(0,102,204,0.1);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    display: inline-block;
    cursor: pointer;
}
.adaptive .all_system_buttons:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    box-shadow: 0 4px 16px rgba(0,102,204,0.2);
    transform: translateY(-2px);
}

/* НОВОСТИ */
.adaptive .umi-services .news_block .news_item {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 30px;
    transition: var(--transition);
}
.adaptive .umi-services .news_block .news_item:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-hover);
}
.adaptive .umi-services .news_block .news_item h3 {
    color: var(--text-dark);
    font-size: 1.4rem;
    transition: color 0.3s;
}
.adaptive .umi-services .news_block .news_item:hover h3 {
    color: var(--accent);
}
.adaptive .umi-services .news_block .news_item .big-date {
    color: var(--accent);
    font-size: 3rem;
}
.adaptive .umi-services .news_block .news_item .read-more .arrow,
.adaptive .umi-services .news_block .news_item .read-more .arrow::after,
.adaptive .umi-services .news_block .news_item .read-more .arrow::before {
    background: var(--accent);
}

/* ФУТЕР (светлый) */
.adaptive .footer {
    background: #F1F5F9;
    border-top: 2px solid var(--accent);
    padding: 40px 0;
}
.adaptive .footer .footer-in .footer_contacts .address_string,
.adaptive .footer .footer-in .footer_contacts .phone_number {
    color: var(--text-dark);
}
.adaptive .footer .footer-in .cp a {
    color: var(--text-secondary);
    transition: color 0.3s;
}
.adaptive .footer .footer-in .cp a:hover {
    color: var(--accent);
    text-decoration: none;
}
.adaptive .footer .search .search_form.search2 .search_form_string {
    background: #fff;
    border: 1px solid var(--border-light);
    color: var(--text-dark);
    border-radius: 40px;
    padding: 10px 20px;
}
.adaptive .footer .search .search_form.search2 .submit_button {
    background: var(--accent) !important;
    border-radius: 50%;
    width: 46px;
    height: 46px;
    background-image: url("/img/search_icon_white.png") !important;
    background-size: 18px;
    background-position: center;
    transition: background 0.3s;
}
.adaptive .footer .social #social_block a {
    filter: brightness(0);
    opacity: 0.7;
    transition: opacity 0.3s;
}
.adaptive .footer .social #social_block a:hover {
    opacity: 1;
}

/* СТРЕЛКИ КАРУСЕЛИ */
.adaptive .index_special_offers .next#spec_cato_next::after,
.adaptive .index_special_offers .prev#spec_cato_prev::before,
.adaptive .umi-services .next#cato_next::after,
.adaptive .umi-services .prev#cato_prev::before {
    border-color: var(--accent);
}

/* СТИЛИ ДЛЯ ВНУТРЕННИХ СТРАНИЦ */
.adaptive .breadcrumbs ul {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: 40px;
    padding: 10px 20px;
    box-shadow: var(--shadow);
    margin: 20px 0;
}
.adaptive .breadcrumbs ul li a {
    color: var(--text-secondary);
    transition: color 0.3s;
}
.adaptive .breadcrumbs ul li a:hover {
    color: var(--accent);
    text-decoration: none;
}
.adaptive .breadcrumbs ul li.breadcrumbs_last a {
    color: var(--accent);
    font-weight: 500;
}
.adaptive .breadcrumbs .breadcrumb_separator {
    color: var(--border-light);
    margin: 0 5px;
}

/* Левое вертикальное меню */
.adaptive .menu-vertical ul {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 10px 0;
}
.adaptive .menu-vertical ul li {
    border-bottom: 1px solid var(--border-light);
}
.adaptive .menu-vertical ul li:last-child {
    border-bottom: none;
}
.adaptive .menu-vertical ul li a {
    color: var(--text-dark);
    font-family: "Onest-Regular", sans-serif;
    font-size: 1rem;
    padding: 12px 20px;
    transition: all 0.3s;
    border-radius: 0;
}
.adaptive .menu-vertical ul li a:hover {
    background: rgba(0,102,204,0.05);
    color: var(--accent);
    padding-left: 30px;
}
.adaptive .menu-vertical ul li.current a {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 4px 12px rgba(0,102,204,0.3);
    font-weight: 500;
}
.adaptive .menu-vertical ul li.baby:after {
    border-color: var(--text-secondary) transparent transparent;
    right: 15px;
}
.adaptive .menu-vertical ul li.baby:hover:after {
    border-color: var(--accent) transparent transparent;
}
.adaptive .menu-vertical ul ul.level-1 {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    left: 100%;
    top: 0;
}
.adaptive .menu-vertical ul ul.level-1 li a {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* Заголовок страницы */
h1#page_main_header {
    font-family: "Onest-Black", "GothamproBold", sans-serif;
    font-size: 2.5rem;
    color: var(--text-dark);
    margin: 30px 0 20px;
    position: relative;
}
h1#page_main_header:after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    background: var(--accent);
    margin-top: 15px;
}

/* Контентная область */
.adaptive .umi-second-content #center_column {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow);
    margin-bottom: 40px;
}
.adaptive .umi-second-content .text {
    color: var(--text-dark);
    line-height: 1.8;
    font-size: 1.1rem;
}
.adaptive .umi-second-content .text a {
    color: var(--accent);
    text-decoration: underline;
    transition: color 0.3s;
}
.adaptive .umi-second-content .text a:hover {
    color: var(--accent-hover);
    text-decoration: none;
}

/* Блок файлов для скачивания */
.adaptive .list_files {
    margin-top: 30px;
}
.adaptive .list_files li {
    background: rgba(0,102,204,0.03);
    border: 1px solid var(--border-light);
    border-radius: 40px;
    padding: 10px 20px;
    margin-bottom: 10px;
    transition: background 0.3s;
}
.adaptive .list_files li:hover {
    background: rgba(0,102,204,0.08);
}
.adaptive .list_files li a {
    color: var(--text-dark);
    font-size: 1rem;
}
.adaptive .list_files li a:hover {
    color: var(--accent);
}

/* КРАСИВОЕ ОФОРМЛЕНИЕ ТЕКСТА "О НАС" */
.adaptive .umi-second-content .text .FuturisMarkdown-Paragraph {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    border-left: 3px solid var(--accent);
    padding-left: 20px;
    background: linear-gradient(90deg, rgba(0,102,204,0.02) 0%, transparent 100%);
    border-radius: 0 8px 8px 0;
}
.adaptive .umi-second-content .text strong {
    color: var(--text-dark);
    font-family: "Onest-Bold", "GothamproBold", sans-serif;
    background: linear-gradient(120deg, var(--accent) 0%, var(--accent) 100%);
    background-repeat: no-repeat;
    background-size: 100% 2px;
    background-position: bottom;
    padding-bottom: 2px;
}
.adaptive .umi-second-content .text a.Link.FuturisFootnote {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px dotted var(--accent);
    font-size: 0.9rem;
    margin-left: 5px;
}
.adaptive .umi-second-content .text a.Link.FuturisFootnote:hover {
    color: var(--accent-hover);
    border-bottom: 1px solid var(--accent-hover);
}
.adaptive .umi-second-content .text .FuturisMarkdown-Paragraph span {
    display: block;
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 25px 30px;
    margin-top: 30px;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    white-space: pre-line;
    line-height: 2;
}
.adaptive .umi-second-content .text .FuturisMarkdown-Paragraph span:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* ===== АДАПТАЦИЯ ПОД МОБИЛЬНЫЕ ===== */
@media screen and (max-width: 1480px) {
    .adaptive .container,
    .adaptive .footer .footer-in,
    .adaptive .for-content .direction_block_2 {
        width: 1172px;
    }
    .adaptive .for-content .direction_block_title {
        font-size: 60px;
    }
}
@media screen and (max-width: 1209px) {
    .adaptive .container,
    .adaptive .footer .footer-in,
    .adaptive .for-content .direction_block_2 {
        width: 940px;
    }
    .adaptive .for-content .direction_block_title {
        font-size: 50px;
    }
    .adaptive .for-content .direction_text {
        padding: 40px 60px;
        width: 60%;
    }
    .adaptive .for-content .direction_block_2 {
        height: 600px;
    }
    .adaptive .umi-services .news_block .news_item {
        width: 400px;
        padding: 30px;
    }
    .adaptive .footer .search {
        position: absolute;
        top: 160px;
    }
}
@media screen and (max-width: 979px) {
    .adaptive .container,
    .adaptive .footer .footer-in,
    .adaptive .for-content .direction_block_2 {
        width: 724px;
    }
    .adaptive .for-content .direction_text {
        position: relative;
        top: 0;
        width: 100%;
        padding: 40px;
    }
    .adaptive .for-content .direction_block_title {
        font-size: 42px;
    }
    .adaptive .for-content .about_block,
    .adaptive .for-content .offer_block {
        padding: 40px;
    }
    .adaptive .menu-vertical {
        margin-bottom: 30px;
    }
    h1#page_main_header {
        font-size: 2rem;
    }
    .adaptive .umi-second-content #center_column {
        padding: 30px;
    }
}
@media screen and (max-width: 767px) {
    .adaptive .container,
    .adaptive .footer .footer-in,
    .adaptive .for-content .direction_block_2 {
        width: calc(100% - 40px);
        padding: 0 20px;
    }
    .adaptive .for-content .direction_block_2 {
        height: 500px;
    }
    .adaptive .for-content .direction_block_title {
        font-size: 36px;
    }
    .adaptive .for-content .direction_text {
        padding: 30px;
    }
    .h2 .h2_content,
    .mainpage_catalog_title .h2_content {
        font-size: 2rem;
    }
    .adaptive .special_offers .items_catalog .simple_catalog_item .object_title a {
        font-size: 1rem;
    }
    h1#page_main_header {
        font-size: 1.8rem;
    }
    .adaptive .umi-second-content #center_column {
        padding: 20px;
    }
    .adaptive .breadcrumbs ul {
        font-size: 0.9rem;
        padding: 8px 15px;
    }
    .adaptive .footer .footer-in .umi-footer {
        flex-flow: column wrap;
        padding: 40px;
    }
    .adaptive .footer .search {
        position: relative;
        top: auto;
        margin: 20px 0 30px;
    }
}
@media screen and (max-width: 480px) {
    .adaptive .for-content .direction_block_title {
        font-size: 28px;
    }
    .adaptive .for-content .direction_block_subtitle {
        font-size: 24px;
    }
    .adaptive .for-content .direction_text {
        padding: 20px;
    }
    .adaptive .for-content .direction_block_2 {
        height: 400px;
    }
}
/* === ПЕРЕОПРЕДЕЛЕНИЕ ШИРИНЫ КОЛОНОК И ФОНА === */
.row-fluid .span6:first-child {
    width: 58.3333%; /* 7 колонок из 12 — левая шире */
    margin-right: 2.12766%;
}

.row-fluid .span6:last-child {
    width: 39.5319%; /* 5 колонок из 12 — правая уже */
    background: #FFFFFF !important; /* белый фон вместо синего */
}
.row-fluid .span6:last-child {
    background: #FFFFFF !important; /* белый фон */
    max-height: 400px;             /* ограничиваем высоту (подберите нужное значение) */
    overflow-y: auto;             /* если контент не влезает, появится скролл */
    padding: 20px;                 /* при необходимости оставьте отступы */
}
.row-fluid .span6:last-child,
.row-fluid .span6:last-child *,
.span6:last-child,
.span6:last-child > * {
    background: #FFFFFF !important;
    background-color: #FFFFFF !important;
    background-image: none !important; /* убирает градиенты / картинки фона */
    box-shadow: none !important;        /* убирает синие тени */
    border-color: #E2E8F0 !important; /* нейтральная граница (опционально) */
}

/* На мобильных устройствах возвращаем полную ширину */
@media screen and (max-width: 767px) {
    .row-fluid .span6:first-child,
    .row-fluid .span6:last-child {
        width: 100%;
        margin-right: 0;
        background: #FFFFFF;
    }
}
/* === ОТСТУП ДЛЯ ХЛЕБНЫХ КРОШЕК, ЧТОБЫ НЕ ПРЯТАЛИСЬ ПОД ШАПКОЙ === */
.adaptive .span12 {
    margin-top: 30px; /* отступ от закреплённой шапки */
}
@media screen and (max-width: 767px) {
    .adaptive .span12 {
        margin-top: 100px; /* меньший отступ на мобильных */
    }
}
/* === ПРИНУДИТЕЛЬНОЕ РАЗМЕЩЕНИЕ НАЗВАНИЙ ТОВАРОВ В 3 СТРОКИ === */
/* Убираем всё, что может обрезать текст */
.adaptive .special_offers .items_catalog .simple_catalog_item .object_title,
.adaptive .services-catalog-wrapper .items_catalog .simple_catalog_item .object_title,
.adaptive .items_catalog.mainpage_items_catalog .simple_catalog_item .object_title {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    display: block !important;
    min-height: 3.6em !important;  /* 3 строки при line-height 1.2 */
    line-height: 1.2 !important;
    max-height: none !important;
    padding: 0 8px !important;
    margin: 10px 0 !important;
}

.adaptive .special_offers .items_catalog .simple_catalog_item .object_title a,
.adaptive .services-catalog-wrapper .items_catalog .simple_catalog_item .object_title a,
.adaptive .items_catalog.mainpage_items_catalog .simple_catalog_item .object_title a {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    display: inline-block !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    line-height: 1.2 !important;
    max-height: none !important;
}

/* Дополнительно — для любых других списков каталога */
.adaptive .items_catalog .simple_catalog_item .object_title,
.adaptive .items_catalog .simple_catalog_item .object_title a {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    word-break: break-word !important;
    min-height: 3.6em !important;
    line-height: 1.2 !important;
}
/* === ЦЕНТРИРОВАНИЕ ВСЕХ ЗАГОЛОВКОВ В КАРТОЧКАХ === */
.simple_catalog_item .object_title,
.simple_catalog_item .object_title a {
    text-align: center !important;
    justify-content: center !important;
    display: block !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Дополнительно — центрируем всю карточку, если родительский контейнер задаёт смещение */
.simple_catalog_item {
    text-align: center !important;
}