

/* Start:/local/templates/grandfayans/components/bitrix/news.list/advantages-2/style.css?17889591693301*/
.advantage-v2-block{
    margin-bottom: 54px;
}
.advantage-v2{
    display: flex;
    flex-wrap: wrap;
    margin: -18px;
}
.advantage-v2-item{
    flex: 0 0 100%;
    max-width: calc(100% / 3);
    padding: 18px;
}

.advantage-v2-wrap{
    border: 1px solid #BCD1E8;
    border-radius: 17px;
    overflow: hidden;
    padding: 24px 16px;
    display: flex;
    min-height: 200px;
    height: 100%;
    position: relative;
    background: #fff;
}

.advantage-v2-item:nth-child(1) .advantage-v2-wrap,
.advantage-v2-item:nth-child(3) .advantage-v2-wrap,
.advantage-v2-item:nth-child(5) .advantage-v2-wrap {
    border-color: #0E4C92;
}
.advantage-v2-img-block{
    flex: 0 0 120px;
    margin-top: -10px;
}
.advantage-v2-title{
    font-weight: 600;
    font-size: 17px;
    line-height: 21px;
    color: #333333;
    margin-bottom: 8px;
}
.advantage-v2-desc{
    font-weight: 400;
    font-size: 13px;
    line-height: 19px;
    color: #333333;
}


@property --adv-glow-angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

/* Цвет и скорость свечения для чётных карточек */
.advantage-v2-wrap {
    --adv-glow-color: #5BA8E8;   /* чуть ярче, чем #BCD1E8, чтобы читалось на белом */
    --adv-glow-speed: 3s;        /* скорость одного оборота */
}

/* Цвет свечения для нечётных карточек — в тон их тёмной рамки */
.advantage-v2-item:nth-child(1) .advantage-v2-wrap,
.advantage-v2-item:nth-child(3) .advantage-v2-wrap,
.advantage-v2-item:nth-child(5) .advantage-v2-wrap {
    --adv-glow-color: #0E4C92;
}

.advantage-v2-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 2px;
    background: conic-gradient(
            from var(--adv-glow-angle),
            transparent 0deg,
            transparent 240deg,
            var(--adv-glow-color) 320deg,
            transparent 360deg
    );
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity .3s ease;
    pointer-events: none;
    z-index: 2;
}

.advantage-v2-wrap:hover::before {
    opacity: 1;
    animation: adv-glow-spin var(--adv-glow-speed) linear infinite;
}

@keyframes adv-glow-spin {
    to { --adv-glow-angle: 360deg; }
}

/* Отключаем анимацию, если пользователь просит меньше движения */
@media (prefers-reduced-motion: reduce) {
    .advantage-v2-wrap::before { animation: none; }
}

@media (max-width: 1220px) {
    .advantage-v2{
        margin: -9px;
    }
    .advantage-v2-item{
        max-width: 50%;
        padding: 9px;
    }
    .advantage-v2-wrap{
        min-height: 150px;
    }
}
@media (max-width: 860px) {
    .advantage-v2-item {
        max-width: 100%;
    }
}
@media (max-width: 420px) {
    .advantage-v2-wrap{
        padding: 12px 10px;
        min-height: auto;
        flex-direction: column;
    }
    .advantage-v2-img-block{
        display: flex;
        align-items: center;
        justify-content: center;
    }

}
/* End */


