<?php
/*
  * template name: Contact
  * */
get_header(); ?>

<div class="container-fluid squared py-5">
    <div class="container py-5">
        <div class="row">
            <div class="col-12 col-lg-6 py-5 ">
                <div class="banner_page_title">
                    <?php if (function_exists('rank_math_the_breadcrumbs')) rank_math_the_breadcrumbs(); ?>
                    <h1 class="h2 suptitle_arrow brown"><?php echo get_field('contact_title');?></h1>
                    <div class="post_content">
                    <?php
                    echo get_field('contact_txt');
                    ?>
                    </div>
                    <div class="row contact_addresses">
                        <div class="col-12 col-md-6 addresses py-5">
                            <div class="arrow  arrow arrow_top arrow_title arrow_beige">
                                <p class="h3 montserrat bold brown"><?php echo get_field('title_1','options');?></p>
                                <p class="subtitle brown"><?php echo get_field('subtitle_1','options');?></p>
                            </div>
                            <address>
                                <?php echo get_field('address_1','options');?>
                            </address>
                            <p class="phone">
                                <?php
                                $phone = get_field('phone_1','options');
                                $phone_link = str_replace(' ','',$phone);
                                ?>
                                <a href="tel:<?php echo $phone_link;?>" class=""><?php echo get_field('phone_1','options');?></a>
                            </p>
                        </div>
                        <div class="col-12 col-md-6 addresses py-5">
                            <div class="arrow  arrow arrow_top arrow_title arrow_beige">
                                <p class="h3 montserrat bold"><?php echo get_field('title_2','options');?></p>
                                <p class="subtitle"><?php echo get_field('subtitle_2','options');?></p>
                            </div>
                            <address>
                                <?php echo get_field('address_2','options');?>
                            </address>
                            <p class="phone">
                                <?php
                                $phone = get_field('phone_2','options');
                                $phone_link = str_replace(' ','',$phone);
                                ?>
                                <a href="tel:<?php echo $phone_link;?>" class=""><?php echo get_field('phone_2','options');?></a>
                            </p>
                        </div>
                    </div>
                </div>
            </div>
            <div class="col-12 col-lg-5 offset-lg-1">
                <?php
                echo do_shortcode('[contact-form-7 id="261" title="Contact"]');
                ?>
            </div>
        </div>
    </div>
</div>


<?php get_footer(); ?>

