

/* Start:/local/templates/general/components/bitrix/news/cases_template/bitrix/news.list/mainblog/style.css?17492074076556*/
/* style.css */

    .banner{
    display: none;
}
.cases .page_13.preim .box .left {
    width: 100%;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;    
}
.cases-section {
    padding: 60px 0;
}

.cases-grid {
    display: grid;
/*    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));*/
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.case-card {
    position: relative;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}
.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}
.slide-container {
    position: relative;
    width: 100%;
    height: 350px;
}

.slide-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/*.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.7));
    color: white;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.5s;
}


.case-card:hover .slider-overlay {background: linear-gradient(to bottom, rgb(0 0 0 / 0%), rgb(0 0 0 / 40%));transition: all 0.5s;}
*/
.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    color: white;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 1;
    overflow: hidden;
}

/* Псевдоэлемент с градиентом */
.slider-overlay::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.7));
    z-index: -1;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

/* При ховере — уменьшаем прозрачность градиента */
.case-card:hover .slider-overlay::before {
    opacity: 0.3;
}

.slider-overlay .top-overlay {
    display: flex;
    justify-content: space-between;
/*    align-items: center;*/
}
.detail-type .text{
    background: #ffffffcf;
    padding: 5px 10px;
/*    border-radius: 15px;*/
    color: #383639;
}

.logo-overlay {
/*    margin-bottom: 20px;*/
    width: 100px;
    height: 100px;
/*    background-color: #383639;*/
    display: flex;
    align-items: center;
    opacity: 1;
    transition: opacity 0.5s ease;
}
.case-card:hover .logo-overlay {
opacity: 0;
}

.logo-overlay .logo-img {
    max-width: 100px;
    max-height: 100px;
    height: auto;
    background-color: white;

}

.slider-content {
    position: relative;
    z-index: 2;
}

.case-title {
    font-size: 24px;
    margin-bottom: 15px;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.case-details {
    margin-bottom: 20px;
}

.detail-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.detail-item .icon {
    margin-right: 10px;
    flex-shrink: 0;
    width: 30px;
    height: 30px;
}

.detail-item .icon img {
    /*width: 20px;
    height: 20px;*/
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn:hover {
    background: #0056b3;
}

.slick-dots {
    bottom: 10px;
}

.slick-dots li button:before {
    color: #fff !important;
}


.cases-section .slide-container {height: 500px;}
.cases .nav {
    padding: 59px 0;
}
@media (max-width: 768px) {
    .cases-grid {
        grid-template-columns: 1fr;
    }
    
    .slide-container {
        height: 250px;
    }
    
    .logo-img {
        max-width: 120px;
    }
}











/* Стили для кнопок prev/next */
.cases-section .slick-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.8);
    border: none;
    font-size: 0;
    cursor: pointer;
    transition: background 0.3s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.cases-section .slick-arrow:hover {
    background: rgba(255,255,255,1);
}

.cases-section .slick-prev {
    left: 15px;
}

.cases-section .slick-next {
    right: 15px;
}

/* Стрелки с использованием псевдоэлементов */
.cases-section .slick-prev::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 50%;
    width: 12px;
    height: 12px;
    border-left: 2px solid #333;
    border-bottom: 2px solid #333;
    transform: translateY(-50%) rotate(45deg);
}

.cases-section .slick-next::before {
    content: "";
    position: absolute;
    right: 14px;
    top: 50%;
    width: 12px;
    height: 12px;
    border-right: 2px solid #333;
    border-top: 2px solid #333;
    transform: translateY(-50%) rotate(45deg);
}
.cases-section .slick-dots .slick-active button {
    background: #ff3366; /* Активный цвет точек */
}

.cases-section .slick-arrow {
    background: rgba(0,0,0,0.5); /* Темные кнопки */
}

.cases-section .slick-arrow::before {
    border-color: #bf94a0; /* Белые стрелки */
}

.cases-section .slick-arrow {
    transition: all 0.3s ease;
}

.cases-section .slick-dots button {
    transition: transform 0.2s, background 0.3s;
}

.cases-section .slick-dots button:hover {
    transform: scale(1.2);
}
.cases .btn {border-radius: 8px;
    padding: 10px 30px;}

@media (max-width: 768px) {
    .cases-section .slick-arrow {
        width: 30px;
        height: 30px;
    }
    
    .cases-section .slick-prev::before {
        left: 10px;
        width: 10px;
        height: 10px;
    }
    
    .cases-section .slick-next::before {
        right: 10px;
        width: 10px;
        height: 10px;
    }
}


