/* webit custom */

:root {
    /* --theme-color-1: #dc5c31 !important; */
    --it-theme-color-1: #dc5c31 !important;
}


.it-whychoose-us1 .banner-sub-title::before,
.banner-section-2 .banner-sub-title::before,
.it-whychoose-us1 .section-sub-title:before,
.banner-section-2 .section-sub-title:before,
.it-hovers.dark-section .section-sub-title:before {
    border: 1px solid var(--it-theme-color-1) !important;
    color: var(--it-theme-color-1) !important;
}

.banner-sub-title, .dark-section .section-sub-title, .it-whychoose-us1 .section-sub-title  {color: var(--it-theme-color-1) !important; line-height: 20px; margin-bottom: 0; }

.dark-section .it-features-section2.bg-color-1 { background-color: transparent !important}
.dark-section h2.it-section-header { color: white !important; }


section.darkblock, div.darkblock {min-height: 400px; width: 100%;background-color: #102039; margin: 70px auto; padding-top: 50px;padding-bottom: 50px; color: white;}


.elementor-widget h2 {color: var(--theme-color)}
.elementor-widget h3 {color: var(--theme-color)}
.it-whychoose-us1 [class^="icon-"], .it-whychoose-us1 [class*=" icon-"] {color: var(--it-theme-color-1)}
.choose-area-icon-box .icon-box::before {background-color: transparent}
.it-whychoose-us1 .choose-area-icon-box:hover .icon-box::before {background-color: var(--it-theme-color-1)}




.service-slider-area .icon-box, .service-slider-area:hover .icon-box {
    /*  border: 1px solid #dc5c31 !important; */
    border: 1px solid var(--theme-color) !important;
}

@media (max-width: 767px) {
    .d-pc {display: none}
    .elementor-2953 h2.elementor-heading-title {font-size: 32px}

    .elementor-2953 .elementor-element.elementor-element-dfc93fd h1.banner-title {
        font-size: 36px !important;
        line-height: 40px !important;
    }


    .elementor-hidden-mobile {display: none;}
}
@media (min-width: 768px) {
    .d-mob {display: none}
    .elementor-hidden-desktop {display: none;}
    .header-logo {max-width:220px !important}
    .widget_logo_with_bottom_text img {max-width:220px !important}
}

@media (min-width: 990px) and (max-width: 1660px) {
    .main-menu ul li a {font-size: 14px}
}

.more-service-list {
    list-style: none;
    padding-left: 0;
}

.more-service-list li {
    position: relative;
    padding-left: 20px;
    display: block;
}

.more-service-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    top: 0;
    padding: 8px 0;
    transition: 0.5s;
}


.service-categories-grid p.subtitle {font-weight: 600;font-size: 16px}
.service-categories-grid .content h2  {  font-size: 24px; margin:25px 0 10px; font-family:'Poppins', serif  }

/*  Work process area -- Our Core Expertise  */
.work-process-section .shape-1 {background-image: none !important;}

/* Optional dark overlay for service hero background */
.breadcrumb__thumb.has-dark-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.breadcrumb__thumb.has-dark-overlay::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1;
    pointer-events: none;
}

