<?php
/**
 * Title: Nutri Coach – Results
 * Slug: nutri-coach/results
 * Categories: nutri-coach-results
 * Description: Results section with centered header and three before/after transformation cards with name, stat, and duration overlay.
 */

$img         = get_template_directory_uri() . '/assets/images/';
$transform_1 = esc_url( $img . 'transform-1.webp' );
$transform_2 = esc_url( $img . 'transform-2.webp' );
$transform_3 = esc_url( $img . 'transform-3.webp' );
?>
<!-- wp:group {"tagName":"section","metadata":{"name":"Results","categories":["results"],"patternName":"nutri-coach-fse/results"},"align":"full","style":{"spacing":{"padding":{"top":"var:preset|spacing|80","bottom":"var:preset|spacing|80","left":"var:preset|spacing|50","right":"var:preset|spacing|50"},"blockGap":"var:preset|spacing|40"}},"backgroundColor":"background-dark","layout":{"type":"constrained","wideSize":"1200px"}} -->
<section class="wp-block-group alignfull has-background-dark-background-color has-background" style="padding-top:var(--wp--preset--spacing--80);padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--80);padding-left:var(--wp--preset--spacing--50)"><!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|30","padding":{"bottom":"60px"}}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"center"}} -->
<div class="wp-block-group" style="padding-bottom:60px"><!-- wp:paragraph {"className":"has-text-align-center","style":{"typography":{"fontWeight":"600","letterSpacing":"var(--wp--custom--typography--letter-spacing--label)","textTransform":"uppercase","textAlign":"center"},"spacing":{"margin":{"top":"0","bottom":"0"}},"color":{"text":"var:preset|color|primary"}},"fontSize":"small"} -->
<p class="has-text-align-center has-text-color has-small-font-size" style="color:var(--wp--preset--color--primary);margin-top:0;margin-bottom:0;font-weight:600;letter-spacing:var(--wp--custom--typography--letter-spacing--label);text-transform:uppercase"><?php esc_html_e( 'Results', 'nutri-coach' ); ?></p>
<!-- /wp:paragraph -->

<!-- wp:heading {"className":"wp-block-heading has-text-align-center has-fraunces-font-family has-heading-h2-font-size","style":{"typography":{"fontWeight":"600","lineHeight":"var(--wp--custom--typography--line-height--heading-tight)","letterSpacing":"var(--wp--custom--typography--letter-spacing--heading)","fontStyle":"normal","textAlign":"center"},"spacing":{"margin":{"top":"0","bottom":"0"}},"color":{"text":"var:preset|color|heading-text"}},"fontSize":"heading-h2"} -->
<h2 class="wp-block-heading has-text-align-center has-fraunces-font-family has-heading-h2-font-size has-text-color has-heading-h-2-font-size" style="color:var(--wp--preset--color--heading-text);margin-top:0;margin-bottom:0;font-style:normal;font-weight:600;letter-spacing:var(--wp--custom--typography--letter-spacing--heading);line-height:var(--wp--custom--typography--line-height--heading-tight)"><?php esc_html_e( 'Real people.', 'nutri-coach' ); ?><mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-primary-light-color"><?php esc_html_e( ' Lasting results.', 'nutri-coach' ); ?></mark></h2>
<!-- /wp:heading --></div>
<!-- /wp:group -->

<!-- wp:columns {"align":"wide","style":{"spacing":{"blockGap":{"top":"var:preset|spacing|40","left":"var:preset|spacing|40"},"margin":{"top":"0","bottom":"0"}}}} -->
<div class="wp-block-columns alignwide" style="margin-top:0;margin-bottom:0"><!-- wp:column {"style":{"spacing":{"blockGap":"0"}}} -->
<div class="wp-block-column"><!-- wp:cover {"url":"<?php echo $transform_1; ?>","dimRatio":0,"customOverlayColor":"#6f6157","isUserOverlayColor":false,"minHeight":480,"minHeightUnit":"px","contentPosition":"bottom center","templateLock":"all","sizeSlug":"full","className":"has-custom-content-position","style":{"border":{"radius":"16px"}},"layout":{"type":"constrained"}} -->
<div class="wp-block-cover has-custom-content-position is-position-bottom-center" style="border-radius:16px;min-height:480px"><img class="wp-block-cover__image-background size-full" alt="" src="<?php echo $transform_1; ?>" data-object-fit="cover"/><span aria-hidden="true" class="wp-block-cover__background has-background-dim-0 has-background-dim" style="background-color:#6f6157"></span><div class="wp-block-cover__inner-container"><!-- wp:paragraph {"placeholder":"Write title…","className":"has-text-align-left has-fraunces-font-family","style":{"typography":{"fontStyle":"normal","fontWeight":"500","fontSize":"var(--wp--preset--font-size--heading-h6)","textAlign":"left"}}} -->
<p class="has-text-align-left has-fraunces-font-family" style="font-size:var(--wp--preset--font-size--heading-h6);font-style:normal;font-weight:500"><?php esc_html_e( 'Mona, 25 ', 'nutri-coach' ); ?><br><?php esc_html_e( '-15 kg , 8 weeks', 'nutri-coach' ); ?></p>
<!-- /wp:paragraph --></div></div>
<!-- /wp:cover --></div>
<!-- /wp:column -->

