<? if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED !== true) die();
/** @var array $arParams */
/** @var array $arResult */
/** @global CMain $APPLICATION */
/** @global CUser $USER */
/** @global CDatabase $DB */
/** @var CBitrixComponentTemplate $this */
/** @var string $templateName */
/** @var string $templateFile */
/** @var string $templateFolder */
/** @var string $componentPath */
/** @var CBitrixComponent $component */
$this->setFrameMode(true);
// верхний блок
$img = CFile::GetPath($arResult["PROPERTIES"]['BG']["VALUE"]);
if (!$img) {
    $img = SITE_TEMPLATE_PATH . "/images/bg/bg-hero-solutions-xl.webp";
}

$img1921 = CFile::GetPath($arResult["PROPERTIES"]['BG_1921']["VALUE"]);
if (!$img1921) {
    $img1921 = SITE_TEMPLATE_PATH . "/images/bg/bg-hero-solutions-xl.webp";
}
$img768 = CFile::GetPath($arResult["PROPERTIES"]['BG_768']["VALUE"]);
if (!$img768) {
    $img768 = SITE_TEMPLATE_PATH . "/images/bg/bg-hero-solutions-d.webp";
}
$img767 = CFile::GetPath($arResult["PROPERTIES"]['BG_767']["VALUE"]);
if (!$img767) {
    $img767 = SITE_TEMPLATE_PATH . "/images/bg/bg-hero-solutions.webp";
}


//архитектура
$arch = CFile::GetPath($arResult["PROPERTIES"]['SOLUTION_IMG']["VALUE"]);
$arch1921 = CFile::GetPath($arResult["PROPERTIES"]['SOLUTION_IMG_1921']["VALUE"]);
$arch768 = CFile::GetPath($arResult["PROPERTIES"]['SOLUTION_IMG_768']["VALUE"]);
$arch767 = CFile::GetPath($arResult["PROPERTIES"]['SOLUTION_IMG_767']["VALUE"]);

// Фон  продуктов
$productBg = CFile::GetPath($arResult["PROPERTIES"]['PRODUCT_BG']["VALUE"]);
if (!$productBg) {
    $productBg = SITE_TEMPLATE_PATH . "/images/composition-solution/composition-solution.png";
}

$productBg768 = CFile::GetPath($arResult["PROPERTIES"]['PRODUCT_BG_768']["VALUE"]);
if (!$productBg768) {
    $productBg768 = SITE_TEMPLATE_PATH . "/images/composition-solution/composition-solution-xl.webp";
}

$productBg767 = CFile::GetPath($arResult["PROPERTIES"]['PRODUCT_BG_767']["VALUE"]);
if (!$productBg767) {
    $productBg767 = SITE_TEMPLATE_PATH . "/images/composition-solution/composition-solution.png";
}

//иконка ремонта
$remontIcon = CFile::GetPath($arResult["PROPERTIES"]['REMONT_ICON']["VALUE"]);

if (is_array($arResult['PROPERTIES']['TASKS_TITLE']['~VALUE'])){
    $taskTitle=$arResult['PROPERTIES']['TASKS_TITLE']['~VALUE']['TEXT'];
} else  $taskTitle="Для каких задач<br>подойдет";

if (is_array($arResult['PROPERTIES']['SOLUTION_TITLE']['~VALUE'])){
    $solutionTitle=$arResult['PROPERTIES']['SOLUTION_TITLE']['~VALUE']['TEXT'];
} else  $solutionTitle="как работает<br> решение";

if (is_array($arResult['PROPERTIES']['PRODUCTS_TITLE']['~VALUE'])){
    $productTitle=$arResult['PROPERTIES']['PRODUCTS_TITLE']['~VALUE']['TEXT'];
} else  $productTitle="Продукты";

if (is_array($arResult['PROPERTIES']['ADVANTAGES_TITLE']['~VALUE'])){
    $advantagesTitle=$arResult['PROPERTIES']['ADVANTAGES_TITLE']['~VALUE']['TEXT'];
} else  $advantagesTitle="преимущества<br>решений UDV Group";

