<?php
/**
 * Title: Call to Action
 * Slug: technicalistic/cta
 * Categories: technicalistic-cta, technicalistic
 * Description: CTA section with two configurable buttons.
 */
?>
<!-- wp:group {"align":"full","className":"cta-section","style":{"spacing":{"padding":{"top":"4rem","bottom":"4rem"}}},"layout":{"type":"constrained","contentSize":"56rem"}} -->
<div class="wp-block-group alignfull cta-section" style="padding-top:4rem;padding-bottom:4rem">

	<!-- wp:heading {"textAlign":"center","level":2,"style":{"typography":{"fontSize":"clamp(1.75rem,4vw,2.5rem)","fontWeight":"700"},"spacing":{"margin":{"bottom":"1rem"}}},"textColor":"white"} -->
	<h2 class="wp-block-heading has-text-align-center has-white-color has-text-color" style="font-size:clamp(1.75rem,4vw,2.5rem);font-weight:700;margin-bottom:1rem"><?php esc_html_e( 'Ready to Start Your Next Project?', 'technicalistic' ); ?></h2>
	<!-- /wp:heading -->

	<!-- wp:paragraph {"align":"center","style":{"typography":{"fontSize":"1.25rem"},"spacing":{"margin":{"bottom":"2rem"}}},"textColor":"slate-300"} -->
	<p class="has-text-align-center has-slate-300-color has-text-color" style="font-size:1.25rem;margin-bottom:2rem"><?php esc_html_e( 'Let\'s discuss how we can bring your vision to life.', 'technicalistic' ); ?></p>
	<!-- /wp:paragraph -->

	<!-- wp:buttons {"layout":{"type":"flex","justifyContent":"center"}} -->
	<div class="wp-block-buttons">
		<?php if ( get_theme_mod( 'technicalistic_show_schedule_consultation', false ) ) : ?>
		<!-- wp:button {"backgroundColor":"yellow-500","textColor":"black","className":"btn-lg","style":{"border":{"radius":"0.625rem"}}} -->
		<div class="wp-block-button btn-lg"><a class="wp-block-button__link has-black-color has-yellow-500-background-color has-text-color has-background wp-element-button" style="border-radius:0.625rem" href="<?php echo esc_url( get_theme_mod( 'technicalistic_schedule_consultation_url', '/contact/' ) ); ?>"><?php esc_html_e( 'Get Started', 'technicalistic' ); ?></a></div>
		<!-- /wp:button -->
		<?php endif; ?>

		<?php if ( get_theme_mod( 'technicalistic_show_explore_services', true ) ) : ?>
		<!-- wp:button {"className":"is-style-outline btn-lg","style":{"border":{"radius":"0.625rem","color":"#22d3ee","width":"2px"},"color":{"text":"#22d3ee"}}} -->
		<div class="wp-block-button is-style-outline btn-lg"><a class="wp-block-button__link has-text-color wp-element-button" style="border-color:#22d3ee;border-width:2px;border-radius:0.625rem;color:#22d3ee" href="<?php echo esc_url( get_theme_mod( 'technicalistic_explore_services_url', '/portfolio/' ) ); ?>"><?php esc_html_e( 'Explore Portfolio', 'technicalistic' ); ?></a></div>
		<!-- /wp:button -->
		<?php endif; ?>
	</div>
	<!-- /wp:buttons -->

</div>
<!-- /wp:group -->
