

/* Start:/local/templates/fdplast/components/bitrix/news/25years/bitrix/news.list/.default/style.css?17908330792874*/
/* ========== Блок 5 v2: Почему выбирают FDplast ========== */

.advantages-section-v2 {
  background: var(--c-white);
  padding: 80px 40px 90px;
}

.advantages-container-v2 {
  max-width: 1800px;
  padding: 30px 50px;
  margin: 0 auto;
  background: url(/local/ico/Group.svg) var(--c-navy-800);
  background-position: 30% 40%;
  border-radius: 16px;
}

.advantages-container-v2-top-line {
  display: flex;
  flex-wrap: nowrap;
  margin-bottom: 100px;
}

.advantages-container-v2-IMG {
  width: 25%;
  display: flex;
  justify-content: center;
}

.advantages-container-v2-text {
  width: 75%;
  padding: 2.1vw 0 0 0;
}

.advantages-container-v2-IMG img {
  height: fit-content;
}

.advantages-container-v2-text p {
  width: 80%;
  max-width: 1000px;
  color: var(--c-white);
  margin: 0 auto;
  text-align: center;
}

.advantages-title-v2 {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  color: var(--c-white);
  text-align: center;
  line-height: 1.2;
  padding: 0 0 25px 0;
border-bottom:none;
}

.advantages-grid-v2 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 32px;
}

.advantage-item-v2 {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.advantage-item__icon-v2 {
  width: 72px;
  height: 72px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.advantage-item__icon-v2--wide {
  width: 100px;
}

.advantage-item__icon-v2 svg,
.advantage-item__icon-v2 img,
.advantage-item__icon-v2 object {
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  pointer-events: none;
}

.advantage-item__title-v2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: 12px;
  line-height: 1.3;
}

.advantage-item__text-v2 {
  font-size: 15px;
  line-height: 1.1;
  color: var(--c-white);
  max-width: 280px;
}

/* ===== Адаптив ===== */
@media (max-width: 1100px) {
  .advantages-section-v2 {
    padding: 60px 28px 70px;
  }

  .advantages-grid-v2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 24px;
  }
}

@media (max-width: 600px) {
  .advantages-container-v2 {
    padding: 90px 20px;
  }

  .advantages-container-v2-top-line {
    flex-wrap: wrap;
  }

  .advantages-container-v2-IMG {
    width: 100%;
    margin: 0 0 25px 0;
  }

  .advantages-container-v2-text {
    width: 100%;
  }

  .advantages-title-v2 {
    padding: 0;
  }

  .advantages-section-v2 {
    padding: 48px 20px 56px;
  }

  .advantages-title-v2 {
    margin-bottom: 36px;
  }

  .advantages-grid-v2 {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .advantage-item__icon-v2 {
    width: 64px;
    height: 64px;
    margin-bottom: 18px;
  }

  .advantage-item__title-v2 {
    font-size: 17px;
  }

  .advantage-item__text-v2 {
    font-size: 14px;
  }
}
/* End */


/* Start:/local/templates/fdplast/components/bitrix/news.list/main_page_novosti/style.css?17917586177818*/
/* ========== Блок 6: Реализованные объекты ========== */

.cases-section {
  background: var(--c-white);
  padding: 70px 40px 80px;
  width: 100%;
  overflow: hidden;
}

.cases-header {
  max-width: 1800px;
  margin: 0 auto 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cases-title {
  font-size: clamp(26px, 2.8vw, 36px);
  font-weight: 700;
  color: var(--c-navy-900);
  line-height: 1.2;
  border-bottom: none;
}

.cases-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 500;
  color: var(--c-navy-600);
  transition: opacity .2s;
  white-space: nowrap;
}

.cases-link:hover { opacity: .75; }
.cases-link svg { width: 18px; height: 18px; }

/* Основная раскладка */
.cases-main {
  max-width: 1800px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  gap: clamp(16px, 3vw, 24px);
}

/* ========== Левый блок «Документы» ========== */
.cases-main-links-wrap {
  width: 350px;
  flex-shrink: 0;
  background: var(--c-navy-800);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-self: stretch;
  position: relative;
  overflow: visible;
}

.cases-links-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 25px;
}

.cases-links-top-img {
  margin-top: -12%;
  height: auto;
  max-width: 70%;
  display: block;
}

.cases-links-top h2 {
  font-size: clamp(28px, 5vw, 36px);
  font-weight: 300;
  color: var(--c-white);
  text-align: center;
  width: 100%;
  margin-bottom: 0;
  line-height: 1;
  border-bottom: none;
}

.cases-links {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.cases-links__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 26px;
  border-top: 1px solid #0269e1bd;
  color: var(--c-white);
  font-size: 14.5px;
  font-weight: 600;
  transition: background .2s;
  text-decoration: none;
}

.cases-links__item:hover {
  background: rgba(255, 255, 255, 0.1);
}

.cases-links__item img {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
}

