<?php
/**
 * Title: Hero
 * Slug: swp-painting/hero
 * Categories: banner, swp-painting
 * Keywords: hero
 * Description: Premium painting hero with headline, CTAs, review proof and image.
 */
?>
<!-- wp:group {"metadata":{"patternName":"swp-painting/hero","name":"Hero","description":"Premium painting hero with headline, CTAs, review proof and image.","categories":["banner","swp-painting"]},"className":"swp-parent-container-1","style":{"spacing":{"margin":{"top":"0","bottom":"0"},"padding":{"top":"54px","bottom":"40px"}}},"backgroundColor":"light-background","layout":{"type":"constrained"}} -->
<div class="wp-block-group swp-parent-container-1 has-light-background-background-color has-background" style="margin-top:0;margin-bottom:0;padding-top:54px;padding-bottom:40px"><!-- wp:columns {"verticalAlignment":"center","style":{"spacing":{"blockGap":{"top":"40px","left":"40px"}}}} -->
<div class="wp-block-columns are-vertically-aligned-center"><!-- wp:column {"verticalAlignment":"center","width":"52%"} -->
<div class="wp-block-column is-vertically-aligned-center" style="flex-basis:52%"><!-- wp:heading {"level":6,"style":{"elements":{"link":{"color":{"text":"var:preset|color|accent-deep"}}}},"textColor":"accent-deep","fontSize":"subtitle"} -->
<h6 class="wp-block-heading has-accent-deep-color has-text-color has-link-color has-subtitle-font-size">● Brighten your home &amp; workplace</h6>
<!-- /wp:heading -->

<!-- wp:heading {"level":1,"style":{"spacing":{"margin":{"top":"18px"}},"css":"text-transform: capitalize;"},"fontSize":"h1"} -->
<h1 class="wp-block-heading has-custom-css has-h-1-font-size" style="margin-top:18px">Premium <mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-accent-color">painting</mark> service for home <mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-accent-color">&amp;</mark> business.</h1>
<!-- /wp:heading -->

<!-- wp:paragraph {"style":{"spacing":{"margin":{"top":"22px"}},"elements":{"link":{"color":{"text":"var:preset|color|body-text"}}}},"textColor":"body-text","fontSize":"paragraph"} -->
<p class="has-body-text-color has-text-color has-link-color has-paragraph-font-size" style="margin-top:22px">Our dedicated crew of skilled, insured painters delivers flawless finishes with meticulous attention to every edge, corner and coat.</p>
<!-- /wp:paragraph -->

<!-- wp:buttons {"style":{"spacing":{"blockGap":{"top":"14px","left":"14px"},"margin":{"top":"30px"}}},"layout":{"type":"flex","justifyContent":"left"}} -->
<div class="wp-block-buttons" style="margin-top:30px"><!-- wp:button {"className":"swp-homeo-btn-green"} -->
<div class="wp-block-button swp-homeo-btn-green"><a class="wp-block-button__link wp-element-button" href="#">Learn More</a></div>
<!-- /wp:button -->

<!-- wp:button {"className":"swp-btn-ghost"} -->
<div class="wp-block-button swp-btn-ghost"><a class="wp-block-button__link wp-element-button" href="#">How we work</a></div>
<!-- /wp:button --></div>
<!-- /wp:buttons -->

<!-- wp:group {"style":{"spacing":{"margin":{"top":"34px"},"blockGap":"16px"}},"layout":{"type":"flex","flexWrap":"nowrap"}} -->
<div class="wp-block-group" style="margin-top:34px"><!-- wp:image {"width":"120px","sizeSlug":"large"} -->
<figure class="wp-block-image size-large is-resized"><img src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/hero/hero-testimonial-imgs.png" alt="Happy customers" style="width:120px"/></figure>
<!-- /wp:image -->

<!-- wp:heading {"style":{"typography":{"lineHeight":"1"}},"textColor":"heading","fontSize":"h2","fontFamily":"archivo"} -->
<h2 class="wp-block-heading has-heading-color has-text-color has-archivo-font-family has-h-2-font-size" style="line-height:1">800+</h2>
<!-- /wp:heading -->

<!-- wp:group {"style":{"spacing":{"blockGap":"2px"}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group"><!-- wp:paragraph {"style":{"typography":{"letterSpacing":"2px"}},"textColor":"accent","fontSize":"paragraph"} -->
<p class="has-accent-color has-text-color has-paragraph-font-size" style="letter-spacing:2px">★★★★★</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph {"style":{"typography":{"textTransform":"uppercase","letterSpacing":"0.08em","fontWeight":"600"}},"textColor":"body-text","fontSize":"subtitle"} -->
<p class="has-body-text-color has-text-color has-subtitle-font-size" style="font-weight:600;letter-spacing:0.08em;text-transform:uppercase">Happy customers world-wide</p>
<!-- /wp:paragraph --></div>
<!-- /wp:group --></div>
<!-- /wp:group --></div>
<!-- /wp:column -->

<!-- wp:column {"verticalAlignment":"center","width":"48%","className":"swp-hero-visual"} -->
<div class="wp-block-column is-vertically-aligned-center swp-hero-visual" style="flex-basis:48%"><!-- wp:image {"aspectRatio":"3/4","scale":"cover","sizeSlug":"large","align":"center","style":{"border":{"radius":"26px"}}} -->
<figure class="wp-block-image aligncenter size-large has-custom-border"><img src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/hero/hero-main.webp" alt="Professional painter applying a fresh coat to an interior wall with a roller" style="border-radius:26px;aspect-ratio:3/4;object-fit:cover"/></figure>
<!-- /wp:image -->

<!-- wp:group {"className":"swp-hero-chip","style":{"spacing":{"padding":{"top":"14px","bottom":"14px","left":"18px","right":"18px"},"blockGap":"12px"},"border":{"radius":"16px"}},"backgroundColor":"heading","layout":{"type":"flex","flexWrap":"nowrap","verticalAlignment":"center"}} -->
<div class="wp-block-group swp-hero-chip has-heading-background-color has-background" style="border-radius:16px;padding-top:14px;padding-right:18px;padding-bottom:14px;padding-left:18px"><!-- wp:image {"width":"38px","height":"38px","scale":"contain","sizeSlug":"large"} -->
<figure class="wp-block-image size-large is-resized"><img src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/hero/hero-icon-1.png" alt="" style="object-fit:contain;width:38px;height:38px"/></figure>
<!-- /wp:image -->

<!-- wp:group {"style":{"spacing":{"blockGap":"0"}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group"><!-- wp:heading {"level":4,"style":{"typography":{"textTransform":"none"}},"textColor":"white","fontSize":"h4","fontFamily":"archivo"} -->
<h4 class="wp-block-heading has-white-color has-text-color has-archivo-font-family has-h-4-font-size" style="text-transform:none">20+ Years</h4>
<!-- /wp:heading -->

<!-- wp:paragraph {"style":{"typography":{"fontSize":"12px"}},"textColor":"dark-background"} -->
<p class="has-dark-background-color has-text-color" style="font-size:12px">Of trusted craftsmanship</p>
<!-- /wp:paragraph --></div>
<!-- /wp:group --></div>
<!-- /wp:group --></div>
<!-- /wp:column --></div>
<!-- /wp:columns --></div>
<!-- /wp:group -->