/* Start:/local/templates/grandfayans/components/custom/variable.set/consultation-order/style.css?17900822094576*/
.consultation-order-block{
    margin-bottom: 114px;
}
.consultation-order-wrap{
    background-color: #06579A;
    border-radius: 8px;
    padding: 40px;
    display: flex;
    justify-content: space-between;
}
.consultation-order-left{
    max-width: 665px;
    width: 100%;
    margin-right: 15px;
}
.consultation-order-title {
    font-weight: 700;
    font-size: 40px;
    line-height: 100%;
    display: flex;
    align-items: center;
    letter-spacing: 0.349607px;
    color: #FFFFFF;
    margin-bottom: 15px;
}
.consultation-order-desc{
    font-size: 15px;
    line-height: 18px;
    display: flex;
    align-items: center;
    letter-spacing: 0.209764px;
    color: #FFFFFF;
    margin-bottom: 63px;
}
.consultation-order-btn {
    border: 1px solid #FFFFFF;
    outline: none;
    font-weight: 500;
    font-size: 18px;
    line-height: 100%;
    color: #06579A;
    background: #fff;
    border-radius: 6px;
    padding: 21px 31px;
    cursor: pointer;
}
.consultation-order-img-block{
    position: relative;
    width: 305px;
    height: 254px;
    background-color: #fff;
    border-radius: 18px;
}
.consultation-order-img-block img{
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    max-width: 258px;
}
.consult-block{
    margin-bottom: 60px;
}
.consult-wrap{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(90deg, #0E4C92 0%, #023B7B 100%);
    border-radius: 37px;
    overflow: hidden;
    padding: 28px;
}
.consult-decor{
    position: absolute;
    bottom: -5px;
    left: 345px;
}
.consult-title{
    font-style: normal;
    font-weight: 600;
    font-size: 27px;
    line-height: 27px;
    color: #FFFFFF;
    margin-bottom: 13px;
}
.consult-desc{
    font-style: normal;
    font-weight: 400;
    font-size: 15px;
    line-height: 19px;
    color: #FFFFFF;
    max-width: 424px;
    margin-bottom: 26px;
}
.consult-btn-block{
    display: flex;
    align-items: center;
}
.consult-btn{
    margin-right: 24px;
    font-style: normal;
    font-weight: 800;
    font-size: 13px;
    line-height: 19px;
    text-transform: uppercase;
    color: #FFFFFF;
    background: #0E4C92;
    border: 2px solid #62A8F6;
    border-radius: 11px;
    padding: 11px 20px;
    cursor: pointer;
}
.consult-btn-text{
    font-style: normal;
    font-weight: 400;
    font-size: 15px;
    line-height: 17px;
    color: #FFFFFF;
    max-width: 230px;
}
.consult-left{
    flex: 1;
    position: relative;
    z-index: 5;

}
.consult-right{
    flex: 0 0 100%;
    max-width: 522px;
    height: 100%;
    display: flex;
    position: relative;
    z-index: 5;
}
.consult-manager{
    width: 100%;
    height: 100%;
    background-color: #fff;
    border-radius: 37px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.consult-manager-img{
    margin-bottom: 5px;
}
.consult-manager-title{
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    line-height: 19px;
    color: #0E4C92;
    margin-bottom: 5px;
    text-align: center;
}
.consult-manager-desc{
    font-style: normal;
    font-weight: 400;
    font-size: 13px;
    line-height: 15px;
    text-align: center;
    color: #333333;
}
@media (max-width: 1120px) {
    .consult-right{
        flex: 1;
        margin-left: 20px;
    }
    .consult-wrap{
        padding: 22px;
        border-radius: 27px;
    }
    .consult-manager{
        border-radius: 27px;
    }
}
@media (max-width: 920px) {
    .consult-wrap{
        flex-direction: column;
    }
    .consult-right{
        margin-left: 0;
        margin-top: 20px;
        width: 100%;
    }
    .consult-desc,
    .consult-title{
        text-align: center;
    }
}
@media (max-width: 580px) {
    .consult-btn-block{
        flex-direction: column;
    }
    .consult-btn{
        margin-right: 0;
        margin-bottom: 15px;
    }
    .consult-btn-text{
        text-align: center;
    }
}
@media (max-width: 380px) {
    .consult-title{
        font-size: 18px;
        line-height: 1.2;
    }
    .consult-btn-text,
    .consult-desc{
        font-size: 13px;
        line-height: 1.2;
    }
    .consult-manager-title{
        font-size: 16px;
    }
    .consult-manager-desc{
        font-size: 12px;
    }
}
/* End */
/* /local/templates/grandfayans/components/bitrix/news.list/advantages-2/style.css?17889591693301 */
/* /local/templates/grandfayans/components/custom/variable.set/consultation-order/style.css?17900822094576 */