if (is_array($arResult['PROPERTIES']['OTHER_TITLE']['~VALUE'])){
    $otherTitle=$arResult['PROPERTIES']['OTHER_TITLE']['~VALUE']['TEXT'];
} else  $otherTitle="другие решения для защиты вашего бизнеса";

if ($arResult['PROPERTIES']['TASK_TAG']['VALUE']){
    $taskTag=$arResult['PROPERTIES']['TASK_TAG']['VALUE'];
} else  $taskTag="возможности";

if ($arResult['PROPERTIES']['ARCH_TAG']['VALUE']){
    $archTag=$arResult['PROPERTIES']['ARCH_TAG']['VALUE'];
} else  $archTag="архитектура";

if ($arResult['PROPERTIES']['PRODUCT_TAG']['VALUE']){
    $productTag=$arResult['PROPERTIES']['PRODUCT_TAG']['VALUE'];
} else  $productTag="состав решения";

if ($arResult['PROPERTIES']['ADVANTAGES_TAG']['VALUE']){
    $advantagesTag=$arResult['PROPERTIES']['ADVANTAGES_TAG']['VALUE'];
} else  $advantagesTag="преимущества";

if ($arResult['PROPERTIES']['OTHERS_TAG']['VALUE']){
    $othersTag=$arResult['PROPERTIES']['OTHERS_TAG']['VALUE'];
} else  $othersTag="решения UDV Group";

if ($arResult['PROPERTIES']['NAME']['VALUE']){
    $name=$arResult['PROPERTIES']['NAME']['VALUE'];
} else    $name=mb_ucfirst($arResult['NAME']);

?>


    <section class="page-section page-section--p-t-header">
       <div class="hero hero--corporate-network" data-animate="hero-block">
            <div class="container container--no-p">
                <div class="hero__inner">
                    <div class="hero__bg">
                        <div class="hero__bg-gradient">
                            <picture>
                                <source media="(min-width: 1921px)"
                                        srcset="<?= $img1921 ?>"
                                        type="image/webp">
                                <source media="(min-width: 768px)"
                                        srcset="<?= $img768 ?>"
                                        type="image/webp">
                                <source media="(max-width: 767px)"
                                        srcset="<?= $img767 ?>"
                                        type="image/webp">
                                <img src="<?= $img ?>"
                                     srcset="<?= $img ?>"
                                     alt="Изображение" width="2520" height="1300" loading="lazy">
                            </picture>

                        </div>
                    </div>
                    <div class="hero__bg-pixels hero__bg-pixels--t-l" data-pixels="hero-solutions-t-l"
                         data-pixels-qty="88">
                    </div>
                    <div class="hero__bg-pixels hero__bg-pixels--b-r" data-pixels="hero-solutions-b-r"
                         data-pixels-qty="96">
                    </div>
                    <div class="hero__container">
                        <div class="breadcrumbs hero__breadcrumbs">
                            <ol class="breadcrumbs__list">
                                <li class="breadcrumbs__item">
                                    <a href="/" class="breadcrumbs__link">

                                        <span class="breadcrumbs__link-text">Главная</span>

                                    </a>
                                </li><li class="breadcrumbs__item">
                                    <a class="breadcrumbs__link" href="/solutions/">

                                        <span class="breadcrumbs__link-text">Решения</span>

                                    </a>
                                </li><li class="breadcrumbs__item">
          <span class="breadcrumbs__link breadcrumbs__link--current">

            <span class="breadcrumbs__link-text"><?=$name?></span>