<!-- wp:column {"style":{"spacing":{"blockGap":"0"}}} -->
<div class="wp-block-column"><!-- wp:cover {"url":"<?php echo $transform_2; ?>","dimRatio":0,"customOverlayColor":"#3e3632","isUserOverlayColor":false,"minHeight":480,"minHeightUnit":"px","contentPosition":"bottom center","templateLock":"all","sizeSlug":"full","className":"has-custom-content-position","style":{"border":{"radius":"16px"}},"layout":{"type":"constrained"}} -->
<div class="wp-block-cover has-custom-content-position is-position-bottom-center" style="border-radius:16px;min-height:480px"><img class="wp-block-cover__image-background size-full" alt="" src="<?php echo $transform_2; ?>" data-object-fit="cover"/><span aria-hidden="true" class="wp-block-cover__background has-background-dim-0 has-background-dim" style="background-color:#3e3632"></span><div class="wp-block-cover__inner-container"><!-- wp:paragraph {"placeholder":"Write title…","className":"has-text-align-left has-fraunces-font-family","style":{"typography":{"fontStyle":"normal","fontWeight":"500","fontSize":"var(--wp--preset--font-size--heading-h6)","textAlign":"left"}}} -->
<p class="has-text-align-left has-fraunces-font-family" style="font-size:var(--wp--preset--font-size--heading-h6);font-style:normal;font-weight:500"><?php esc_html_e( 'David, 41 ', 'nutri-coach' ); ?><br><?php esc_html_e( '-6 kg , 12 weeks', 'nutri-coach' ); ?></p>
<!-- /wp:paragraph --></div></div>
<!-- /wp:cover --></div>
<!-- /wp:column -->

<!-- wp:column {"style":{"spacing":{"blockGap":"0"}}} -->
<div class="wp-block-column"><!-- wp:cover {"url":"<?php echo $transform_3; ?>","dimRatio":0,"customOverlayColor":"#686862","isUserOverlayColor":false,"minHeight":480,"minHeightUnit":"px","contentPosition":"bottom center","templateLock":"all","sizeSlug":"full","className":"has-custom-content-position","style":{"border":{"radius":"16px"}},"layout":{"type":"constrained"}} -->
<div class="wp-block-cover has-custom-content-position is-position-bottom-center" style="border-radius:16px;min-height:480px"><img class="wp-block-cover__image-background size-full" alt="" src="<?php echo $transform_3; ?>" data-object-fit="cover"/><span aria-hidden="true" class="wp-block-cover__background has-background-dim-0 has-background-dim" style="background-color:#686862"></span><div class="wp-block-cover__inner-container"><!-- wp:paragraph {"placeholder":"Write title…","className":"has-text-align-left has-fraunces-font-family","style":{"typography":{"fontStyle":"normal","fontWeight":"500","fontSize":"var(--wp--preset--font-size--heading-h6)","textAlign":"left"}}} -->
<p class="has-text-align-left has-fraunces-font-family" style="font-size:var(--wp--preset--font-size--heading-h6);font-style:normal;font-weight:500"><?php esc_html_e( 'Lia, 28 ', 'nutri-coach' ); ?><br><?php esc_html_e( '-12 kg , 4 weeks', 'nutri-coach' ); ?></p>
<!-- /wp:paragraph --></div></div>
<!-- /wp:cover --></div>
<!-- /wp:column --></div>
<!-- /wp:columns --></section>
<!-- /wp:group -->
