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

<main class="main">

	<section class="flex:col pad-tb-50">
		<div class="flex:col-max">
			<div class="grid:fr-1 g-gap-40">
				<a class="btn-back" href="#" onclick="window.history.back();return false;">Назад</a>
				<div class="text-tmp title-48 title-tt-up">
					<h1>{$section.name}</h1>
					<img src="{$section.image.original}" alt="{$section.name}">
				</div>
				<div class="text-tmp title-48 title-tt-up max-w-768 x-center">
					{$section.content|page_break:null nofilter}
				</div>
			</div>
		</div>
	</section>

	{* Другие услуги *}
	{fetch_sections assign=services from=3 status="V" image=true}{if !empty($services)}
		<section class="flex:col pad-tb-50">
			<div class="flex:col-max">
				<div class="grid:fr-1 g-gap-40">
					<div class="block-head">
						<div class="text-tmp title-40 title-tt-up title-accent-2"><h2>Другие услуги</h2></div>
					</div>

					<div class="grid:fr-4 g-gap-20 max">
						{foreach item=service from=$services name=services}{if $service.sectionId ne $section.sectionId}
							{* service item *}
							{include file="items/service.tpl"}
							{* /service item *}
						{/if}{/foreach}
					</div>
				</div>
			</div>
		</section>
	{/if}
	{* /Другие услуги *}

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

</main>


{include file="footer.tpl"}