@media (min-width: 1280px) {
    .service-categories-grid {padding-top: 15px}
    .elementor-element-25d453a .service-slider-area.p-relative .content,
    .service-categories-grid .service-slider-area.p-relative .content {
        min-height: 405px
    }
    .h1.banner-title {line-height: 60px !important;}
    h1.breadcrumb__title.h1-consal-service {margin-bottom: 25px}
    .elementor-element-25d453a .section-space {padding-top: 20px !important;}

    /* Контейнер для кнопки и списка */
    .more-service-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    /* Кнопка всегда видна */
    .more-service-btn {
        position: relative;
        z-index: 10;
    }

    .service-categories-grid .content .icon-box  {  z-index:9;}
    .service-categories-grid .content .icon-box svg  {  width: 44px;height: 44px;z-index: 999; fill: var(--theme-color);position: relative;
        transition: 0.3s ease;}




    .service-categories-grid .content .more-service-overlay {    }
    /* Список дочерних услуг скрыт по умолчанию */
    .service-categories-grid .content .more-service-overlay {
        display: none;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.95); /* можно затемнить/осветлить фон */
        overflow-y: auto;
        padding: 25px 30px;
        box-sizing: border-box;
        list-style: none;
        z-index: 5;
    }

    .content .more-service-overlay {display: none}
    .more-service-overlay {display: none}


    /* Список появляется при наведении на overlay */
    .service-categories-grid .content:hover .more-service-overlay {
        display: block;
    }

    .service-categories-grid .content h2 {transition: 1s}


    /* Стиль элементов списка */
    .more-service-list li {
        margin-bottom: 10px;
        font-weight: 500;
        padding-left: 20px;
    }

    .more-service-list li:last-child {
        margin-bottom: 0;
    }

    .service-slider-area .content .more-service-list li {
        padding:8px 20px;
        border-bottom: 1px solid #eee;
    }

    .service-slider-area {transition: 0.3s}
    .service-slider-area:hover {
        box-shadow: 1px 4px 11px 3px rgb(220, 92, 49, 0.4);
    }
    .service-slider-area:hover .icon-box {border-color: var(--it-theme-color-1) !important }
    .service-slider-area:hover .icon-box:before {
        background-color: var(--it-theme-color-1) !important;
    }
    .service-slider-area:hover .icon-box svg {
        fill: #fff !important;
    }

    .service-slider-area:hover h2 {color:var(--it-theme-color-1);}


    a.it-link-to-service {transition: 0.5s; color: #787878}
    a.it-link-to-service:hover {text-decoration: underline;}
    .service-slider-area .content .more-service-list li {transition: 0.5s;position: relative}
    .service-slider-area .content .more-service-list li:hover {padding:8px 5px 8px 30px;}
    .service-slider-area .content .more-service-list a:hover {color: var(--theme-color)}

}





/* Мобильные стили для списка постов */
@media (max-width: 768px) {
    .service-slider-area .content .more-service-list {
        position: relative; /* не перекрывает весь блок */
        display: block; /* всегда виден на мобильных */
        max-height: 200px; /* ограниченная высота, прокрутка при необходимости */
        overflow-y: auto;
        padding: 10px 15px;
        margin-top: 10px;
        background-color: #f0f0f0; /* светлый фон */
        border-radius: 8px;
        box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    }

    .service-slider-area .content .more-service-list li {
        padding: 8px 0;
        border-bottom: 1px solid #ddd;
    }

    .service-slider-area .content .more-service-list li:last-child {
        border-bottom: none;
    }

    .service-slider-area .content .more-service-list a {
        color: #007bff;
        text-decoration: none;
    }

    .service-slider-area .content .more-service-list a:hover {
        text-decoration: underline;
    }
}

.utp1, .ServiceDetailBlock, .maxwidth1200 {max-width: 1200px;
    margin: auto;}

.it-whychoose-us1 {}
.it-whychoose-us1 .content h5 {margin-bottom: 5px}
.it-whychoose-us1 .content p {line-height: 22px}

.it-whychoose-us1 .choose-area-icon-box {transition: 0.7s;}
.it-whychoose-us1 .choose-area-icon-box:hover {padding-left: 20px}
/*
.it-whychoose-us1 .choose-area-icon-box:hover .content h5 {font-size: 24px}
.it-whychoose-us1 .choose-area-icon-box:hover .content p {font-size: 20px; line-height: 24px;}

 */

.choose-area-icon-box a:hover,
.choose-area-icon-box h5:hover {color:white !important;pointer-events: none;transition: 0s !important;}

.choose-area-icon-box .icon-box {display: flex;align-items: center}
.choose-area-icon-box .icon-box svg {width: 50px;height: 50px;position: relative;fill: var(--it-theme-color-1)}
.choose-area-icon-box:hover .icon-box svg {fill: white}



.it-hero h1  {font-size: 46px}
.it-hero .h1-subtitle {
    color: white;
}
.it-hero .h1-subtitle h2 {
    font-weight: 400;
    margin-bottom: 20px;
    color: #cbd5e1;
    font-size: 32px;

}.it-hero .h1-subtitle h3 {
    font-weight: 400;
    margin-bottom: 20px;
    color: #cbd5e1;
    font-size: 20px;
    line-height: 24px;
}
.it-hero .h1-subtitle span {
   /* color: var(--it-theme-color-1) !important;*/
    font-size: 20px;
}

