{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 *}

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


	{fetch_sections assign=branches from=$section.sectionId status="V" getContent=true}{if !empty($branches)}
	<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-36 title-tt-up title-accent ">
						<h2>Наши филиалы</h2>
					</div>
				</div>

				<div class="grid:fr-3 g-gap-20 max">
					{foreach from=$branches item=branch}
						<div class="contact-card">
							<div class="text-tmp title-18 title-accent"><h3>{$branch.name}</h3></div>
							{$branch.content nofilter}
						</div>
					{/foreach}
				</div>
			</div>
		</div>
	</section>
	{/if}

	<div class="flex:col pad-tb-50">
		<div class="flex:col-max">
			<div class="map" id="map"></div>
		</div>
	</div>

</main>



{include file="footer.tpl"}