</span>
                                </li>
                            </ol>
                        </div>
                        <div class="hero__img" data-animate="hero-image-d-index">


                            <picture>
                                <source media="(min-width: 768px)"
                                        srcset="<?= $arResult["DETAIL_PICTURE"]["SRC"] ?>"
                                        type="image/webp">
                                <source media="(max-width: 767px)"
                                        srcset="<?= $arResult["DETAIL_PICTURE"]["SRC"] ?>"
                                        type="image/webp">
                                <img src="<?= $arResult["DETAIL_PICTURE"]["SRC"] ?>"
                                     srcset="<?= $arResult["DETAIL_PICTURE"]["SRC"] ?>"
                                     alt="Изображение" width="825" height="740" loading="lazy">

                            </picture>

                        </div>
                        <div class="hero__text-wrap">
                            <div class="hero__title-description-wrap">
                                <?if (is_array($arResult['PROPERTIES']['TITLE']['~VALUE'])){?>
                                    <h1 class="title title--h1 hero__title"><?=$arResult['PROPERTIES']['TITLE']['~VALUE']['TEXT']?></h1>
                                <?}?>
                                <?if (is_array($arResult['PROPERTIES']['TOP_TEXT']['~VALUE'])){?>
                                    <p class="hero__text"><?=$arResult['PROPERTIES']['TOP_TEXT']['~VALUE']['TEXT']?></p>
                                <?}?>

                            </div>
                        </div>
                    </div>

                </div>

            </div>
        </div>

    </section>
    <div class="marquee marquee--solutions marquee--is-init marquee--pt-pb">
        <ul class="marquee__list">
            <?php foreach ($arResult['SPECIALS'] as $item) : ?>
                <li class="marquee__item">
                    <a target="_blank"
                       href="<?= $item['PROPERTY_LINK_VALUE'] ?>"><?= $item['NAME'] ?></a>
                </li>
            <? endforeach; ?>
        </ul>
        <ul class="marquee__list">
            <?php foreach ($arResult['SPECIALS'] as $item) : ?>
                <li class="marquee__item">
                    <a target="_blank"
                       href="<?= $item['PROPERTY_LINK_VALUE'] ?>"><?= $item['NAME'] ?></a>
                </li>
            <? endforeach; ?>
        </ul>
    </div>
    <section class="page-section page-section--no-pt page-section--pt-mob">

        <div class="capability">
            <div class="capability__wrap">
                <div class="capability__bg-wrap">
                    <div class="container capability__container">

                        <div class="capability__inner">
                            <div class="capability__aside">
                                <div class="section-title capability__title">
                                    <div class="section-title__wrap">
                                        <p class="section-title__badge"><?=$taskTag?></p>
                                        <h2 data-animate="title"  class="title title--h2 section-title__title words
                                        lines splitting"><?=$taskTitle?></h2>
                                    </div>

                                </div>
                                <?if ($arResult['PROPERTIES']['REMONT_SHOW']['VALUE']==1){
                                    ?>
                                    <div class="number-element" data-da-max=".capability__main, 767, last">
                                        <div class="number-element__inner">
                                            <div class="number-element__top">
                                                    <span class="number-element__icon <?=($arResult['PROPERTIES']['REMONT_ARROW']['VALUE_ENUM_ID']==21)?'up':''?>">
                                                         <?if ($arResult['PROPERTIES']['REMONT_ARROW']['VALUE_ENUM_ID']){?>
                                                             <svg width="1em" height="1em" viewBox="0 0 51 51"
                                                                  data-icon="icon-arrow-down">
                                                                  <symbol id="ai:local:icon-arrow-down"><path fill="none" stroke="currentColor" stroke-linecap="round"
                                                          stroke-linejoin="round" stroke-width="1.5"
                                                          d="M25.5 40.375v-29.75M14.875 29.75 25.5 40.375M36.125 29.75 25.5 40.375"></path></symbol><use
                                xlink:href="#ai:local:icon-arrow-down"></use>
                                                             </svg>
                                                         <?}?>
                                                    </span>

                                                <p class="number-element__value"><?=$arResult['PROPERTIES']['REMONT_NUMBER']['VALUE']?></p>
                                                    <?if ($remontIcon){?>
                                                    <span class="number-element__image">
                                                        <img src="<?=$remontIcon?>" alt="Картинка" width="51" height="51"
                                                             loading="lazy">
                                                    </span>
                                                <?}?>
                                            </div>
                                            <h4 class="title number-element__title"><?=$arResult['PROPERTIES']['REMONT_TITLE']['VALUE']?></h4>
                                            <div class="number-element__text">
                                                <?if (is_array($arResult['PROPERTIES']['REMONT_TEXT']['~VALUE'])){?>
                                                    <p><?=$arResult['PROPERTIES']['REMONT_TEXT']['~VALUE']['TEXT']?></p>
                                                <?}?>
                                            </div>
                                        </div>
                                    </div>
                                <?}?>
                            </div>
                            <div class="capability__main">
                                <ul class="capability__list">
                                    <?
                                    foreach ($arResult['PROPERTIES']['TASKS']['VALUE'] as $item){

                                        ?>
                                         <li class="capability__item">
                                        <div class="solutions-plate solutions-plate--<?=$item[3]?>">
                                          <span class="solutions-plate__icon">
                                            <svg width="1em" height="1em" viewBox="0 0 18 18" data-icon="card-indicator">
                                                <symbol id="ai:local:card-indicator"><g fill="none"><rect width="17" height="17" x=".5" y=".5" stroke="currentColor" rx="4.5"></rect>
                                                        <rect width="12" height="12" x="3" y="3"  fill="currentColor" rx="2"></rect></g></symbol><use
                                                        xlink:href="#ai:local:card-indicator"></use>

                                            </svg>
                                          </span>
                                            <div class="solutions-plate__inner">
                                                <h1 class="title solutions-plate__title"><?=$item[1]?></h1>
                                                <p><?=$item[2]?></p>
                                            </div>
                                        </div>
                                    </li>
                                    <?$i++;
                                    }?>

                                </ul>
                            </div>
                        </div>

                    </div>
                </div>
            </div>
        </div>

    </section>
    <section class="page-section">

        <div class="architecture">
            <div class="container">

                <div class="architecture__inner">
                    <div class="architecture__aside">
                        <div class="section-title architecture__title">
                            <div class="section-title__wrap">
                                <p class="section-title__badge"><?=$archTag?></p>
                                <h2 data-animate="title"
                                    class="title title--h2 section-title__title words lines splitting"><?=$solutionTitle?></h2>
                            </div>
                            <div class="section-title__text">
                                <?if (is_array($arResult['PROPERTIES']['SOLUTION_TEXT']['~VALUE'])){?>
                                    <p><?=$arResult['PROPERTIES']['SOLUTION_TEXT']['~VALUE']['TEXT']?></p>

                                <?}?>

                            </div>
                        </div>
                        <?if ($arResult['PROPERTIES']['BTN_WRITE']['VALUE']){
                            $btnWrite=$arResult['PROPERTIES']['BTN_WRITE']['VALUE'];
                        } else  $btnWrite="связаться снами";

                        if ($arResult['PROPERTIES']['LINK_WRITE']['VALUE']){
                            $btnLink=$arResult['PROPERTIES']['LINK_WRITE']['VALUE'];
                        } else  $btnLink="#write-to-us-form";
                        ?>

                        <a href="<?=$btnLink?>" data-da-max=".architecture__inner, 767, last"
                           class="button button--size-xl-m button--solid-white architecture__button"><span
                                    class="button__text"><?=$btnWrite?></span><span class="button__icon">
        <svg width="1em" height="1em" viewBox="0 0 20 20" data-icon="icon-arrow-up-right">

  <use xlink:href="#ai:local:icon-arrow-up-right"></use>