.it-hero .h1-subtitle span i.fas {font-size: 24px}

.cta {
    background: #2563eb;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    display: inline-block;
    margin-top:25px;

}

.techblocks .wp-block-media-text,
.utp1 .wp-block-media-text {
    -webkit-box-shadow: -1px 10px 24px 5px rgba(0,0,0,0.08);
    box-shadow: -1px 10px 24px 5px rgba(0,0,0,0.08);
    /*border: 1px solid gray; */
    padding: 15px !important;
}

.techblocks > .wp-block-column {transition: 0.5s}
.techblocks > .wp-block-column:hover {margin-top: -5px;}

/* Service Details page content */

.service-details-page h2 {
    font-size: 22px;
    line-height: 32px;
    font-weight: 700;
    text-transform: capitalize;
    color: #3c72fc;
    margin-bottom: 15px;
}

.service-details-page h3 {
    font-size: 22px;
    line-height: 26px;
    font-weight: 400;
    text-transform: capitalize;
}

.utp1 {}

.techblocks .wp-block-media-text p,
.utp1 .wp-block-media-text p {
    margin-bottom: 0;color: black;font-size: 16px;
}

.utp1 .wp-block-media-text p {text-align: left}
.techblocks .wp-block-media-text p {text-align: center}
.techblocks .wp-block-media-text img,
.utp1 .wp-block-media-text img {max-width: 80px;}


.ServiceDetailBlock {
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    padding: 10px;
    background-color: white;
}

.ServiceDetailBlock:hover {
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(1,2,1,0.1);
    padding: 10px;
    background-color: white;
}

.ServiceDetailBlock p {padding:0 15px;margin-bottom: 0;}
.ServiceDetailBlock h2, .ServiceDetailBlock p {padding:0 15px;}
.ServiceDetailBlock p {font-weight: 300;color: black}
.ServiceDetailBlock .wp-block-list {padding:5px 25px 15px 35px !important;list-style: disc}
.ServiceDetailBlock .wp-block-list li {list-style-type: none !important;font-weight: 300}
.ServiceDetailBlock .wp-block-list li:before,
.hover-right .wp-block-list li:before {
    content: "\e921";
    font-family: "icomoon";
    position: relative;
    top: 1px;
    left: -10px;
    color: var(--theme-color);
}

@media (min-width: 768px) {
    .ServiceDetailBlock2col.wp-block-columns {
        align-items: stretch !important;
    }

    .ServiceDetailBlock2col > .ServiceDetailBlock.wp-block-column {
        align-self: stretch !important;
        height: 100%;
        box-sizing: border-box;
    }
}



.hover-right h3 {margin-bottom: 25px}
.hover-right ul {padding-left:15px;color: #787878;margin: 20px 0;}
.hover-right ul + p:last-child {color: black}


.choose-section.bg-color-1.section-space-top.p-relative .col-xxl-6.col-xl-6.col-lg-6.wow.fadeInLeft {
    display: flex;
    align-items: flex-end;
}



/* animation related */

.ServiceDetailBlock {
    animation-delay: 0.7s;
    animation-name: fadeInUp;
}




@media (max-width: 767px) {
    .techblocks .wp-block-media-text__media img,
    .utp1 .wp-block-media-text__media img {margin-bottom: 10px;}
    .utp1 .wp-block-media-text__content p,     .utp1 {text-align: center}
    .ServiceDetailBlock:nth-child(2n+1) {flex-direction: column-reverse}
    .ServiceDetailBlock:nth-child(2n) {flex-direction: column}
}



/* контейнер картинки */
.ServiceDetailBlock .wp-block-image {
    position: relative;
    overflow: hidden;
}

/* overlay */
.ServiceDetailBlock .wp-block-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: 0.3s ease;
    z-index: 1;
}

/* кнопка */
.ServiceDetailBlock .wp-block-image .hover-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: #fff;
    color: #000;
    padding: 12px 24px;
    font-size: 14px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    opacity: 0;
    transition: 0.3s ease;
    z-index: 2;
}

