/home/bdqbpbxa/demo-subdomains/smt.goodface.com.ua/wp-content/themes/smt/front-page.php
<?php get_header(); ?>
<div class="block intro light-background">
<div class="container row-container">
<div class="left">
<p class="text text1 black-color effect effect-bottom"><?php $first = get_field('first_block'); echo $first['first_block_text1']; ?></p>
<p class="heading heading1 black-color uppercase effect effect-bottom"><?php echo $first['first_block_title']; ?></p>
<div class="circle-block effect">
<div class="circle">
<a href="#models" class="anchor">
<div class="dynamic">
<svg xmlns="http://www.w3.org/2000/svg" width="120" height="120" viewBox="0 0 120 120">
<defs>
<path id="circlePath" d="M 60, 60 m -43, 0 a 43,43 0 0,1 86,0 a 43,43 0 0,1 -86,0"/>
</defs>
<g>
<text fill="#E1E1E1">
<textPath xlink:href="#circlePath"><?php if ('uk' == pll_current_language()): echo 'Дізнатися більше ▪ Дізнатися більше ▪'; elseif ('ru' == pll_current_language()): echo 'Узнать больше ▪ Узнать больше ▪'; endif; ?></textPath>
</text>
</g>
</svg>
</div>
<div class="static">
<svg xmlns="http://www.w3.org/2000/svg" width="44" height="43" fill="none" viewBox="0 0 44 43">
<path fill="#E1E1E1" fill-rule="evenodd" d="M20 35.172V0h4v35.172l16.586-16.586 2.828 2.828L22 42.828.586 21.414l2.828-2.828L20 35.172z" clip-rule="evenodd"/>
</svg>
</div>
</a>
</div>
</div>
<div class="model">
<model-viewer class="model-viewer" src="<?php $second = get_field('second_block'); $slider = $second['second_block_slider']; echo $slider[0]['second_block_slide_file']; ?>" alt="model" camera-controls disable-zoom loading="lazy" interaction-prompt-threshold="0" camera-orbit="45deg 75deg 105%"></model-viewer>
</div>
</div>
<div class="right">
<p class="text text1 black-color effect effect-bottom"><?php echo $first['first_block_text2']; ?></p>
</div>
</div>
</div>
<div class="block models light-background">
<div class="container">
<p class="heading heading1 black-color uppercase with-arrow effect effect-bottom"><?php echo $second['second_block_title']; ?></p>
<?php if (count($slider) > 1): ?>
<div class="slider-hint effect"><?php if ('uk' == pll_current_language()): echo 'Гортайте для перегляду'; elseif ('ru' == pll_current_language()): echo 'Листайте для просмотра'; endif; ?></div>
<?php endif; ?>
</div>
<div class="slider model-slider">
<?php if ($slider): foreach ($slider as $slide): ?>
<div class="slide">
<div class="image effect">
<img src="<?php echo $slide['second_block_slide_image']; ?>" alt="image">
</div>
<div class="slide-content">
<p class="heading heading2 black-color uppercase effect effect-bottom"><?php echo $slide['second_block_slide_title']; ?></p>
<div class="text text2 black-color effect effect-bottom"><?php echo $slide['second_block_slide_text']; ?></div>
</div>
<div class="model">
<model-viewer class="model-viewer" src="<?php echo $slide['second_block_slide_file']; ?>" alt="model" camera-controls disable-zoom loading="lazy" interaction-prompt-threshold="0" camera-orbit="45deg 75deg 105%"></model-viewer>
</div>
</div>
<?php endforeach; endif; ?>
</div>
<div class="container">
<div id="models" class="slider-content">
<div class="slide-content">
<p class="heading heading2 black-color uppercase effect effect-bottom"><?php $firstContent = $slider[0]; echo $firstContent['second_block_slide_title']; ?></p>
<div class="text text2 black-color effect effect-bottom"><?php echo $firstContent['second_block_slide_text']; ?></div>
</div>
<?php if (count($slider) > 1): ?>
<div class="slide-counter effect">
<span class="current-number"></span><span> / </span><span class="total-number"></span>
</div>
<?php endif; ?>
</div>
</div>
</div>
<div class="block solutions light-background"></div>
<div class="block company dark-background">
<div class="container">
<div class="row">
<div class="col col-6">
<p class="heading heading1 gray-color uppercase effect effect-bottom"><?php $fourth = get_field('fourth_block'); echo $fourth['fourth_block_title']; ?></p>
<div class="text-block effect effect-bottom">
<div class="text text1 gray-color text-more"><?php echo $fourth['fourth_block_text']; ?></div>
<div class="more"><?php if ('uk' == pll_current_language()): echo 'Читати далі'; elseif ('ru' == pll_current_language()): echo 'Читать дальше'; endif; ?></div>
</div>
</div>
<div class="col col-6">
<div class="numbers effect">
<?php $numbers = $fourth['fourth_block_numbers']; if ($numbers): foreach ($numbers as $number): ?>
<div class="number">
<div class="row-container">
<div class="left">
<div class="character">
<span data-character="<?php echo $number['fourth_block_number_big']; ?>">0</span><?php if ($number['fourth_block_number_small']): ?>/ <?php echo $number['fourth_block_number_small']; endif; ?>
</div>
</div>
<div class="right">
<p class="text text1 gray-color"><?php echo $number['fourth_block_number_text']; ?></p>
</div>
</div>
</div>
<?php endforeach; endif; ?>
</div>
</div>
</div>
<div class="row-container">
<div class="left">
<div class="images">
<?php $images = $fourth['fourth_block_standard_images']; if ($images): foreach ($images as $image): ?>
<div class="image effect">
<img src="<?php echo $image; ?>" alt="image">
</div>
<?php endforeach; endif; ?>
</div>
</div>
<div class="right effect effect-bottom">
<p class="text text1 gray-color"><?php echo $fourth['fourth_block_standard_text']; ?></p>
</div>
</div>
</div>
</div>
<div class="block advantages light-background">
<div class="container">
<div class="row-container">
<div class="left">
<div class="circle-block effect">
<div class="circle">
<div class="dynamic">
<svg xmlns="http://www.w3.org/2000/svg" width="192" height="192" viewBox="0 0 192 192">
<defs>
<path id="circlePath2" d="M 96, 96 m -76, 0 a 76,76 0 0,1 152,0 a 76,76 0 0,1 -152,0"/>
</defs>
<g>
<text fill="#E1E1E1">
<textPath xlink:href="#circlePath2"><?php if ('uk' == pll_current_language()): echo 'Переваги ▪ Переваги ▪ Переваги ▪ Переваги ▪'; elseif ('ru' == pll_current_language()): echo 'Преимущества ▪ Преимущества ▪ Преимущества ▪'; endif; ?></textPath>
</text>
</g>
</svg>
</div>
<div class="static">
<span><?php $fifth = get_field('fifth_block'); $advantages = $fifth['fifth_block_advantages']; echo count($advantages); ?></span>
</div>
</div>
</div>
</div>
<div class="right">
<p class="heading heading1 black-color uppercase effect effect-bottom"><?php echo $fifth['fifth_block_title']; ?></p>
</div>
</div>
<div class="row effect">
<?php if ($advantages): foreach ($advantages as $advantage): ?>
<div class="col col-4">
<div class="advantage">
<div class="icon">
<img src="<?php echo $advantage['fifth_block_advantage_icon']; ?>" alt="icon">
</div>
<p class="heading heading2 black-color uppercase"><?php echo $advantage['fifth_block_advantage_title']; ?></p>
<p class="text text1 black-color"><?php echo $advantage['fifth_block_advantage_text']; ?></p>
</div>
</div>
<?php endforeach; endif; ?>
</div>
</div>
</div>
<div class="block clients dark-background">
<div class="container row-container">
<div class="left">
<p class="heading heading1 gray-color uppercase effect effect-bottom"><?php $sixth = get_field('sixth_block'); echo $sixth['sixth_block_title']; ?></p>
</div>
<div class="right effect">
<div class="icons">
<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" fill="none" viewBox="0 0 48 48">
<path fill="#FF6501" fill-rule="evenodd" d="M16.586 16.586C20.078 13.093 22 7.692 22 0h4c0 7.692 1.922 13.093 5.414 16.586C34.907 20.078 40.308 22 48 22v4c-7.692 0-13.093 1.922-16.586 5.414C27.922 34.907 26 40.308 26 48h-4c0-7.692-1.922-13.093-5.414-16.586C13.093 27.922 7.692 26 0 26v-4c7.692 0 13.093-1.922 16.586-5.414zM12.239 24c2.779 1.074 5.181 2.592 7.175 4.586 1.994 1.994 3.512 4.396 4.586 7.175 1.074-2.779 2.592-5.182 4.586-7.175 1.994-1.994 4.396-3.512 7.175-4.586-2.779-1.074-5.182-2.592-7.175-4.586-1.994-1.994-3.512-4.396-4.586-7.175-1.074 2.779-2.592 5.181-4.586 7.175-1.994 1.994-4.396 3.512-7.175 4.586z" clip-rule="evenodd"/>
</svg>
<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" fill="none" viewBox="0 0 48 48">
<path fill="#FF6501" fill-rule="evenodd" d="M16.586 16.586C20.078 13.093 22 7.692 22 0h4c0 7.692 1.922 13.093 5.414 16.586C34.907 20.078 40.308 22 48 22v4c-7.692 0-13.093 1.922-16.586 5.414C27.922 34.907 26 40.308 26 48h-4c0-7.692-1.922-13.093-5.414-16.586C13.093 27.922 7.692 26 0 26v-4c7.692 0 13.093-1.922 16.586-5.414zM12.239 24c2.779 1.074 5.181 2.592 7.175 4.586 1.994 1.994 3.512 4.396 4.586 7.175 1.074-2.779 2.592-5.182 4.586-7.175 1.994-1.994 4.396-3.512 7.175-4.586-2.779-1.074-5.182-2.592-7.175-4.586-1.994-1.994-3.512-4.396-4.586-7.175-1.074 2.779-2.592 5.181-4.586 7.175-1.994 1.994-4.396 3.512-7.175 4.586z" clip-rule="evenodd"/>
</svg>
</div>
<p class="text text1 gray-color"><?php echo $sixth['sixth_block_text']; ?></p>
</div>
</div>
<div class="container">
<div class="row">
<div class="col col-6 effect">
<div class="client client1">
<p class="heading heading2 gray-color uppercase with-star"><?php echo $sixth['sixth_block_clients_type1']; ?></p>
<div class="icon icon1">
<svg xmlns="http://www.w3.org/2000/svg" width="284" height="284" fill="none" viewBox="0 0 284 284">
<path class="path" fill="#E1E1E1" fill-rule="evenodd" d="M7.8 283.6c-4.2 0-7.6-3.4-7.6-7.6V95.4c0-4.2 3.4-7.6 7.6-7.6h94.499l48.3-.1h96.5v-40c0-4.1 3.4-7.4 7.8-7.6h1.1l1.1.1c14.7.6 26.6 12.7 26.6 27.6V258c-.1 14.2-11.7 25.7-25.9 25.7h-250v-.1zm268.299-44.2c-4.9-4.7-11.3-7.4-18-7.4-.331 0-.868.068-1.496.148l-.001.001-.403.051c-.5 0-.9 0-1.3-.1-.9-.1-1.6-.4-2.2-.8-1-.7-1.5-1.7-1.5-2.9V47.8c0-.9.3-1.7.8-2.3.5-.5 1-.9 1.7-1.1.5-.2 1.2-.3 1.8-.3.15 0 .3.025.45.05.15.025.3.05.45.05 12.9.1 23.4 10.7 23.4 23.6v175.3l-3.7-3.7zM7.799 91.8c-2 0-3.6 1.6-3.6 3.6v180.599c0 2 1.6 3.6 3.6 3.6h250.1c12 0 21.8-9.8 21.8-21.8s-9.8-21.8-21.9-21.8h-.7c-2.7 0-5.2-.6-6.9-1.7-2.1-1.3-3.1-3.3-3.1-5.9v-136.6h-94.6l-52.2.2h-92.5v-.2z" clip-rule="evenodd"/>
<path class="path" fill="#E1E1E1" d="M32.4 258.3c-2.7 0-4.8-2.2-4.8-4.8v-38.3c0-2.7 2.2-4.8 4.8-4.8H219c2.7 0 4.8 2.2 4.8 4.8v38.3c0 2.7-2.2 4.8-4.8 4.8H32.4zm-.8-4.1h188.1v-39.8h-15.3v9.8c0 .6-.2 1.1-.5 1.4-.3.3-.9.5-1.4.5-.6 0-1.2-.2-1.5-.5-.4-.3-.5-.8-.5-1.3v-9.8h-15.2v15.4c0 .6-.2 1.1-.5 1.4-.3.3-.9.5-1.4.5-.6 0-1.2-.2-1.5-.5-.4-.3-.6-.8-.6-1.3v-15.4h-15.2v9.8c0 .6-.2 1.1-.5 1.4-.3.3-.9.5-1.4.5-.6 0-1.2-.2-1.5-.5-.4-.3-.5-.8-.5-1.3v-9.8H147v15.4c0 .6-.2 1.1-.5 1.4-.3.3-.9.5-1.4.5-.6 0-1.2-.2-1.5-.5-.4-.3-.5-.8-.5-1.3v-15.4h-15.2v9.8c0 .6-.2 1.1-.5 1.4-.3.3-.9.5-1.4.5-.6 0-1.2-.2-1.5-.5-.4-.3-.6-.8-.6-1.3v-9.8h-15.2v15.4c0 .6-.2 1.1-.5 1.4-.3.3-.9.5-1.4.5-.6 0-1.2-.2-1.5-.5-.4-.3-.6-.8-.6-1.3V215H89.3v9.8c0 .6-.2 1.1-.5 1.4-.3.3-.9.5-1.4.5-.6 0-1.2-.2-1.5-.5-.4-.3-.6-.8-.6-1.3v-9.8H70.1v15.4c0 .6-.2 1.1-.5 1.4-.3.3-.9.5-1.4.5-.6 0-1.2-.2-1.5-.5-.4-.3-.6-.8-.6-1.3v-15.4H50.9v9.8c0 .6-.2 1.1-.5 1.4-.3.3-.9.5-1.4.5-.6 0-1.2-.2-1.5-.5-.4-.3-.6-.8-.6-1.3v-9.8H31.6v38.9zM184.699 126.6l-15.6-.2-85.8-.7-15.7-.2c-.6 0-1 .1-1.3.5-.3.4-.5.9-.5 1.5s.2 1.1.5 1.5c.3.4.8.6 1.4.6l13.6.1 89.8.9 13.7.1c.6 0 1-.1 1.3-.5.3-.4.5-.9.5-1.5s-.2-1.1-.5-1.5c-.3-.4-.8-.6-1.4-.6z"/>
<g class="group group1">
<path class="path" fill="#E1E1E1" d="M138.5 63.5l54.744 108.994c.483.963.558 2.08.207 3.099l-5.975 17.327c-1.298 3.763-6.482 4.113-8.273.558L118 72l20.5-8.5z"/>
<path fill="#0C0E0F" d="M134 63.5l54.754 109.016c.478.95.557 2.051.221 3.06L183.5 192 123 72l11-8.5z"/>
</g>
<g class="group group2">
<path class="path" fill="#E1E1E1" d="M114.5 63.5L59.756 172.494a4 4 0 00-.207 3.099l5.975 17.327c1.298 3.763 6.482 4.113 8.273.558L135 72l-20.5-8.5z"/>
<path fill="#0C0E0F" d="M119 63.5L64.246 172.516a4 4 0 00-.22 3.06L69.5 192 130 72l-11-8.5z"/>
</g>
<path class="path" fill="#E1E1E1" d="M107.299 75.2l.8 1.1 2.9 3.1 2.1 1.5c2.4 1.7 5 2.9 7.8 3.6l2.7.7h6l2.7-.6c2.8-.6 5.5-1.8 7.9-3.4l2-1.4 3.1-3.2.8-1.1c4.2-5.5 5.7-12.6 4.2-19.5s-5.8-12.8-11.9-16.1l-1.2-.6.3-29.1c0-3.1-1-5.6-3-7.4-1.8-1.6-4.3-2.5-7.1-2.5-2.7 0-5.2.8-7 2.4-2.1 1.8-3.2 4.3-3.2 7.3l-.3 29.1-1.2.6c-6.1 3.2-10.6 9-12.2 15.9-1.6 6.9-.2 14 3.8 19.6z"/>
<path fill="#0C0E0F" d="M126.9 41.1c-5.2 0-10.4 2.1-14.1 5.7-3.8 3.8-6 8.8-6 14.1-.1 11.1 8.8 20.2 19.9 20.3h.2c11 0 20-8.9 20.1-19.9.1-11.1-8.8-20.2-19.9-20.3l-.2.1zm-.1-4.1c1.3 0 2.6.1 3.9.3l2.5.4.3-27.5c0-1.8-.7-3.4-1.9-4.5-1.1-1-2.6-1.5-4.1-1.6h-.1c-1.5 0-2.9.5-4 1.4-1.3 1.1-2 2.7-2 4.5l-.4 27.6 2.5-.3c1.1-.2 2.2-.3 3.3-.3z"/>
</svg>
</div>
</div>
</div>
<div class="col col-6 effect">
<div class="client client2">
<p class="heading heading2 gray-color uppercase with-star"><?php echo $sixth['sixth_block_clients_type2']; ?></p>
<div class="icon icon2">
<svg xmlns="http://www.w3.org/2000/svg" width="272" height="272" fill="none" viewBox="0 0 272 272">
<g class="group">
<path class="path" fill="#E1E1E1" fill-rule="evenodd" d="M256.927 225.802h12.933c1.222 0 2.139 1.018 2.139 2.137v41.518c0 1.221-1.019 2.137-2.139 2.137H159.166c-1.222 0-2.139-1.018-2.139-2.137v-41.518c0-1.221 1.019-2.137 2.139-2.137h97.761zm10.794 41.823H161.304v-37.142h106.417v37.142z" clip-rule="evenodd"/>
<path class="path" fill="#E1E1E1" d="M219.249 188.151l2.851-1.526-7.536-1.73-7.637 1.73 2.851 1.526-37.577 37.956h6.008l36.355-36.328 36.253 36.328h5.907l-37.475-37.956z"/>
<path class="path" fill="#E1E1E1" d="M216.705 156.708v-47.725h-4.176v49.862c0 1.119.917 2.137 2.139 2.137 6.517 0 11.711 5.291 11.711 11.702 0 6.513-5.295 11.702-11.711 11.702-6.517 0-11.711-5.291-11.711-11.702v-2.137h-4.379v2.137c0 5.8 3.157 11.194 8.351 13.941l2.851 1.526c1.324.611 4.888 1.425 9.471 0l2.851-1.526c7.739-4.172 10.693-13.839 6.517-21.573-2.036-3.867-5.804-6.716-10.081-7.835l-1.833-.509z"/>
</g>
<path fill="#0C0E0F" d="M202 64h25v41h-25z"/>
<path class="path" fill="#E1E1E1" fill-rule="evenodd" d="M41.548 271.898v-22.692h9.267v-76.217c0-.61.204-1.119.611-1.526l17.822-17.808V64.413H2.138C.918 64.413 0 63.395 0 62.276V43.654v-.305c0-.102.102-.305.102-.407l.102-.203c0-.102.101-.102.101-.204.102-.102.102-.203.204-.203l.102-.102.204-.102.102-.102.203-.203L74.848.407h.204c.102 0 .102-.102.102-.102s.102 0 .102-.101c.305-.102.61-.204.814-.204h18.432c.204 0 .408 0 .51.102l175.155 41.415c.102.102.204.102.305.102 0 0 .102 0 .102.102.102 0 .102.102.102.102.407.203.713.508.917.814 0 .102.101.102.101.203 0 .102.102.102.102.204s0 .203.102.407v.203l.102.306v18.214c0 1.221-1.018 2.137-2.139 2.137h-39.409v42.637c0 1.221-1.019 2.137-2.139 2.137h-27.597c-1.222 0-2.139-1.018-2.139-2.137V64.515h-97.15v89.14l17.821 17.808c.408.407.611.916.611 1.526v76.217h9.267V272H41.548v-.102zm83.097-4.274H45.927V253.48h78.718v14.144zm-9.165-18.418h-14.155v-89.547l14.155 14.144v75.403zm-18.534 0H76.681l20.266-20.25v20.25zm-41.853 0v-75.403l14.154-14.042v89.445H55.094zm41.039-25.541l-22.506 22.488v-44.875l22.506 22.387zm.814-5.19l-22.505-22.488L96.946 173.6v44.875zm-.814-50.167l-22.506 22.489V145.82l22.506 22.488zm.814-5.189L74.442 140.63l22.505-22.387v44.876zm-.814-50.167L73.626 135.44V90.565l22.506 22.387zm.814-5.19L74.442 85.273l22.505-22.386v44.875zm129.228-2.951h-23.32V90.768h23.32v14.043zm0-18.418h-23.32v-21.98h23.32v21.98zM89.309 64.413l-15.683 15.67v-15.67H89.31zm178.414-4.376h-37.17V45.995h37.17v14.042zm-41.549 0h-23.32V45.995h23.32v14.042zm-27.597 0h-97.252V45.995h97.252v14.042zm-104.89 0h-20.06V45.995h23.421v10.684l-3.36 3.358zm-24.44 0H4.38V45.995h64.868v14.042zM230.35 41.62H96.641V4.986L251.124 41.62H230.35zm-137.986 0H78.209V4.477h14.155V41.62zm-18.432 0H10.489L73.932 6.004v35.615z" clip-rule="evenodd"/>
</svg>
</div>
</div>
</div>
</div>
<p class="heading heading2 gray-color uppercase effect effect-bottom"><?php echo $sixth['sixth_block_subtitle']; ?></p>
<div class="button-block effect">
<a href="#contacts" class="button big-button anchor"><?php if ('uk' == pll_current_language()): echo 'Залишити заявку'; elseif ('ru' == pll_current_language()): echo 'Оставить заявку'; endif; ?></a>
</div>
</div>
</div>
<div class="block services light-background">
<div class="container">
<p class="heading heading1 black-color uppercase with-arrow effect effect-bottom"><?php $seventh = get_field('seventh_block'); echo $seventh['seventh_block_title']; ?></p>
<div class="row effect">
<?php $services = $seventh['seventh_block_services']; if ($services): foreach ($services as $i => $service): ?>
<div class="col col-4">
<div class="service">
<p class="heading heading2 black-color uppercase"><?php echo $service['seventh_block_service_title']; ?></p>
<p class="text text1 black-color"><?php echo $service['seventh_block_service_text']; ?></p>
<div class="character"><?php echo ($i < 9) ? '0' : ''; echo $i+1; ?></div>
</div>
</div>
<?php endforeach; endif; ?>
</div>
</div>
</div>
<div class="block photos light-background">
<div class="container">
<p class="heading heading1 black-color uppercase effect effect-bottom"><?php $eighth = get_field('eighth_block'); echo $eighth['eighth_block_title']; ?></p>
<?php $photos = $eighth['eighth_block_gallery']; if (count($photos) > 1): ?>
<div class="slider-hint effect"><?php if ('uk' == pll_current_language()): echo 'Гортайте для перегляду'; elseif ('ru' == pll_current_language()): echo 'Листайте для просмотра'; endif; ?></div>
<?php endif; ?>
</div>
<div class="slider photo-slider effect">
<?php if ($photos): foreach ($photos as $photo): ?>
<div class="slide">
<div class="image">
<img src="<?php echo $photo; ?>" alt="image">
</div>
</div>
<?php endforeach; endif; ?>
</div>
<?php if (count($photos) > 1): ?>
<div class="container">
<div class="slider-counter effect">
<span class="current-number"></span><span> — </span><span class="total-number"></span>
</div>
</div>
<?php endif; ?>
</div>
<div class="block questions light-background">
<div class="container">
<p class="heading heading1 black-color uppercase effect effect-bottom"><?php $ninth = get_field('ninth_block'); echo $ninth['ninth_block_title']; ?></p>
<div class="toggles">
<?php $questions = $ninth['ninth_block_questions']; if ($questions): foreach ($questions as $i => $question): ?>
<div class="toggle <?php echo $i == 0 ? 'toggle-open' : ''; ?> effect">
<div class="toggle-label">
<p class="heading heading2 black-color uppercase"><?php echo $question['ninth_block_question_title']; ?></p>
<div class="circle-block">
<div class="circle">
<div class="dots"></div>
</div>
</div>
</div>
<div class="toggle-content">
<p class="text text1 black-color"><?php echo $question['ninth_block_question_text']; ?></p>
</div>
</div>
<?php endforeach; endif; ?>
</div>
</div>
</div>
<div id="contacts" class="block contacts dark-background">
<div class="container">
<p class="heading heading1 gray-color uppercase with-arrow effect effect-bottom"><?php $tenth = get_field('tenth_block'); echo $tenth['tenth_block_title']; ?></p>
<div class="row">
<div class="col">
<div class="before-sent">
<p class="text text1 gray-color effect effect-bottom"><?php echo $tenth['tenth_block_form_text']; ?></p>
<div class="form effect">
<?php if ('uk' == pll_current_language()): echo do_shortcode('[contact-form-7 id="90" title="Відправити заявку"]'); elseif ('ru' == pll_current_language()): echo do_shortcode('[contact-form-7 id="8" title="Отправить заявку"]'); endif; ?>
</div>
</div>
<div class="after-sent sent-hide">
<p class="heading heading2 gray-color uppercase"><?php echo $tenth['tenth_block_message_title']; ?></p>
<p class="text text1 gray-color"><?php echo $tenth['tenth_block_message_text']; ?></p>
</div>
</div>
<div class="col">
<div class="video effect">
<video preload="metadata" autoplay loop muted playsinline>
<source src="<?php echo $tenth['tenth_block_video']; ?>" type="video/mp4">
</video>
</div>
</div>
</div>
<div class="phone-link-block effect effect-bottom">
<p class="heading heading2 gray-color uppercase"><?php echo $tenth['tenth_block_phone_text']; ?></p>
<a href="tel:<?php global $phone; $formattedPhone = preg_replace(array('/\s/', '/\-/', '/\(/', '/\)/'), '', $phone); echo $formattedPhone; ?>" class="link phone-link phone-link-big"><?php echo $phone; ?></a>
</div>
<div class="mail-link-block effect effect-bottom">
<p class="heading heading2 gray-color uppercase"><?php echo $tenth['tenth_block_email_text']; ?></p>
<a href="mailto:<?php global $email; echo $email; ?>" class="link mail-link"><?php echo $email; ?></a>
</div>
</div>
</div>
<?php get_footer(); ?>