/* Анимация появления */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fadeIn {
    animation: fadeIn 0.5s ease-out forwards;
    opacity: 0;
}

/* Стили для кнопки */
.show-more-wrapper {
    text-align: center;
    margin-top: 40px;
}

.btn.btn-secondary {
    background: #f0f0f0;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.btn.btn-secondary:hover {
    background: #e0e0e0;
}
/* End */


/* Start:/local/templates/general/components/bitrix/news.list/faq/style.css?17587660271160*/
.faq-section {
    padding: 80px 0;
    background: #f7f7f7;
}
.faq-section h2 {text-align: center;}

.faq-section .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 15px;
}

.faq-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #333;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.faq-question {
    padding: 40px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    font-size: 22px;
    color: #333;
}

.faq-question::after {
content: '+';
    position: absolute;
    top: 30px;
    right: 40px;
    transition: transform 0.3s;
    font-size: 40px;
}

.faq-question.active::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s;
color: #383639;
    font-size: 20px;
    line-height: 30px;
    position: relative;
    letter-spacing: 0.4px;
}

.faq-answer.active {
    padding: 0 40px 40px;
    max-height: 500px;
}
/* End */


/* Start:/local/components/agbx/reviews/templates/.default/style.css?17722413718804*/
/* /local/components/agbx/reviews/templates/.default/style.css */

/* ── Секция ─────────────────────────────────────────── */
.agbx-reviews-section {
    position: relative;
    padding: 120px 0 60px;
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    line-height: 30px;
}

.agbx-reviews-section h2 {font-family: 'Oranienbaum', sans-serif;
    font-size: 90px;
    color: #383639;
    text-transform: uppercase;
    letter-spacing: -1.2px;
    text-align: center;
}

/* ── Сводный рейтинг ────────────────────────────────── */
.agbx-reviews-summary {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    justify-content: center;
}

.agbx-reviews-summary__score {
    font-size: 52px;
    font-weight: 700;
    line-height: 1;
    color: #1a1a1a;
}

.agbx-reviews-summary__right {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.agbx-reviews-summary__stars {
    display: flex;
    gap: 3px;
}

.agbx-reviews-summary__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #888;
/*    font-size: 13px;*/
}

.agbx-reviews-summary__logo {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ── SVG-звёзды ─────────────────────────────────────── */
.agbx-star {
    width: 26px;
    height: 26px;
    fill: #ddd;
    flex-shrink: 0;
}

.agbx-star--active {
    fill: #ffc107;
}

/* ── Обёртка слайдера ──────────────────────────────── */
.agbx-reviews-owl-wrap {
    position: relative;
    /* Отступы чтобы кнопки prev/next не обрезались */
    padding: 0 48px;
}



/* ── КРИТИЧНО: показываем owl до инициализации ─────── */
.agbx-reviews-owl {
    display: block !important;
}

/* ── Карточка ──────────────────────────────────────── */
.agbx-review-card {
    background: #fff;
    border-radius: 12px;
    padding: 22px 20px 18px;
    box-shadow: 0 2px 16px rgba(0,0,0,.07);
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 320px;
    box-sizing: border-box;
    transition: box-shadow .25s, transform .25s;
    margin-bottom: 20px;
    margin-left: 10px;
    margin-right: 10px;
    cursor: pointer;
}

.agbx-review-card:hover {
    box-shadow: 0 6px 28px rgba(0,0,0,.12);
    transform: translateY(-2px);
}

/* Шапка */
.agbx-review-card__top {
    display: flex;
    align-items: center;
    gap: 10px;
}

.agbx-review-card__avatar {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 50%;
    background: #1e1e1e;
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
}

.agbx-review-card__meta {
    flex: 1;
    min-width: 0;
}

.agbx-review-card__author {
    font-weight: 600;
/*    font-size: 14px;*/
    color: #1a1a1a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.agbx-review-card__author__stars {    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;}
.agbx-review-card__date {
    font-size: 16px;
    color: #bbb;
    margin-top: 2px;
}

.agbx-review-card__yandex {
    flex-shrink: 0;
    opacity: .7;
}

/* Звёзды */
.agbx-review-card__stars {
    display: flex;
    gap: 2px;
}

/* Текст с fade */
.agbx-review-card__text {
/*    font-size: 13px;*/
/*    line-height: 1.65;*/
    color: #555;
    flex: 1;
    max-height: 220px;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, black 90%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 90%, transparent 100%);
    transition: all .25s;
}
.agbx-review-card:hover .agbx-review-card__text {-webkit-mask-image: linear-gradient(to bottom, black 100%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 100%, transparent 100%);
}
/* Ссылка */
.agbx-review-card__link {
    font-size: 16px;
    color: #fc3f1d;
    text-decoration: none;
    font-weight: 500;
    align-self: flex-start;
/*    margin-top: auto;*/
    padding-top: 4px;
}

.agbx-review-card__link:hover {
    text-decoration: underline;
}

/* ── Кастомные кнопки nav ───────────────────────────── */
.agbx-reviews-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #eee;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,.1);
    transition: background .2s, box-shadow .2s, border-color .2s;
    padding: 0;
}