/* 🔥 ВАЖНО: hover теперь на весь блок */
.ServiceDetailBlock:hover .wp-block-image::after {
    opacity: 1;
}

.ServiceDetailBlock:hover .wp-block-image .hover-btn {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}









/* синий блок */

.darkblock {
    background-image: url("/wp-content/uploads/2024/02/shape-15.png") ;
    background-repeat: no-repeat;
}

.darkblock .it-howProcessRun {padding: 90px 30px}
.lightblock .it-howProcessRun {padding: 50px 30px 90px}
.darkblock h2 {color: white}
.darkblock .it-howProcessRun .wp-block-column {background-color: white;padding: 20px}

.lightblock .it-howProcessRun > .wp-block-column  {background-color: #102039; border: 1px solid #102039 }
.lightblock .it-howProcessRun > .wp-block-column h5  {color: white; }

@media (min-width: 1280px) {
    .darkblock {padding-left:100px;padding-right: 100px;}
    .lightblock {padding-left:100px;padding-right: 100px;}
}




.it-howProcessRun {
    gap: 60px; /* увеличим расстояние под стрелки */
}

.it-howProcessRun .wp-block-column {
    position: relative;
    padding: 20px;
    background: #fff; /* если нужен контраст */

}


/* стрелки между блоками */
/*
.it-howProcessRun .wp-block-column:not(:last-child)::after {
    content: "→";
    position: absolute;
    right: -50px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 28px;
    line-height: 1;
}


.it-howProcessRun {
    position: relative;
}

.it-howProcessRun::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    border-top: 2px dashed #ccc;
    transform: translateY(-50%);
    z-index: 0;
}

.it-howProcessRun > * {
    position: relative;
    z-index: 1;
}
*/






.it-howProcessRun {
    counter-reset: step;
}
.lightblock .it-howProcessRun .wp-block-column::before{ color: rgba(255, 249, 249, 0.05)}

/* чтобы текст был поверх */
.it-howProcessRun .wp-block-column > * {
    position: relative;
    z-index: 2;
}

.it-howProcessRun .wp-block-column:nth-child(1) {
    animation-delay: 0.7s;
}

.it-howProcessRun .wp-block-column:nth-child(2) {
    animation-delay: 1.1s;
}

.it-howProcessRun .wp-block-column:nth-child(3) {
    animation-delay: 1.5s;
}

.it-howProcessRun .wp-block-column:nth-child(4) {
    animation-delay: 1.9s;
}

@media (max-width: 768px) {
    .it-howProcessRun {
        flex-direction: column;
        gap: 40px;
    }

    .it-howProcessRun .wp-block-column::before {
        font-size: 80px;
        top: 5px;
        right: 10px;
    }

    .it-howProcessRun .wp-block-column:not(:last-child)::after {
        content: "↓";
        right: 50%;
        top: auto;
        bottom: -25px;
        transform: translateX(50%);
    }
}





.it-howProcessRun {
    counter-reset: step;
}

.it-howProcessRun .wp-block-column h5 {
    position: relative;
    padding-left: 50px;
    margin-bottom: 20px;
    min-height: 60px;
    display: flex;
    align-items: center;
}

/* сам кружок с цифрой */
.it-howProcessRun .wp-block-column h5::before {
    content: counter(step);
    counter-increment: step;

    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);

    width: 36px;
    height: 36px;

    border-radius: 50%;
    background: #2563eb; /* цвет кружка */
    color: #fff;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 16px;
    font-weight: 600;
}

