{include file="header.tpl" title=$section.name keywords=$section.keywords description=$section.description}

<main class="main">

	{* banner page *}
	{include file="modules/banner.tpl"}
	{* /banner page *}

	<section class="flex:col pad-t-50 over-hide">
		<div class="flex:col-max">
			<div class="grid:fr-1 g-gap-40">
				<div class="both-diff">
					<div class="grid:fr-1 g-gap-40">
						<div class="text-tmp title-40 title-accent-2">
							<h2>{$section.name} «{$config.website_name}»</h2>
							{$section.content|page_break:null nofilter}
						</div>

					</div>

					<div class="grid:fr-1 g-gap-40">
						{* коллонны в цифрах *}
						{include file="blocks/about-numbers.tpl" items=$section}
						{* /коллонны в цифрах *}
					</div>
				</div>
			</div>
		</div>
		<div class="decor-img-left anim-left_js"><img src="{$ASSETS_URL}/images/common/decor/claud-left.png" alt=""></div>
		<div class="decor-img-right anim-right_js"><img src="{$ASSETS_URL}/images/common/decor/claud-right.png" alt=""></div>
	</section>

	{* Почему нам доверяют? *}
	{include file="blocks/why.tpl"}
	{* /Почему нам доверяют? *}

	{* Наша история *}
	{fetch_section assign=historySection section=16 getContent=true}{if !empty($historySection) && $historySection.status eq 'V'}
	<section class="flex:col pad-tb-50">
		<div class="history history_js">
			<div class="flex:col-max">
				<div class="block-head">
					<div class="text-tmp title-40 title-tt-up title-accent-2">
						<h2>{$historySection.name}</h2>
						{$historySection.content|page_break:null nofilter}
					</div>
				</div>
			</div>
			{fetch_sections assign=historys from=$historySection.sectionId status="V" getContent=true image=true}
			<div class="history__inner">
				<div class="history__content history-content_js">
					<div class="history__row">

						{foreach from=$historys item=history name=historys}{if $smarty.foreach.historys.iteration%2!=0}
							<div class="history__item">
								<div class="history__item-date"><span>{$history.name}</span></div>
								<div class="history__item-info">
									<div class="text-tmp title-20 title-accent-2 marg-all-10">
										<h3>{$history.alias}</h3>
										{$history.content|page_break:null nofilter}
									</div>

									<div class="history__item-img">
										<img src="{$history.image.original}" alt="{$history.name}">
									</div>
								</div>
							</div>
						{/if}{/foreach}
					</div>

					<span class="history__line"></span>

					<div class="history__row">
						{foreach from=$historys item=history name=historys}{if $smarty.foreach.historys.iteration%2==0}
							<div class="history__item">
								<div class="history__item-date"><span>{$history.name}</span></div>
								<div class="history__item-info">
									<div class="text-tmp title-20 title-accent-2 marg-all-10">
										<h3>{$history.alias}</h3>
										{$history.content|page_break:null nofilter}
									</div>

									<div class="history__item-img">
										<img src="{$history.image.original}" alt="{$history.name}">
									</div>
								</div>
							</div>
						{/if}{/foreach}
					</div>
				</div>
			</div>
		</div>
	</section>
	{/if}
	{* Наша история *}

	<!-- Котакты -->
	{* Котакты *}
	{include file="blocks/contacts.tpl"}
	{* /Котакты *}

</main>


{include file="footer.tpl"}