.agbx-reviews-nav:hover {
    background: #bea592;
    border-color: #bea592;
    box-shadow: 0 4px 14px rgba(0,0,0,.15);
}

.agbx-reviews-nav svg {
    width: 20px;
    height: 20px;
    fill: #333;
}

.agbx-reviews-nav:hover svg {fill: #fff;}


.agbx-reviews-nav--prev { left: 0; }
.agbx-reviews-nav--next { right: 0; }

/* ── Dots ───────────────────────────────────────────── */
.agbx-reviews-section .owl-dots {
    margin-top: 24px !important;
    text-align: center;
}

.agbx-reviews-section .owl-dot {
    display: inline-block;
}

.agbx-reviews-section .owl-dot span {
    display: block;
    width: 8px !important;
    height: 8px !important;
    margin: 0 4px !important;
    border-radius: 4px !important;
    background: #ddd !important;
    transition: width .3s, background .3s;
}

.agbx-reviews-section .owl-dot.active span {
    width: 24px !important;
    background: #ffc107 !important;
}

/* ── Кнопка «Оставить отзыв» ───────────────────────── */
.agbx-reviews-footer {
    margin-top: 36px;
    text-align: center;
    display: flex;
    gap: 20px;
    justify-content: center;
}

.agbx-reviews-btn {
    display: inline-flex!important;
    align-items: center;
    gap: 8px;
    padding: 13px 32px;
    border-radius: 999px;
    background: #fc3f1d;
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    letter-spacing: .02em;
    transition: background .2s, transform .15s;
    justify-content: center;
}

.agbx-reviews-btn:hover {
    background: #e0361a;
    transform: translateY(-1px);
}

.btn.review-all-btn {background: #fff;
    border: 1px solid #bea592;
    color: #bea592;}
.btn.review-all-btn:hover {
    background: #bea592;
    color: #fff;
}    

/* ── Пусто ──────────────────────────────────────────── */
.agbx-reviews-empty {
    text-align: center;
    color: #aaa;
    padding: 48px 0;
    font-size: 15px;
}

/* ── Адаптив ────────────────────────────────────────── */
@media (max-width: 600px) {
    .agbx-reviews-summary__score { font-size: 38px; }
    .agbx-review-card { padding: 16px 14px; min-height: 280px; }
    .agbx-review-card__text {max-height: 240px;font-size: 16px;line-height: 26px;}
    .agbx-reviews-summary {flex-direction: column;}
    .agbx-reviews-summary__right {align-items: center;}
    .agbx-review-card__author__stars {display: flex;flex-direction: column;align-items: flex-start;gap: 5px;}
    .agbx-review-card__date {font-size: 14px;}
    .agbx-review-card__avatar {display: none;}
    .agbx-review-card__author {white-space: pre-wrap;}
    .agbx-reviews-owl-wrap {padding: 0;}
    .agbx-reviews-section h2 {font-size: 60px;margin-bottom: 30px;letter-spacing: 0;}
    .agbx-reviews-nav {display: none;}
    .agbx-reviews-footer {justify-content: center;flex-direction: column;align-items: center;}
    .btn.review-all-btn,.btn.agbx-reviews-btn{width: 60%;}
    .agbx-reviews-section .owl-dots {margin-top: 2px !important;}
}

/* End */
/* /local/templates/general/components/bitrix/news/cases_template/bitrix/news.list/mainblog/style.css?17492074076556 */
/* /local/templates/general/components/bitrix/news.list/faq/style.css?17587660271160 */
/* /local/components/agbx/reviews/templates/.default/style.css?17722413718804 */