</svg>
      </span></a>
                    </div>
                    <div class="architecture__main">
                        <div class="architecture__image-wrap" data-scroll="image">
                            <div class="architecture__image">
                                <?if ($arch){?>
                                    <picture>
                                        <source media="(min-width: 1921px)"
                                                srcset="<?= $arch1921 ?>"
                                                type="image/webp">
                                        <source media="(min-width: 768px)"
                                                srcset="<?= $arch768 ?>"
                                                type="image/webp">
                                        <source media="(max-width: 767px)"
                                                srcset="<?= $arch767 ?>"
                                                type="image/webp">
                                        <img src="<?= $arch ?>"
                                             srcset="<?= $arch ?>"
                                             alt="Картинка" width="1081" height="640" loading="lazy">
                                    </picture>
                                <?}?>

                            </div>
                        </div>
                    </div>


                </div>

            </div>
        </div>

    </section>
    <section class="page-section">

        <div class="composition-solution">
            <div class="composition-solution__wrap">
                <div class="composition-solution__bg-wrap">
                    <div class="composition-solution__bg-image">
                        <picture>
                            <source media="(min-width: 768px)"
                                    srcset="<?= $productBg768 ?>"
                                    type="image/webp">
                            <source media="(max-width: 767px)"
                                    srcset="<?= $productBg767 ?>"
                                    type="image/webp">
                            <img src="<?= $productBg ?>"
                                 srcset="<?= $productBg ?>"
                                 alt="Изображение" width="713" height="944" loading="lazy">

                        </picture>

                    </div>
                    <div class="composition-solution__bg-pixels" data-pixels="composition-solution"
                         data-pixels-qty="98">

                    </div>
                    <div class="container composition-solution__container">

                        <div class="composition-solution__inner">
                            <div class="composition-solution__aside">
                                <div class="section-title composition-solution__title">
                                    <div class="section-title__wrap">
                                        <p class="section-title__badge"><?=$productTag?></p>
                                        <h2 data-animate="title" class="title title--h2 section-title__title words
                                        lines splitting"><?=$productTitle?></h2>
                                    </div>

                                </div>
                            </div>
                            <div class="composition-solution__main">
                                <ul class="composition-solution__list">
                                    <?foreach ($arResult['PRODUCTS'] as $item){
                                        $icon=CFile::GetPath($item["PROPERTY_ICON_VALUE"]);
                                        if ($item['PROPERTY_MORE_LINK_VALUE']){
                                            $moreLink= $item['PROPERTY_MORE_LINK_VALUE'];
                                        } else   $moreLink=$item['DETAIL_PAGE_URL']?>

                                        <li class="composition-solution__item">
                                        <div class="solutions-hubs-scheme-item solutions-hubs-scheme-item--bg-white ">

                                            <a class="solutions-hubs-scheme-item__link"
                                               href="<?= $moreLink?>">
                                                <div class="solutions-hubs-scheme-item__header">
                                                    <h4 class="title   solutions-hubs-scheme-item__title"><?=$item['NAME']?></h4>
                                                    <?if ($icon){?>
                                                        <div class="solutions-hubs-scheme-item__icon">
                                                            <img src="<?=$icon?>" alt="Картинка" width="32"
                                                                 height="32" loading="lazy">

                                                        </div>
                                                     <?}?>
                                                </div>
                                                <div class="solutions-hubs-scheme-item__descriptions">
                                                    <?if (is_array($item['~PROPERTY_SP_PREVIEW_TEXT_VALUE'])){?>
                                                        <p class="solutions-hubs-scheme-item__text"><?=$item['~PROPERTY_SP_PREVIEW_TEXT_VALUE']['TEXT']?></p>
                                                    <?}?>
                                                </div>
                                                <?if ($item['PROPERTY_MORE_BTN_VALUE']){
                                                    $moreBtn=$item['PROPERTY_MORE_BTN_VALUE'];
                                                } else   $moreBtn="Подробнее";

                                                ?>
                                                <span class="solutions-hubs-scheme-item__shownore-wrap">
                                                  <span
                                                          class="solutions-hubs-scheme-item__shownore-text"><?=$moreBtn?></span>
                                                  <svg width="1em" height="1em" viewBox="0 0 20 20" data-icon="icon-arrow-up-right">

                                                      <use xlink:href="#ai:local:icon-arrow-up-right"></use>

                                                    </svg>
                                                 </span>
                                            </a>
                                        </div>
                                    </li>
                                    <?}?>
                                </ul>
                            </div>
                        </div>

                    </div>
                </div>
            </div>
        </div>

    </section>
    <section class="page-section page-section--no-pt page-section--pt-mob">

        <div class="advantages-solutions">
                <div class="advantages-solutions__wrap">
                    <div class="container advantages-solutions__container">

                        <div class="advantages-solutions__inner">
                            <div class="advantages-solutions__header">
                                <div class="section-title section-title--horizontal">
                                    <div class="section-title__wrap">
                                        <p class="section-title__badge"><?=$advantagesTag?></p>
                                        <h2 data-animate="title"
                                            class="title title--h2 section-title__title words lines
                                            splitting"><?=$advantagesTitle?></h2>
                                    </div>
                                    <div class="section-title__text">
                                        <?if (is_array($arResult['PROPERTIES']['ADVANTAGES_TEXT']['~VALUE'])){?>
                                            <p><?=$arResult['PROPERTIES']['ADVANTAGES_TEXT']['~VALUE']['TEXT']?></p>
                                        <?}?>
                                    </div>
                                </div>
                            </div>
                            <div class="advantages-solutions__content">
                                <ul class="advantages-solutions__list">
                                    <?foreach ($arResult['ADVANTAGES'] as $k=>$item){?>
                                        <li class="advantages-solutions__item">
                                        <div class="benefit-plate">
                                            <div class="benefit-plate__image-wrap">
                                                <div class="benefit-plate__bg-decor-wrap">
                                                    <div class="benefit-plate__bg-decor benefit-plate__bg-decor--top">
                                                        <svg width="1em" height="1em" viewBox="0 0 15 15"
                                                             data-icon="icon-plus">
                                                            <symbol id="ai:local:icon-plus">
                                                                <path fill="none" stroke="currentColor"
                                                                      d="M7.5 0v15M0 7.5h15"></path>
                                                            </symbol>
                                                            <use xlink:href="#ai:local:icon-plus"></use>
                                                        </svg>
                                                        <svg width="1em" height="1em" viewBox="0 0 15 15"
                                                             data-icon="icon-plus">
                                                            <use xlink:href="#ai:local:icon-plus"></use>

                                                        </svg>
                                                        <svg width="1em" height="1em" viewBox="0 0 15 15"
                                                             data-icon="icon-plus">

                                                            <use xlink:href="#ai:local:icon-plus"></use>

                                                        </svg>
                                                        <svg width="1em" height="1em" viewBox="0 0 15 15"
                                                             data-icon="icon-plus">

                                                            <use xlink:href="#ai:local:icon-plus"></use>

                                                        </svg>
                                                    </div>
                                                    <div class="benefit-plate__bg-decor benefit-plate__bg-decor--bottom">
                                                        <svg width="1em" height="1em" viewBox="0 0 15 15"
                                                             data-icon="icon-plus">
                                                            <use xlink:href="#ai:local:icon-plus"></use>

                                                        </svg>
                                                        <svg width="1em" height="1em" viewBox="0 0 15 15"
                                                             data-icon="icon-plus">

                                                            <use xlink:href="#ai:local:icon-plus"></use>

                                                        </svg>
                                                        <svg width="1em" height="1em" viewBox="0 0 15 15"
                                                             data-icon="icon-plus">

                                                            <use xlink:href="#ai:local:icon-plus"></use>

                                                        </svg>
                                                        <svg width="1em" height="1em" viewBox="0 0 15 15"
                                                             data-icon="icon-plus">

                                                            <use xlink:href="#ai:local:icon-plus"></use>

                                                        </svg>
                                                    </div>
                                                </div>
                                                <div class="benefit-plate__image">


                                                    <picture>
                                                        <source media="(min-width: 1921px)"
                                                                srcset="<?=$item['IMG_1921']?>"
                                                                type="image/webp">
                                                        <source media="(min-width: 768px)"
                                                                srcset="<?=$item['IMG_768']?>"
                                                                type="image/webp">

                                                        <source media="(max-width: 767px)"
                                                                srcset="<?=$item['IMG_767']?>"
                                                                type="image/webp">
                                                        <img src="<?=$item['PREVIEW_PICTURE']?>"
                                                             srcset="<?=$item['PREVIEW_PICTURE']?>"
                                                             alt="Картинка" width="473" height="473" loading="lazy">
                                                    </picture>
                                                </div>
                                            </div>
                                            <div class="benefit-plate__content-wrap">
                                                <div class="benefit-plate__counter-wrap">
                                                    <span class="benefit-plate__counter">0<?=($k+1)?></span>
                                                </div>
                                                <h3 class="title benefit-plate__title"><?=$item['NAME']?></h3>
                                                <div class="benefit-plate__text">
                                                    <p><?=$item['PREVIEW_TEXT']?></p>
                                                </div>
                                            </div>
                                        </div>
                                    </li>
                                    <?}?>

                                </ul>
                            </div>
                        </div>

                    </div>
                </div>
            </div>
        </div>

    </section>
    <section class="page-section page-section--wide-container">

        <div class="other-solutions">
            <div class="other-solutions__wrap">
                <div class="other-solutions__bg-wrap">
                    <div class="container other-solutions__container">

                        <div class="other-solutions__inner">
                            <div class="other-solutions__aside">
                                <div class="section-title other-solutions__title">
                                    <div class="section-title__wrap">
                                        <p class="section-title__badge"><?=$othersTag?></p>
                                        <h2 data-animate="title"
                                            class="title title--h2 section-title__title words lines
                                            splitting"><?=$otherTitle?></h2>
                                    </div>

                                </div>
                            </div>
                            <div class="other-solutions__main">
                                <ul class="other-solutions__list">
                                    <?foreach ($arResult['OTHERS'] as $item){
                                        if ($item['PROPERTY_SOLUTION_LINK_VALUE']){
                                            $moreSol= $item['PROPERTY_SOLUTION_LINK_VALUE'];
                                        } else   $moreSol=$item['DETAIL_PAGE_URL'];
                                        if ($item['PROPERTY_SOLUTION_PAGE_VALUE']){
                                        $moreText= $item['PROPERTY_SOLUTION_PAGE_VALUE'];
                                        } else   $moreText="На страницу решения";
                                        ?>

                                    <li class="other-solutions__item">
                                        <a class="solutions-item" href="<?=$moreSol?>">
                                            <div class="solutions-item__top">
                                                <h3 class="title solutions-item__title"><?=$item['NAME']?></h3>
                                                <div class="solutions-item__image">
                                                    <picture>
                                                        <source srcset="<?=$item['OTHER_IMG']?>"
                                                                type="image/webp">
                                                        <img src="<?=$item['OTHER_IMG']?>"
                                                             srcset="<?=$item['OTHER_IMG']?>"
                                                             alt="Картинка" width="86" height="86" loading="lazy">
                                                    </picture>
                                                </div>
                                            </div>
                                            <div class="solutions-item__text">
                                                <?if (is_array($item['PROPERTY_OTHER_TEXT_VALUE'])){?>
                                                    <p><?=$item['PROPERTY_OTHER_TEXT_VALUE']['TEXT']?></p>
                                                <?}?>
                                            </div>
                                            <span class="link-underline solutions-item__showmore">
                                          <span class="link-underline__text"><?=$moreText?></span>
                                          <svg width="1em" height="1em" viewBox="0 0 20 20" data-icon="icon-arrow-up-right">

                                          <use xlink:href="#ai:local:icon-arrow-up-right"></use>

                                        </svg>
                                        </span>
                                        </a>
                                    </li>
                                    <?}?>

                                </ul>
                            </div>
                        </div>

                    </div>
                </div>
            </div>
        </div>

    </section>
    <?require($_SERVER["DOCUMENT_ROOT"]."include/form/main_form.php");?>