.cases-links__item span {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ========== Правый блок с каруселью ========== */
.cases-carousel-wrap {
  flex: 1;
  min-width: 0;
}

.cases-wrapper {
  position: relative;
}

/* ========== Embla Carousel ========== */
.embla {
  overflow: hidden;
  width: 100%;
}

.embla__viewport {
  overflow: hidden;
  padding: 15px 0;
  margin: -15px 0;
}

.embla__container {
  display: flex;
  align-items: stretch;
  gap: 20px;
  will-change: transform;
}

.embla__slide {
  /* perPage: 3.2 — 3 полных + 20% от четвёртого, gap 20px */
  flex: 0 0 calc((100% - 20px * 2.2) / 3.2);
  min-width: 0;
  height: auto;
  display: flex;
  padding: 5px 0;
}

.embla__slide .case-card {
  width: 100%;
}

/* ========== Кнопки навигации ========== */
.cases-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--c-white);
  box-shadow: 0 4px 12px rgba(11, 31, 74, 0.15);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .2s, background .2s, color .2s;
  color: var(--c-navy-900);
}

.cases-arrow:hover {
  background: var(--c-navy-600);
  color: var(--c-white);
}

.cases-arrow:disabled {
  opacity: 0.3;
  cursor: default;
}

.cases-arrow svg {
  width: 20px;
  height: 20px;
}

.cases-arrow--prev { left: -8px; }
.cases-arrow--next { right: -8px; }

/* ========== Карточка кейса ========== */
.case-card {
  background: var(--c-white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(11, 31, 74, 0.07);
  border: 1px solid var(--c-border-soft);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: box-shadow .25s;
}

.case-card:hover {
  box-shadow: 0 10px 28px rgba(11, 31, 74, 0.12);
}

/* Пропорциональная картинка — форма сохраняется на любой ширине */
.case-card__image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--c-bg-soft);
}

.case-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.case-card:hover .case-card__image img {
  transform: scale(1.04);
}

.case-card__body {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.case-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.case-card__city {
  display: inline-block;
  background: var(--c-navy-600);
  color: var(--c-white);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
}

.case-card__date {
  font-size: 13px;
  color: var(--c-muted-soft);
}

.case-card__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--c-navy-900);
  line-height: 1.35;
  margin-bottom: 8px;
}

.case-card__text {
  font-size: 13px;
  line-height: 1.5;
  color: var(--c-muted);
}

.case-card__text strong {
  color: var(--c-navy-900);
}

/* ============================================================
   Адаптив
   ============================================================ */

/* ===== 1024–1439px: 2.2 слайда (2 полных + 20% от третьего) ===== */
@media (max-width: 1439px) and (min-width: 1024px) {
  .embla__container { gap: 18px; }

  .embla__slide {
    /* perPage: 2.2 */
    flex: 0 0 calc((100% - 18px * 1.2) / 2.2);
  }
}

/* ===== Перестройка левого блока «Документы» ===== */
@media (max-width: 1100px) {
  .cases-section { padding: 50px 24px 60px; }

  .cases-main {
    flex-direction: column;
    align-items: stretch;
  }

  .cases-main-links-wrap {
    width: 100%;
    align-self: auto;
    flex-direction: row;
    flex-wrap: nowrap;
    margin-top: 40px;
    margin-bottom: 20px;
  }

  .cases-links-top {
    width: 50%;
    display: flex;
    flex-direction: column;
    padding: 40px 0;
    margin: 0;
  }

  .cases-links-top-img {
    margin: 0;
    max-width: 40%;
    align-self: center;
  }

  .cases-links-top h2 {
    margin-top: 15px;
  }

  .cases-links {
    width: 50%;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    padding: 16px;
    margin-top: 0;
  }

  .cases-links__item {
    padding: 10px 14px;
    font-size: 13.5px;
  }
}

/* ===== ≤1023px: 1.2 слайда (1 полный + 20% от второго) ===== */
@media (max-width: 1023px) {
  .embla__container { gap: 14px; }

  .embla__slide {
    /* perPage: 1.2 */
    flex: 0 0 calc((100% - 14px) / 1.2);
  }
}

/* ===== Мобильные ≤767px: остаётся 1.2, но чуть плотнее ===== */
@media (max-width: 767px) {
  .embla__container { gap: 12px; }

  .embla__slide {
    /* perPage: 1.2 */
    flex: 0 0 calc((100% - 12px) / 1.2);
  }

  .cases-arrow { display: none; }

  /* На мобилке карточка узкая — картинку делаем чуть повыше */
  .case-card__image { aspect-ratio: 16 / 10; }

  .case-card__title { font-size: 14px; }
  .case-card__text  { font-size: 12px; }
}

/* ===== Узкие телефоны ===== */
@media (max-width: 640px) {
  .cases-main-links-wrap {
    flex-direction: column;
    margin-top: 50px;
    order: 1;
  }

  .cases-links-top {
    width: 100%;
    padding: 0;
  }

  .cases-links-top-img {
    margin-top: -12%;
    max-width: 60%;
  }

  .cases-links {
    width: 100%;
    flex-direction: column-reverse;
    align-items: stretch;
    margin-top: 0;
  }

  .case-card {
    width: 100%;
  }
}
/* End */
/* /local/templates/fdplast/components/bitrix/news/25years/bitrix/news.list/.default/style.css?17908330792874 */
/* /local/templates/fdplast/components/bitrix/news.list/main_page_novosti/style.css?17917586177818 */