.lightblock .it-howProcessRun .wp-block-column h5::before { background: #fff; /* цвет кружка */
    color: #2563eb;}


h1.banner-title {
    color: #fff;
    font-size: 64px;
    font-style: normal;
    font-weight: 700;
    line-height: 77px;
    padding: 20px 0; }

p.banner-text {
    color: #fff;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 32px;
    padding-bottom: 40px;
    padding-right: 29px; }

.banner-btn-area {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: start;
    gap: 30px; }




/* WORK PROCESS && HowProcessRun2 */
.it-howProcessRun2-wrapper > div {background-image:url("/wp-content/uploads/2024/02/line.png");background-repeat: no-repeat;background-position: 10% 0%}
.work-process-section svg, .work-process-section img {width: 64px;height: 64px}
.it-howProcessRun2 img {width: 64px;height: 64px}
.it-howProcessRun2 .wp-block-column {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.it-howProcessRun2 h4 {padding: 25px 0;width: 100%;white-space: nowrap}
.it-howProcessRun2 .wp-block-column > p {width: 100%;}

.it-howProcessRun2-wrapper {max-width: 1200px;margin: auto}

/* Круг-обёртка: классический Image или Safe SVG (inline) */
.it-howProcessRun2 figure,
.it-howProcessRun2 .wp-block-yuky-icon-font-awesome,
.it-howProcessRun2 .wp-block-safe-svg-svg-icon {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    font-size: 40px;
    background: #fff;
    -webkit-box-shadow: 0px 4px 25px rgba(0, 0, 0, 0.08);
    box-shadow: 0px 4px 25px rgba(0, 0, 0, 0.08);
    color: var(--theme-color);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin: 0 auto;
    position: relative;
    box-sizing: border-box;
}

.it-howProcessRun2 .wp-block-safe-svg-svg-icon {
    text-align: center !important;
}

/* Плагин Safe SVG задаёт inline width/height: 0 — сбрасываем */
.it-howProcessRun2 .wp-block-safe-svg-svg-icon .safe-svg-inside.safe-svg-inline {
    width: 64px !important;
    height: 64px !important;
    min-width: 64px !important;
    min-height: 64px !important;
    max-width: 100% !important;
    max-height: 100% !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: transparent !important;
    background-color: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    color: inherit !important;
}

.it-howProcessRun2 .wp-block-safe-svg-svg-icon svg {
    width: 64px !important;
    height: 64px !important;
    max-width: 100%;
    display: block;
    flex-shrink: 0;
    transition: 0.3s;
}

.it-howProcessRun2 .wp-block-yuky-icon-font-awesome .box-icon i:before {
    color: #3c72fc;
}

.work-process-box .icon-box img {
    transition: 0.3s;
}

.work-process-section .work-process-box:hover .icon-box img {
    filter: brightness(0) invert(1);
}



.it-howProcessRun2 .wp-block-column:hover figure img,
.it-howProcessRun2 .wp-block-yuky-icon-font-awesome:hover .box-icon i:before,
.it-howProcessRun2 .wp-block-column:hover .wp-block-safe-svg-svg-icon svg {
    filter: brightness(0) invert(1);
    position: relative;
    z-index: 2;
    color: white;
}

.it-howProcessRun2 figure:before,
.it-howProcessRun2 .wp-block-yuky-icon-font-awesome:before,
.it-howProcessRun2 .wp-block-safe-svg-svg-icon:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 120px;
    height: 120px;
    background: var(--theme-color);
    background-image: initial;
    background-position-x: initial;
    background-position-y: initial;
    background-size: initial;
    background-repeat: initial;
    background-attachment: initial;
    background-origin: initial;
    background-clip: initial;
    background-color: rgb(60, 114, 252);
    border-radius: 50%;
    -webkit-transform: scale(0);
    -ms-transform: scale(0);
    transform: scale(0);
    -webkit-transition: all 500ms ease;
    -o-transition: all 500ms ease;
    transition: all 500ms ease;
    z-index: 0;
}

.it-howProcessRun2 .wp-block-column:hover figure:before,
.it-howProcessRun2 .wp-block-yuky-icon-font-awesome:hover::before,
.it-howProcessRun2 .wp-block-column:hover .wp-block-safe-svg-svg-icon:before {
    background-color: #3c72fc;
    z-index: 1;
    -webkit-transform: scale(1, 1);
    -ms-transform: scale(1, 1);
    transform: scale(1, 1);
}
.it-howProcessRun2 .wp-block-yuky-icon-font-awesome:hover i.fa-solid:before {
    color: white;
    z-index: 99;
}

.it-howProcessRun2 {
    counter-reset: step;
}

/* Шаг: левый верх над центрированным кругом figure (120px → половина 60px) */
.it-howProcessRun2 .wp-block-column::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    top: -6px;
    left: calc(50% - 60px - 2px);
    z-index: 4;
    width: 35px;
    height: 35px;
    background: #fff;
    color: var(--theme-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    line-height: 1;
    box-sizing: border-box;
    pointer-events: none;
    box-shadow: 0px 4px 25px rgba(0, 0, 0, 0.08);

}

.it-features-section-card * {font-size: 14px;line-height: 18px}


/*
 * Hover: светлый текст поверх градиента родителя (.features-box-area:before).
 * Раньше было .it-features-section-card:hover * { position: relative } — это ломало layout:
 * у .shape-1/2/3 с темы стоит position: absolute; универсальный селектор перебивал его,
 * слои становились «в потоке», контент съезжал вниз при наведении.
 */
.it-features-section-card .features-box-area:hover h3.it-card-header,
.it-features-section-card .features-box-area:hover p,
.it-features-section-card .features-box-area:hover .icon-box,
.it-features-section-card .features-box-area:hover ul,
.it-features-section-card .features-box-area:hover li {
	color: white !important;
	position: relative;
	z-index: 2;
}

.it-features-section-card .icon-box img {width: 40px;height: 40px;margin: auto}
.it-features-section-card ul {padding-left: 10px;
    margin: 20px 0;}
.it-features-section-card ul li {list-style-type: disc;line-height: 16px;margin-bottom: 15px;color: #787878}


.it-features-section-card h3.it-card-header {font-size: 22px;font-weight: 600}
.it-features-section-card h5 {font-size: 16px}

.it-features-section-card .result {color: #000000}

/*
 * IT Features (render.php): колонки .it-features-section-card — одинаковая высота в ряду.
 * Раньше опирались на .wp-block-*, из‑за обёртки/кеша правило могло не попадать в разметку.
 */
.it-features-section.features-section .row.g-4 {
	align-items: stretch !important;
}

.it-features-section.features-section .row.g-4 > .it-features-section-card {
	align-self: stretch !important;
	display: flex !important;
	flex-direction: column !important;
	align-items: stretch;
	min-height: 0;
	box-sizing: border-box;
}

.it-features-section.features-section .row.g-4 > .it-features-section-card > .features-box-area {
	flex: 1 1 auto !important;
	width: 100% !important;
	min-height: 0;
	display: flex !important;
	flex-direction: column !important;
	box-sizing: border-box;
}

/* основной текст карточки тянется вниз внутри блока одинаковой высоты */
.it-features-section.features-section .row.g-4 > .it-features-section-card > .features-box-area > p:last-of-type {
	flex-grow: 1;
	margin-bottom: 0;
}

/* на случай нескольких абзацев подряд — без лишнего раздува промежутков */
.it-features-section.features-section .row.g-4 > .it-features-section-card > .features-box-area > p + p {
	margin-top: 0.5em;
}

/* Gutenberg: таблица сравнения — иконки good/bad через CSS (Font Awesome 6 Pro) */
.it-compare-left-right th,
.it-compare-left-right td {
	padding: 16px 20px;
	vertical-align: middle;
    font-size: 14px;
}

.it-compare-left-right tbody td:first-child::before,
.it-compare-left-right tbody td:nth-child(2)::before {
	content: "";
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	margin-right: 10px;
	border-radius: 50%;
	vertical-align: middle;
	flex-shrink: 0;
	font-family: "Font Awesome 6 Pro", "Font Awesome 6 Free";
	font-weight: 900;
	font-style: normal;
	font-size: 14px;
	line-height: 1;
	-webkit-font-smoothing: antialiased;
	text-rendering: auto;
}

.it-compare-left-right tbody td:first-child::before {
	content: "\f057"; /* fa-solid fa-circle-xmark */
	background: rgba(220, 92, 49, .1);
	border: 1px solid rgba(220, 92, 49, .22);
	color: var(--it-theme-color-1, #dc5c31);
}

.it-compare-left-right tbody td:nth-child(2)::before {
	content: "\f058"; /* fa-solid fa-circle-check */
	background: rgba(60, 114, 252, .1);
	border: 1px solid rgba(60, 114, 252, .22);
	color: var(--theme-color, #3c72fc);
}

/* если заголовок в tbody (без thead) — первый ряд без иконок */
.it-compare-left-right:not(:has(thead)) tbody tr:first-child td::before {
	content: none;
	display: none;
}





#header-sticky.header-style-two .primary-btn-1 {border:1px solid #ffffff}
#header-sticky.header-style-two .primary-btn-1:hover span {background-color: var(--it-theme-color-1) !important;}
.header-link .primary-btn-1.btn-hover:hover, .primary-btn-1 span {background-color: var(--theme-color) !important;}
.primary-btn-1:hover {/*color: black !important; border: 1px solid #3c72fc !important;*/}




/*  HEADER fixes */
.header-style-two.sticky {background-color: #3a486f !important}
.header-style-two.sticky .primary-btn-1 {background-color: var(--it-theme-color-1) !important;    border: 1px solid #FFFFFF}



.breadcrumb__wrapper .h1-subtitle ul li {margin-bottom: 5px !important}
.breadcrumb__wrapper .h1-subtitle ul li:last-child span {color: unset}
.breadcrumb__wrapper .h1-subtitle p, .breadcrumb__wrapper .h1-subtitle ul li {
    color: #787878;
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 15px;
    line-height: 26px;
}





.it-minicard-wrapper {
    align-items: center;
}


.it-minicard-wrapper p {
    line-height: 1.25em;
    width: 80%;
    font-size: 14px;
}

.it-minicard-wrapper .wp-block-yuky-icon-font-awesome {
    width: 20%;
    min-width: 0;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--it-theme-color-1);
}

/* Квадратная ячейка без круга: широкие FA-глифы не вылезают за родителя */
.it-minicard-wrapper .wp-block-yuky-icon-font-awesome i {
    box-sizing: border-box;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    line-height: 1;
    overflow: hidden;
    color: rgba(60, 114, 252) !important;
    background: rgba(60, 114, 252, .10);
    border: 1px solid rgba(60, 114, 252, .18);
}

.it-minicards-parent > .wp-block-columns {
    margin-bottom: 30px;
    padding: 0 15px;
}

@media (max-width: 767px) {
    .it-minicard-wrapper {margin-left: 0 !important;}
}

.it-content1180 {
    max-width: 1180px;
    padding:10px;
    margin-left: auto;
    margin-right: auto;
}



/* HOVER TABS*/
/* MAIN LAYOUT */

.hover-layout {
    display: flex;
    gap: 40px;
}

section.it-hovers h2.section-title,
.dark-section h2.it-section-title  {

    color: white !important;
    margin: 20px auto 45px auto;
    font-size: 32px !important;

}

.hover-layout .wp-block-columns {
    width: 100%;
    align-items: stretch !important;
}

.hover-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
}

.hover-right {
    position: relative;
    box-sizing: border-box;
    min-width: 0;
}


/* LEFT ITEMS */
.it-hovers {min-height: 800px;position: relative}
.it-hovers:before {content: '';
    background-image: url("images/shape-34.png");
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;

}

.hover-item {
    position: relative;
    padding: 30px;
    /*border-radius: 28px; */
    background: #ffffff;
    cursor: pointer;
    transition: all .3s ease;
    border: 2px solid transparent;
    /*overflow: hidden;*/
}

.hover-item:hover,
.hover-item.active {
    /*    border-color: #ff7a45; */
    transform: translateY(-2px);

}

.hover-buttons-wrapper .hover-item {position: relative}
.hover-buttons-wrapper .hover-item::before {
        content: "";
        position: absolute;
        top: 50%;
        -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        transform: translateY(-50%);
        right: -35px;
        width: 35px;
        height: 60px;
        background: #fff;
        -webkit-clip-path: polygon(100% 49%, 0 0, 0 100%);
        clip-path: polygon(100% 49%, 0 0, 0 100%);
        transition: all .3s ease;


}
.hover-buttons-wrapper .hover-item:hover,
.hover-buttons-wrapper .hover-item.active {
    background-color: var(--theme-color);
}
.hover-buttons-wrapper .hover-item.active p {color: white}

.hover-buttons-wrapper .hover-item.active:before {
    background-color: var(--theme-color);
}
.hover-buttons-wrapper .hover-item:hover p {color: white;}

.hover-buttons-wrapper {display: flex;gap: 15px;flex-direction: column}
.hover-buttons-wrapper p {margin-bottom: 0;}


/* OPTIONAL GLOW */
/*
.hover-item.active::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
            135deg,
            rgba(255,122,69,0.08),
            rgba(255,122,69,0)
    );
    pointer-events: none;
}
*/

/* RIGHT CONTENT */

.tab-content {
    display: none;
    color: black;
    /* background: white;

   border-radius: 32px;*/
    padding: 50px;
    animation: fadeTab .35s ease;
    height: 100%;
}

.hover-right .tab-content {
    display: none !important;
}

.hover-right .tab-content.active {
    display: block !important;
}



/* TYPOGRAPHY */

.tab-content h2,
.tab-content h3,
.tab-content h4 {
    color: black;
    margin-top: 0;
}

.tab-content p {
    opacity: 0.9;
    line-height: 1.7;
}

.hover-buttons-wrapper {
    flex-shrink: 0;
}

.hover-buttons-wrapper .hover-item {
    width: 100%;
    box-sizing: border-box;
}

.hover-right .tab-content {
    background-color: #fff;
}

.hover-right .tab-content .wp-block-group__inner-container {padding-top: 50px}

@media (min-width: 769px) {
    .hover-layout {
        align-items: flex-start;
    }

    .hover-layout .wp-block-columns {
        align-items: flex-start !important;
    }

    .hover-layout .hover-right {
        display: flex;
        flex-direction: column;
    }

    .hover-layout .hover-right .tab-content.active {
        display: flex !important;
        flex-direction: column;
        flex: 1 1 auto;
        min-height: 100%;
        height: 100%;
        box-sizing: border-box;
        overflow-y: auto;
    }

    .hover-layout .hover-right .tab-content.active > .wp-block-group__inner-container {
        flex: 1 1 auto;
        min-height: 100%;
        box-sizing: border-box;
    }
}
    .hover-buttons-wrapper {
        flex-shrink: 0 !important;
    }
    .hover-right,
    .tab-content,
    .tab-content * {
        min-width: 0;
        overflow-wrap: anywhere;
        word-break: break-word;
    }
    .hover-layout.it-content1180 > div {width: 100%}
    .tab-content {
        overflow-wrap: anywhere;
    }


    /* ANIMATION */

    @keyframes fadeTab {

        from {
            opacity: 0;
            transform: translateY(10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }

    }


    /* MOBILE */

    @media (max-width: 768px) {

        .hover-layout .wp-block-columns {
            flex-direction: column;
        }

        .tab-content {
            padding: 30px;
        }

    }



    .it-bg-color1 {background-image: url('images/shape-35.png');
        background-color: var(--theme-color-1);
    background-size: cover}
}


/*end*/

/* new style*/

.it-cards-section {
    background: #102039;
    padding: 60px 20px;
    font-family: 'Inter', 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
}
.it-cards-section *,
.it-cards-section *::before,
.it-cards-section *::after {
    box-sizing: border-box;
}
.it-cards-container {
    max-width: 1320px;
    margin: 0 auto;
}
.it-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
@media (max-width: 1100px) {
    .it-cards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .it-cards-grid { grid-template-columns: 1fr; }
    .it-cards-section { padding: 40px 16px; }
}
.it-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 32px 28px;
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    row-gap: 20px;
}
.it-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(60, 114, 252, 0.15);
}
.it-card-icon {
    width: 56px;
    height: 56px;
    background: #eeedfe;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.it-card-icon i {
    font-size: 26px;
    color: #3c72fc;
}
.it-card-title {
    color: #102039 !important;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
}
.it-card-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
.it-card-list li {
    position: relative;
    padding: 6px 0 6px 22px;
    color: #4a5568;
    font-size: 14px;
    line-height: 1.55;
    list-style: none !important;
}
.it-card-list li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 14px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #3c72fc;
}
.it-card-result {
    padding: 16px;
    background: #f5f7ff;
    border-left: 3px solid #3c72fc;
    border-radius: 4px;
    color: #102039;
    font-size: 13px;
    line-height: 1.5;
    height: 120px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.it-card-result strong {
    color: #3c72fc;
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.it-card-result p {
    margin: 0;
    color: #102039;
}
.it-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 32px;
    height: 32px;
    background: #3c72fc;
    border-radius: 32px 0 0 0;
    opacity: 0.9;
    pointer-events: none;
}





/* cc */
