<?php
declare(strict_types=1);

if (! defined('ABSPATH')) {
    exit;
}

$h4bsBasicBand = [
    'columns' => 1,
    'columns_tablet' => 1,
    'columns_mobile' => 1,
    'gap' => 20,
    'gap_tablet' => 18,
    'gap_mobile' => 14,
    'min_height' => 280,
    'min_height_tablet' => 240,
    'min_height_mobile' => 220,
    'content_width_mode' => 'custom',
    'content_width' => 1180,
    'content_width_unit' => 'px',
    'content_width_mode_mobile' => 'full',
    'design_background_color_global' => 'surface',
    'design_padding_top' => 64,
    'design_padding_right' => 28,
    'design_padding_bottom' => 64,
    'design_padding_left' => 28,
    'design_padding_top_mobile' => 44,
    'design_padding_right_mobile' => 20,
    'design_padding_bottom_mobile' => 44,
    'design_padding_left_mobile' => 20,
];

$h4bsBasicSplit = array_replace(
    $h4bsBasicBand,
    [
        'columns' => 2,
        'columns_tablet' => 2,
        'columns_mobile' => 1,
        'column_widths' => '50|50',
        'column_widths_tablet' => '50|50',
        'gap' => 44,
        'gap_tablet' => 28,
        'gap_mobile' => 20,
        'min_height' => 440,
        'min_height_tablet' => 380,
        'min_height_mobile' => 320,
        'align_items' => 'center',
    ]
);

$h4bsBasicGridThree = array_replace(
    $h4bsBasicBand,
    [
        'columns' => 3,
        'columns_tablet' => 2,
        'columns_mobile' => 1,
        'gap' => 20,
        'gap_tablet' => 18,
        'gap_mobile' => 14,
        'min_height' => 320,
        'align_items' => 'stretch',
    ]
);

$h4bsBasicGridFour = array_replace(
    $h4bsBasicBand,
    [
        'columns' => 4,
        'columns_tablet' => 2,
        'columns_mobile' => 1,
        'gap' => 18,
        'gap_tablet' => 16,
        'gap_mobile' => 14,
        'min_height' => 260,
        'align_items' => 'stretch',
    ]
);

$h4bsBasicCard = [
    'design_style_preset' => 'card',
    'design_background_color_global' => 'surface',
    'design_text_color_global' => 'text',
    'design_padding_top' => 30,
    'design_padding_right' => 28,
    'design_padding_bottom' => 30,
    'design_padding_left' => 28,
    'design_border_radius' => 6,
    'design_border_radius_unit' => 'px',
];

return [
    [
        'slug' => 'basic-hero-centered',
        'label' => __('Basic: Centered Hero', 'help4-builder-suite'),
        'category' => __('Basic Sections', 'help4-builder-suite'),
        'description' => __('Centered headline, supporting copy, and one primary action.', 'help4-builder-suite'),
        'tags' => ['basic', 'hero', 'homepage', 'headline', 'button', 'centered'],
        'layout' => [
            ['id' => 'bhc_shell', 'type' => 'section', 'settings' => array_replace($h4bsBasicBand, ['content_width' => 900, 'min_height' => 520, 'min_height_mobile' => 380, 'justify_content' => 'center', 'align_items' => 'center', 'design_background_color_global' => 'surface_alt'])],
            ['id' => 'bhc_title', 'type' => 'heading', 'parent_id' => 'bhc_shell', 'slot' => 0, 'settings' => ['text' => 'A clear headline about the result you provide', 'tag' => 'h1', 'design_text_align' => 'center', 'design_font_family_global' => 'heading', 'design_text_color_global' => 'heading', 'design_font_size' => 56, 'design_font_size_tablet' => 46, 'design_font_size_mobile' => 38, 'design_font_size_unit' => 'px', 'design_font_weight' => '800', 'design_line_height' => '1.08', 'design_line_height_unit' => '', 'design_margin_bottom' => 18]],
            ['id' => 'bhc_text', 'type' => 'text', 'parent_id' => 'bhc_shell', 'slot' => 0, 'settings' => ['text' => 'Explain who this is for, the useful outcome, and why the visitor should take the next step.', 'design_text_align' => 'center', 'design_text_color_global' => 'text', 'design_font_size' => 20, 'design_font_size_unit' => 'px', 'design_line_height' => '1.6', 'design_line_height_unit' => '', 'design_max_width' => 720, 'design_max_width_unit' => 'px', 'design_margin_bottom' => 24]],
            ['id' => 'bhc_action', 'type' => 'button', 'parent_id' => 'bhc_shell', 'slot' => 0, 'settings' => ['label' => 'Get Started', 'url' => '#contact', 'design_style_preset' => 'button_primary', 'design_text_align' => 'center']],
        ],
    ],
    [
        'slug' => 'basic-hero-split',
        'label' => __('Basic: Split Hero', 'help4-builder-suite'),
        'category' => __('Basic Sections', 'help4-builder-suite'),
        'description' => __('Responsive copy-and-image hero with one editable action.', 'help4-builder-suite'),
        'tags' => ['basic', 'hero', 'homepage', 'image', 'split', 'button'],
        'layout' => [
            ['id' => 'bhs_shell', 'type' => 'section', 'settings' => array_replace($h4bsBasicSplit, ['column_widths' => '54|46', 'column_widths_tablet' => '52|48', 'min_height' => 560, 'design_background_color_global' => 'surface_alt', 'design_text_color_global' => 'text'])],
            ['id' => 'bhs_title', 'type' => 'heading', 'parent_id' => 'bhs_shell', 'slot' => 0, 'settings' => ['text' => 'Turn the visitor problem into a useful next step', 'tag' => 'h1', 'design_font_family_global' => 'heading', 'design_text_color_global' => 'heading', 'design_font_size' => 54, 'design_font_size_tablet' => 44, 'design_font_size_mobile' => 38, 'design_font_size_unit' => 'px', 'design_font_weight' => '800', 'design_line_height' => '1.08', 'design_line_height_unit' => '', 'design_margin_bottom' => 18]],
            ['id' => 'bhs_text', 'type' => 'text', 'parent_id' => 'bhs_shell', 'slot' => 0, 'settings' => ['text' => 'Use two or three sentences to explain the audience, the outcome, and what happens after they contact you.', 'design_text_color_global' => 'text', 'design_font_size' => 19, 'design_font_size_unit' => 'px', 'design_line_height' => '1.65', 'design_line_height_unit' => '', 'design_margin_bottom' => 24]],
            ['id' => 'bhs_action', 'type' => 'button', 'parent_id' => 'bhs_shell', 'slot' => 0, 'settings' => ['label' => 'Start the Conversation', 'url' => '#contact', 'design_style_preset' => 'button_primary']],
            ['id' => 'bhs_image', 'type' => 'image', 'parent_id' => 'bhs_shell', 'slot' => 1, 'settings' => ['src' => '', 'alt' => 'Replace with an image that shows the service, product, team, or result', 'width' => '100', 'width_unit' => '%', 'max_width' => '640', 'max_width_unit' => 'px', 'design_border_radius' => 6, 'design_border_radius_unit' => 'px']],
        ],
    ],
    [
        'slug' => 'basic-intro-copy',
        'label' => __('Basic: Intro + Body Copy', 'help4-builder-suite'),
        'category' => __('Basic Sections', 'help4-builder-suite'),
        'description' => __('Simple section heading and readable body copy for any page.', 'help4-builder-suite'),
        'tags' => ['basic', 'intro', 'content', 'heading', 'text'],
        'layout' => [
            ['id' => 'bic_shell', 'type' => 'section', 'settings' => array_replace($h4bsBasicBand, ['content_width' => 860])],
            ['id' => 'bic_title', 'type' => 'heading', 'parent_id' => 'bic_shell', 'slot' => 0, 'settings' => ['text' => 'Explain this section in one useful sentence', 'tag' => 'h2', 'design_font_family_global' => 'heading', 'design_text_color_global' => 'heading', 'design_font_size' => 40, 'design_font_size_tablet' => 35, 'design_font_size_mobile' => 30, 'design_font_size_unit' => 'px', 'design_font_weight' => '750', 'design_margin_bottom' => 16]],
            ['id' => 'bic_text', 'type' => 'text', 'parent_id' => 'bic_shell', 'slot' => 0, 'settings' => ['text' => 'Replace this paragraph with clear information that helps the visitor understand the subject, make a decision, or complete the next action. Keep paragraphs short and use lists when several details need to be scanned.', 'design_text_color_global' => 'text', 'design_font_size' => 18, 'design_font_size_unit' => 'px', 'design_line_height' => '1.75', 'design_line_height_unit' => '']],
        ],
    ],
    [
        'slug' => 'basic-feature-grid',
        'label' => __('Basic: Three Features', 'help4-builder-suite'),
        'category' => __('Basic Sections', 'help4-builder-suite'),
        'description' => __('Three responsive feature cards with editable outcomes and links.', 'help4-builder-suite'),
        'tags' => ['basic', 'features', 'benefits', 'cards', 'three columns'],
        'layout' => [
            ['id' => 'bfg_intro', 'type' => 'cta', 'settings' => ['title' => 'Three reasons this helps', 'text' => 'Lead with useful outcomes rather than a long feature inventory.', 'button_label' => 'See how it works', 'button_url' => '#process', 'design_background_color_global' => 'surface_alt', 'design_text_color_global' => 'text', 'design_padding_top' => 52, 'design_padding_right' => 30, 'design_padding_bottom' => 36, 'design_padding_left' => 30]],
            ['id' => 'bfg_grid', 'type' => 'section', 'settings' => array_replace($h4bsBasicGridThree, ['design_padding_top' => 16])],
            ['id' => 'bfg_one', 'type' => 'cta', 'parent_id' => 'bfg_grid', 'slot' => 0, 'settings' => array_replace($h4bsBasicCard, ['title' => 'Benefit one', 'text' => 'Describe the first concrete improvement in the customer\'s language.', 'button_label' => 'Learn more', 'button_url' => '#benefit-one'])],
            ['id' => 'bfg_two', 'type' => 'cta', 'parent_id' => 'bfg_grid', 'slot' => 1, 'settings' => array_replace($h4bsBasicCard, ['title' => 'Benefit two', 'text' => 'Explain what becomes easier, faster, safer, or clearer.', 'button_label' => 'See the process', 'button_url' => '#process', 'design_style_preset' => 'card_soft'])],
            ['id' => 'bfg_three', 'type' => 'cta', 'parent_id' => 'bfg_grid', 'slot' => 2, 'settings' => array_replace($h4bsBasicCard, ['title' => 'Benefit three', 'text' => 'Connect the final benefit to a useful deliverable or next step.', 'button_label' => 'View examples', 'button_url' => '#proof'])],
        ],
    ],
    [
        'slug' => 'basic-about-split',
        'label' => __('Basic: About Split', 'help4-builder-suite'),
        'category' => __('Basic Sections', 'help4-builder-suite'),
        'description' => __('Image, company story, trust statement, and about-page action.', 'help4-builder-suite'),
        'tags' => ['basic', 'about', 'company', 'team', 'image', 'story'],
        'layout' => [
            ['id' => 'bas_shell', 'type' => 'section', 'settings' => array_replace($h4bsBasicSplit, ['column_widths' => '46|54', 'column_widths_tablet' => '44|56', 'design_background_color_global' => 'surface_alt'])],
            ['id' => 'bas_image', 'type' => 'image', 'parent_id' => 'bas_shell', 'slot' => 0, 'settings' => ['src' => '', 'alt' => 'Replace with a real team, workplace, product, or project image', 'width' => '100', 'width_unit' => '%', 'max_width' => '560', 'max_width_unit' => 'px', 'design_border_radius' => 6, 'design_border_radius_unit' => 'px']],
            ['id' => 'bas_title', 'type' => 'heading', 'parent_id' => 'bas_shell', 'slot' => 1, 'settings' => ['text' => 'Who we help and why the work matters', 'tag' => 'h2', 'design_font_family_global' => 'heading', 'design_text_color_global' => 'heading', 'design_font_size' => 42, 'design_font_size_tablet' => 36, 'design_font_size_mobile' => 31, 'design_font_size_unit' => 'px', 'design_font_weight' => '750', 'design_margin_bottom' => 16]],
            ['id' => 'bas_text', 'type' => 'text', 'parent_id' => 'bas_shell', 'slot' => 1, 'settings' => ['text' => 'Share the relevant origin, experience, and standards behind the business. Keep the story connected to what the customer needs instead of writing a biography.', 'design_text_color_global' => 'text', 'design_font_size' => 18, 'design_font_size_unit' => 'px', 'design_line_height' => '1.7', 'design_line_height_unit' => '', 'design_margin_bottom' => 22]],
            ['id' => 'bas_action', 'type' => 'button', 'parent_id' => 'bas_shell', 'slot' => 1, 'settings' => ['label' => 'Meet the Team', 'url' => '/about/', 'design_style_preset' => 'button_secondary']],
        ],
    ],
    [
        'slug' => 'basic-services-grid',
        'label' => __('Basic: Three Services', 'help4-builder-suite'),
        'category' => __('Basic Sections', 'help4-builder-suite'),
        'description' => __('Three service cards that stack cleanly on phones.', 'help4-builder-suite'),
        'tags' => ['basic', 'services', 'offers', 'cards', 'local business'],
        'layout' => [
            ['id' => 'bsg_intro', 'type' => 'cta', 'settings' => ['title' => 'Choose the help you need', 'text' => 'Give each service a specific result, a short scope, and one destination.', 'button_label' => 'Compare all services', 'button_url' => '/services/', 'design_background_color_global' => 'surface', 'design_text_color_global' => 'text', 'design_padding_top' => 52, 'design_padding_right' => 30, 'design_padding_bottom' => 36, 'design_padding_left' => 30]],
            ['id' => 'bsg_grid', 'type' => 'section', 'settings' => array_replace($h4bsBasicGridThree, ['design_background_color_global' => 'surface_alt', 'design_padding_top' => 20])],
            ['id' => 'bsg_one', 'type' => 'cta', 'parent_id' => 'bsg_grid', 'slot' => 0, 'settings' => array_replace($h4bsBasicCard, ['title' => 'Primary service', 'text' => 'Explain the customer problem, included work, and expected next step.', 'button_label' => 'View service', 'button_url' => '#service-one'])],
            ['id' => 'bsg_two', 'type' => 'cta', 'parent_id' => 'bsg_grid', 'slot' => 1, 'settings' => array_replace($h4bsBasicCard, ['title' => 'Secondary service', 'text' => 'Describe when this option is a better fit and what it includes.', 'button_label' => 'View service', 'button_url' => '#service-two'])],
            ['id' => 'bsg_three', 'type' => 'cta', 'parent_id' => 'bsg_grid', 'slot' => 2, 'settings' => array_replace($h4bsBasicCard, ['title' => 'Ongoing support', 'text' => 'Explain recurring help, maintenance, response, and ownership.', 'button_label' => 'View support', 'button_url' => '#support'])],
        ],
    ],
    [
        'slug' => 'basic-stats-strip',
        'label' => __('Basic: Four Stats', 'help4-builder-suite'),
        'category' => __('Basic Sections', 'help4-builder-suite'),
        'description' => __('Four editable metrics for verified proof and outcomes.', 'help4-builder-suite'),
        'tags' => ['basic', 'stats', 'numbers', 'metrics', 'proof', 'results'],
        'layout' => [
            ['id' => 'bss_grid', 'type' => 'section', 'settings' => array_replace($h4bsBasicGridFour, ['design_background_color_global' => 'surface_alt', 'design_text_color_global' => 'text'])],
            ['id' => 'bss_one', 'type' => 'counter', 'parent_id' => 'bss_grid', 'slot' => 0, 'settings' => ['value' => 10, 'suffix' => '+', 'label' => 'Years serving customers', 'design_text_color_global' => 'heading']],
            ['id' => 'bss_two', 'type' => 'counter', 'parent_id' => 'bss_grid', 'slot' => 1, 'settings' => ['value' => 250, 'suffix' => '+', 'label' => 'Completed projects', 'design_text_color_global' => 'heading']],
            ['id' => 'bss_three', 'type' => 'counter', 'parent_id' => 'bss_grid', 'slot' => 2, 'settings' => ['value' => 98, 'suffix' => '%', 'label' => 'Verified satisfaction', 'design_text_color_global' => 'heading']],
            ['id' => 'bss_four', 'type' => 'counter', 'parent_id' => 'bss_grid', 'slot' => 3, 'settings' => ['value' => 24, 'suffix' => ' hr', 'label' => 'Normal reply target', 'design_text_color_global' => 'heading']],
        ],
    ],
    [
        'slug' => 'basic-testimonials-grid',
        'label' => __('Basic: Three Testimonials', 'help4-builder-suite'),
        'category' => __('Basic Sections', 'help4-builder-suite'),
        'description' => __('Three editable customer quotes with clear attribution placeholders.', 'help4-builder-suite'),
        'tags' => ['basic', 'testimonials', 'reviews', 'quotes', 'proof'],
        'layout' => [
            ['id' => 'btg_intro', 'type' => 'heading', 'settings' => ['text' => 'What customers say after the work', 'tag' => 'h2', 'design_text_align' => 'center', 'design_font_family_global' => 'heading', 'design_text_color_global' => 'heading', 'design_font_size' => 40, 'design_font_size_tablet' => 35, 'design_font_size_mobile' => 30, 'design_font_size_unit' => 'px', 'design_font_weight' => '750', 'design_padding_top' => 52, 'design_padding_right' => 20, 'design_padding_bottom' => 24, 'design_padding_left' => 20]],
            ['id' => 'btg_grid', 'type' => 'section', 'settings' => array_replace($h4bsBasicGridThree, ['design_background_color_global' => 'surface_alt', 'design_padding_top' => 18])],
            ['id' => 'btg_one', 'type' => 'quote', 'parent_id' => 'btg_grid', 'slot' => 0, 'settings' => ['text' => 'Replace this with a real statement you have permission to publish.', 'cite' => 'Customer name, company or location', 'design_background_color_global' => 'surface', 'design_text_color_global' => 'text', 'design_padding_top' => 30, 'design_padding_right' => 28, 'design_padding_bottom' => 30, 'design_padding_left' => 28, 'design_border_radius' => 6, 'design_border_radius_unit' => 'px']],
            ['id' => 'btg_two', 'type' => 'quote', 'parent_id' => 'btg_grid', 'slot' => 1, 'settings' => ['text' => 'Use a quote that explains the problem, experience, or useful result.', 'cite' => 'Customer name, company or location', 'design_background_color_global' => 'surface', 'design_text_color_global' => 'text', 'design_padding_top' => 30, 'design_padding_right' => 28, 'design_padding_bottom' => 30, 'design_padding_left' => 28, 'design_border_radius' => 6, 'design_border_radius_unit' => 'px']],
            ['id' => 'btg_three', 'type' => 'quote', 'parent_id' => 'btg_grid', 'slot' => 2, 'settings' => ['text' => 'Keep customer wording accurate and never invent a testimonial.', 'cite' => 'Customer name, company or location', 'design_background_color_global' => 'surface', 'design_text_color_global' => 'text', 'design_padding_top' => 30, 'design_padding_right' => 28, 'design_padding_bottom' => 30, 'design_padding_left' => 28, 'design_border_radius' => 6, 'design_border_radius_unit' => 'px']],
        ],
    ],
    [
        'slug' => 'basic-pricing-three-plan',
        'label' => __('Basic: Three Pricing Plans', 'help4-builder-suite'),
        'category' => __('Basic Sections', 'help4-builder-suite'),
        'description' => __('Three responsive plan cards with plain-language fit and actions.', 'help4-builder-suite'),
        'tags' => ['basic', 'pricing', 'plans', 'packages', 'comparison'],
        'layout' => [
            ['id' => 'bpt_intro', 'type' => 'cta', 'settings' => ['title' => 'Choose by the result and support you need', 'text' => 'Replace every placeholder with approved prices, billing terms, limits, and included work.', 'button_label' => 'Ask a plan question', 'button_url' => '#contact', 'design_background_color_global' => 'surface_alt', 'design_text_color_global' => 'text', 'design_padding_top' => 54, 'design_padding_right' => 30, 'design_padding_bottom' => 38, 'design_padding_left' => 30]],
            ['id' => 'bpt_grid', 'type' => 'section', 'settings' => array_replace($h4bsBasicGridThree, ['min_height' => 420, 'design_background_color_global' => 'surface_alt', 'design_padding_top' => 18])],
            ['id' => 'bpt_one', 'type' => 'cta', 'parent_id' => 'bpt_grid', 'slot' => 0, 'settings' => array_replace($h4bsBasicCard, ['title' => 'Starter - $00', 'text' => "Best for a focused first step.\nList the included work, important limit, and billing interval.", 'button_label' => 'Choose Starter', 'button_url' => '#contact'])],
            ['id' => 'bpt_two', 'type' => 'cta', 'parent_id' => 'bpt_grid', 'slot' => 1, 'settings' => array_replace($h4bsBasicCard, ['title' => 'Growth - $00', 'text' => "Best for recurring production.\nExplain the larger allowance, reporting, and support path.", 'button_label' => 'Choose Growth', 'button_url' => '#contact', 'design_style_preset' => 'card_elevated'])],
            ['id' => 'bpt_three', 'type' => 'cta', 'parent_id' => 'bpt_grid', 'slot' => 2, 'settings' => array_replace($h4bsBasicCard, ['title' => 'Partner - Custom', 'text' => "Best for complex work.\nDescribe discovery, written scope, integrations, and ownership.", 'button_label' => 'Discuss Partner', 'button_url' => '#contact'])],
        ],
    ],
    [
        'slug' => 'basic-faq-section',
        'label' => __('Basic: FAQ Section', 'help4-builder-suite'),
        'category' => __('Basic Sections', 'help4-builder-suite'),
        'description' => __('Accessible FAQ starter with visible answers and four editable questions.', 'help4-builder-suite'),
        'tags' => ['basic', 'faq', 'questions', 'answers', 'accordion', 'support'],
        'layout' => [
            ['id' => 'bfs_shell', 'type' => 'section', 'settings' => array_replace($h4bsBasicSplit, ['column_widths' => '34|66', 'column_widths_tablet' => '36|64', 'align_items' => 'start', 'design_background_color_global' => 'surface_alt'])],
            ['id' => 'bfs_intro', 'type' => 'cta', 'parent_id' => 'bfs_shell', 'slot' => 0, 'settings' => ['title' => 'Frequently asked questions', 'text' => 'Answer the real questions customers ask before buying, contacting, or completing this task.', 'button_label' => 'Ask another question', 'button_url' => '#contact']],
            ['id' => 'bfs_faq', 'type' => 'faq', 'parent_id' => 'bfs_shell', 'slot' => 1, 'settings' => ['items' => "What is included?::List the actual deliverables and important limits in plain language.\nHow does pricing work?::State the amount, billing interval, renewal behavior, and cancellation path.\nHow long does it take?::Give a realistic range and explain what can affect the schedule.\nHow do I get help?::Name the contact route, normal response window, and information to send.", 'open_first' => '1', 'design_background_color_global' => 'surface', 'design_text_color_global' => 'text', 'design_padding_top' => 26, 'design_padding_right' => 26, 'design_padding_bottom' => 26, 'design_padding_left' => 26, 'design_border_radius' => 6, 'design_border_radius_unit' => 'px']],
        ],
    ],
    [
        'slug' => 'basic-contact-split',
        'label' => __('Basic: Contact Split', 'help4-builder-suite'),
        'category' => __('Basic Sections', 'help4-builder-suite'),
        'description' => __('Contact expectations and a native Help4 contact form in two columns.', 'help4-builder-suite'),
        'tags' => ['basic', 'contact', 'form', 'lead', 'quote', 'consultation'],
        'layout' => [
            ['id' => 'bcs_shell', 'type' => 'section', 'settings' => array_replace($h4bsBasicSplit, ['column_widths' => '42|58', 'column_widths_tablet' => '42|58', 'align_items' => 'start', 'min_height' => 560, 'design_background_color_global' => 'surface_alt', 'advanced_anchor_id' => 'contact'])],
            ['id' => 'bcs_intro', 'type' => 'cta', 'parent_id' => 'bcs_shell', 'slot' => 0, 'settings' => ['title' => 'Tell us what you need', 'text' => 'Explain what to send, who replies, and the normal response window so visitors know what happens next.', 'button_label' => 'Call instead', 'button_url' => 'tel:+10000000000', 'design_background_color_global' => 'surface_alt', 'design_text_color_global' => 'text', 'design_padding_top' => 34, 'design_padding_right' => 30, 'design_padding_bottom' => 34, 'design_padding_left' => 30, 'design_border_radius' => 6, 'design_border_radius_unit' => 'px']],
            ['id' => 'bcs_form', 'type' => 'shortcode', 'parent_id' => 'bcs_shell', 'slot' => 1, 'settings' => ['shortcode' => '[h4_contact_form]', 'design_background_color_global' => 'surface', 'design_padding_top' => 30, 'design_padding_right' => 30, 'design_padding_bottom' => 30, 'design_padding_left' => 30, 'design_border_radius' => 6, 'design_border_radius_unit' => 'px']],
        ],
    ],
    [
        'slug' => 'basic-cta-band',
        'label' => __('Basic: Call-to-Action Band', 'help4-builder-suite'),
        'category' => __('Basic Sections', 'help4-builder-suite'),
        'description' => __('A strong closing statement, supporting sentence, and primary action.', 'help4-builder-suite'),
        'tags' => ['basic', 'cta', 'call to action', 'closing', 'button'],
        'layout' => [
            ['id' => 'bcb_action', 'type' => 'cta', 'settings' => ['title' => 'Make the next step obvious', 'text' => 'Tell the visitor what to do, what information to send, and when they should expect a response.', 'button_label' => 'Get Started', 'button_url' => '#contact', 'design_background_color_global' => 'primary', 'design_text_color_global' => 'on_primary', 'design_text_align' => 'center', 'design_padding_top' => 58, 'design_padding_right' => 38, 'design_padding_bottom' => 58, 'design_padding_left' => 38, 'design_padding_top_mobile' => 44, 'design_padding_right_mobile' => 20, 'design_padding_bottom_mobile' => 44, 'design_padding_left_mobile' => 20]],
        ],
    ],
    [
        'slug' => 'basic-gallery-grid',
        'label' => __('Basic: Gallery + Introduction', 'help4-builder-suite'),
        'category' => __('Basic Sections', 'help4-builder-suite'),
        'description' => __('Section introduction and responsive image gallery for work, products, or events.', 'help4-builder-suite'),
        'tags' => ['basic', 'gallery', 'portfolio', 'images', 'projects', 'work'],
        'layout' => [
            ['id' => 'bgg_shell', 'type' => 'section', 'settings' => array_replace($h4bsBasicBand, ['design_background_color_global' => 'surface_alt'])],
            ['id' => 'bgg_title', 'type' => 'heading', 'parent_id' => 'bgg_shell', 'slot' => 0, 'settings' => ['text' => 'Selected work', 'tag' => 'h2', 'design_text_align' => 'center', 'design_font_family_global' => 'heading', 'design_text_color_global' => 'heading', 'design_font_size' => 40, 'design_font_size_tablet' => 35, 'design_font_size_mobile' => 30, 'design_font_size_unit' => 'px', 'design_font_weight' => '750', 'design_margin_bottom' => 12]],
            ['id' => 'bgg_text', 'type' => 'text', 'parent_id' => 'bgg_shell', 'slot' => 0, 'settings' => ['text' => 'Use real images that help visitors inspect the product, place, service, event, or finished result.', 'design_text_align' => 'center', 'design_text_color_global' => 'text', 'design_font_size' => 18, 'design_font_size_unit' => 'px', 'design_margin_bottom' => 24]],
            ['id' => 'bgg_gallery', 'type' => 'gallery', 'parent_id' => 'bgg_shell', 'slot' => 0, 'settings' => ['images' => '', 'columns' => 3, 'columns_tablet' => 2, 'columns_mobile' => 1, 'design_background_color_global' => 'surface', 'design_padding_top' => 18, 'design_padding_right' => 18, 'design_padding_bottom' => 18, 'design_padding_left' => 18, 'design_border_radius' => 6, 'design_border_radius_unit' => 'px']],
        ],
    ],
    [
        'slug' => 'basic-team-grid',
        'label' => __('Basic: Three Team Members', 'help4-builder-suite'),
        'category' => __('Basic Sections', 'help4-builder-suite'),
        'description' => __('Three editable team or responsibility cards for visible ownership.', 'help4-builder-suite'),
        'tags' => ['basic', 'team', 'about', 'people', 'authority', 'ownership'],
        'layout' => [
            ['id' => 'btm_intro', 'type' => 'cta', 'settings' => ['title' => 'Meet the people who own the work', 'text' => 'Use real names, roles, relevant experience, and accurate photographs.', 'button_label' => 'About the team', 'button_url' => '/about/', 'design_background_color_global' => 'surface', 'design_text_color_global' => 'text', 'design_padding_top' => 52, 'design_padding_right' => 30, 'design_padding_bottom' => 36, 'design_padding_left' => 30]],
            ['id' => 'btm_grid', 'type' => 'section', 'settings' => array_replace($h4bsBasicGridThree, ['design_background_color_global' => 'surface_alt', 'design_padding_top' => 18])],
            ['id' => 'btm_one', 'type' => 'cta', 'parent_id' => 'btm_grid', 'slot' => 0, 'settings' => array_replace($h4bsBasicCard, ['title' => 'Person Name - Role', 'text' => 'Add relevant experience and what this person owns for the customer.', 'button_label' => 'View profile', 'button_url' => '#person-one'])],
            ['id' => 'btm_two', 'type' => 'cta', 'parent_id' => 'btm_grid', 'slot' => 1, 'settings' => array_replace($h4bsBasicCard, ['title' => 'Person Name - Role', 'text' => 'Explain the responsibility, specialty, or support path this person leads.', 'button_label' => 'View profile', 'button_url' => '#person-two'])],
            ['id' => 'btm_three', 'type' => 'cta', 'parent_id' => 'btm_grid', 'slot' => 2, 'settings' => array_replace($h4bsBasicCard, ['title' => 'Person Name - Role', 'text' => 'Show the relevant standard, qualification, or outcome this person protects.', 'button_label' => 'View profile', 'button_url' => '#person-three'])],
        ],
    ],
    [
        'slug' => 'basic-homepage',
        'label' => __('Basic Page: Business Homepage', 'help4-builder-suite'),
        'category' => __('Basic Pages', 'help4-builder-suite'),
        'description' => __('Complete editable homepage with hero, services, trust, FAQ, and closing action.', 'help4-builder-suite'),
        'tags' => ['basic', 'page', 'homepage', 'front page', 'business', 'services', 'faq', 'contact'],
        'page_layout' => 'full_width',
        'layout' => [
            ['id' => 'bhp_hero', 'type' => 'section', 'settings' => array_replace($h4bsBasicSplit, ['column_widths' => '56|44', 'column_widths_tablet' => '54|46', 'min_height' => 560, 'design_background_color_global' => 'surface_alt', 'design_text_color_global' => 'text'])],
            ['id' => 'bhp_title', 'type' => 'heading', 'parent_id' => 'bhp_hero', 'slot' => 0, 'settings' => ['text' => 'A simple promise your customer understands', 'tag' => 'h1', 'design_font_family_global' => 'heading', 'design_text_color_global' => 'heading', 'design_font_size' => 54, 'design_font_size_tablet' => 44, 'design_font_size_mobile' => 38, 'design_font_size_unit' => 'px', 'design_font_weight' => '800', 'design_line_height' => '1.08', 'design_line_height_unit' => '', 'design_margin_bottom' => 18]],
            ['id' => 'bhp_text', 'type' => 'text', 'parent_id' => 'bhp_hero', 'slot' => 0, 'settings' => ['text' => 'Name the customer, problem, useful result, and next step without vague marketing language.', 'design_text_color_global' => 'text', 'design_font_size' => 19, 'design_font_size_unit' => 'px', 'design_line_height' => '1.65', 'design_line_height_unit' => '', 'design_margin_bottom' => 24]],
            ['id' => 'bhp_action', 'type' => 'button', 'parent_id' => 'bhp_hero', 'slot' => 0, 'settings' => ['label' => 'Request Help', 'url' => '#contact', 'design_style_preset' => 'button_primary']],
            ['id' => 'bhp_proof', 'type' => 'list', 'parent_id' => 'bhp_hero', 'slot' => 1, 'settings' => ['items' => "Clear service scope\nReal customer proof\nResponsive communication\nA defined next step", 'ordered' => '0', 'design_background_color_global' => 'surface', 'design_text_color_global' => 'text', 'design_padding_top' => 32, 'design_padding_right' => 30, 'design_padding_bottom' => 32, 'design_padding_left' => 30, 'design_border_radius' => 6, 'design_border_radius_unit' => 'px']],
            ['id' => 'bhp_services', 'type' => 'section', 'settings' => array_replace($h4bsBasicGridThree, ['advanced_anchor_id' => 'services'])],
            ['id' => 'bhp_service_one', 'type' => 'cta', 'parent_id' => 'bhp_services', 'slot' => 0, 'settings' => array_replace($h4bsBasicCard, ['title' => 'Primary service', 'text' => 'Explain the most important customer result and what is included.', 'button_label' => 'View service', 'button_url' => '#service-one'])],
            ['id' => 'bhp_service_two', 'type' => 'cta', 'parent_id' => 'bhp_services', 'slot' => 1, 'settings' => array_replace($h4bsBasicCard, ['title' => 'Secondary service', 'text' => 'Explain when this service is the right fit and how it begins.', 'button_label' => 'View service', 'button_url' => '#service-two', 'design_style_preset' => 'card_soft'])],
            ['id' => 'bhp_service_three', 'type' => 'cta', 'parent_id' => 'bhp_services', 'slot' => 2, 'settings' => array_replace($h4bsBasicCard, ['title' => 'Ongoing support', 'text' => 'Describe recurring help, response expectations, and ownership.', 'button_label' => 'View support', 'button_url' => '#support'])],
            ['id' => 'bhp_about', 'type' => 'section', 'settings' => array_replace($h4bsBasicSplit, ['column_widths' => '44|56', 'column_widths_tablet' => '44|56', 'design_background_color_global' => 'surface_alt'])],
            ['id' => 'bhp_image', 'type' => 'image', 'parent_id' => 'bhp_about', 'slot' => 0, 'settings' => ['src' => '', 'alt' => 'Replace with a real team or project image', 'width' => '100', 'width_unit' => '%', 'max_width' => '560', 'max_width_unit' => 'px']],
            ['id' => 'bhp_story', 'type' => 'cta', 'parent_id' => 'bhp_about', 'slot' => 1, 'settings' => ['title' => 'Why customers trust this business', 'text' => 'Connect the team, experience, standards, service area, and proof to the work customers need.', 'button_label' => 'Learn about us', 'button_url' => '/about/']],
            ['id' => 'bhp_faq', 'type' => 'faq', 'settings' => ['items' => "What do you help with?::Describe the primary services and who they are for.\nHow does pricing work?::Explain the pricing basis, estimate process, and important limits.\nWhat happens after I contact you?::Describe the response, qualification, scheduling, and kickoff path.", 'open_first' => '1', 'design_background_color_global' => 'surface', 'design_text_color_global' => 'text', 'design_padding_top' => 60, 'design_padding_right' => 30, 'design_padding_bottom' => 60, 'design_padding_left' => 30]],
            ['id' => 'bhp_close', 'type' => 'cta', 'settings' => ['title' => 'Ready for a useful answer?', 'text' => 'Tell us what you need, where the work applies, and the deadline or event date.', 'button_label' => 'Contact the Team', 'button_url' => '#contact', 'design_background_color_global' => 'primary', 'design_text_color_global' => 'on_primary', 'design_text_align' => 'center', 'design_padding_top' => 58, 'design_padding_right' => 38, 'design_padding_bottom' => 58, 'design_padding_left' => 38, 'advanced_anchor_id' => 'contact']],
        ],
    ],
    [
        'slug' => 'basic-coming-soon',
        'label' => __('Basic Page: Coming Soon', 'help4-builder-suite'),
        'category' => __('Basic Pages', 'help4-builder-suite'),
        'description' => __('Focused canvas page with launch message and optional newsletter signup.', 'help4-builder-suite'),
        'tags' => ['basic', 'page', 'coming soon', 'launch', 'waitlist', 'newsletter', 'canvas'],
        'page_layout' => 'canvas',
        'layout' => [
            ['id' => 'bco_shell', 'type' => 'section', 'settings' => array_replace($h4bsBasicBand, ['content_width' => 820, 'min_height' => 760, 'min_height_tablet' => 640, 'min_height_mobile' => 560, 'justify_content' => 'center', 'align_items' => 'center', 'design_background_color_global' => 'surface_alt', 'design_text_color_global' => 'text'])],
            ['id' => 'bco_title', 'type' => 'heading', 'parent_id' => 'bco_shell', 'slot' => 0, 'settings' => ['text' => 'Something useful is coming soon', 'tag' => 'h1', 'design_text_align' => 'center', 'design_font_family_global' => 'heading', 'design_text_color_global' => 'heading', 'design_font_size' => 54, 'design_font_size_tablet' => 44, 'design_font_size_mobile' => 38, 'design_font_size_unit' => 'px', 'design_font_weight' => '800', 'design_line_height' => '1.08', 'design_line_height_unit' => '', 'design_margin_bottom' => 18]],
            ['id' => 'bco_text', 'type' => 'text', 'parent_id' => 'bco_shell', 'slot' => 0, 'settings' => ['text' => 'Explain what is launching, who it helps, and when people should expect the next update.', 'design_text_align' => 'center', 'design_text_color_global' => 'text', 'design_font_size' => 19, 'design_font_size_unit' => 'px', 'design_line_height' => '1.65', 'design_line_height_unit' => '', 'design_margin_bottom' => 24]],
            ['id' => 'bco_signup', 'type' => 'shortcode', 'parent_id' => 'bco_shell', 'slot' => 0, 'settings' => ['shortcode' => '[h4_email_signup title="Get the launch update"]', 'design_background_color_global' => 'surface', 'design_text_color_global' => 'text', 'design_padding_top' => 28, 'design_padding_right' => 28, 'design_padding_bottom' => 28, 'design_padding_left' => 28, 'design_border_radius' => 6, 'design_border_radius_unit' => 'px']],
        ],
    ],
    [
        'slug' => 'basic-header-simple',
        'label' => __('Basic Header: Logo, Menu, Button', 'help4-builder-suite'),
        'category' => __('Headers', 'help4-builder-suite'),
        'description' => __('Simple responsive header with exact-logo placeholder, native menu, and contact action.', 'help4-builder-suite'),
        'tags' => ['basic', 'header', 'logo', 'menu', 'navigation', 'mobile', 'button'],
        'layout' => [
            ['id' => 'bhd_shell', 'type' => 'section', 'settings' => ['columns' => 3, 'columns_tablet' => 3, 'columns_mobile' => 1, 'column_widths' => '24|56|20', 'column_widths_tablet' => '28|52|20', 'gap' => 18, 'gap_tablet' => 14, 'gap_mobile' => 10, 'min_height' => 82, 'min_height_mobile' => 68, 'content_width_mode' => 'custom', 'content_width' => 1240, 'content_width_unit' => 'px', 'content_width_mode_mobile' => 'full', 'align_items' => 'center', 'design_background_color_global' => 'surface', 'design_padding_top' => 12, 'design_padding_right' => 24, 'design_padding_bottom' => 12, 'design_padding_left' => 24, 'design_padding_top_mobile' => 10, 'design_padding_right_mobile' => 18, 'design_padding_bottom_mobile' => 10, 'design_padding_left_mobile' => 18]],
            ['id' => 'bhd_logo', 'type' => 'image', 'parent_id' => 'bhd_shell', 'slot' => 0, 'settings' => ['src' => '', 'alt' => 'Replace with the exact brand logo', 'width' => '168', 'width_unit' => 'px', 'max_width' => '100', 'max_width_unit' => '%']],
            ['id' => 'bhd_menu', 'type' => 'menu', 'parent_id' => 'bhd_shell', 'slot' => 1, 'settings' => ['menu_slug' => '', 'orientation' => 'horizontal', 'dropdown_mode' => 'hover', 'depth' => '3', 'mobile_hamburger' => '1', 'menu_label' => 'Main Menu', 'design_text_align' => 'center']],
            ['id' => 'bhd_action', 'type' => 'button', 'parent_id' => 'bhd_shell', 'slot' => 2, 'settings' => ['label' => 'Contact', 'url' => '#contact', 'design_style_preset' => 'button_primary', 'design_text_align' => 'right', 'design_text_align_mobile' => 'left']],
        ],
    ],
    [
        'slug' => 'basic-footer-simple',
        'label' => __('Basic Footer: Brand + Links', 'help4-builder-suite'),
        'category' => __('Footers', 'help4-builder-suite'),
        'description' => __('Simple brand, navigation, contact, and automatic-year footer.', 'help4-builder-suite'),
        'tags' => ['basic', 'footer', 'links', 'contact', 'copyright', 'year'],
        'layout' => [
            ['id' => 'bft_shell', 'type' => 'section', 'settings' => ['columns' => 3, 'columns_tablet' => 2, 'columns_mobile' => 1, 'column_widths' => '40|30|30', 'gap' => 24, 'gap_tablet' => 20, 'gap_mobile' => 14, 'min_height' => 240, 'content_width_mode' => 'custom', 'content_width' => 1200, 'content_width_unit' => 'px', 'align_items' => 'start', 'design_background_color_global' => 'surface_alt', 'design_text_color_global' => 'text', 'design_padding_top' => 52, 'design_padding_right' => 28, 'design_padding_bottom' => 38, 'design_padding_left' => 28, 'design_padding_top_mobile' => 40, 'design_padding_right_mobile' => 20, 'design_padding_bottom_mobile' => 32, 'design_padding_left_mobile' => 20]],
            ['id' => 'bft_brand', 'type' => 'cta', 'parent_id' => 'bft_shell', 'slot' => 0, 'settings' => ['title' => 'Your Brand', 'text' => 'Add a short customer promise and the primary service area.', 'button_label' => 'Contact Us', 'button_url' => '#contact', 'design_text_color_global' => 'text']],
            ['id' => 'bft_menu', 'type' => 'menu', 'parent_id' => 'bft_shell', 'slot' => 1, 'settings' => ['menu_slug' => '', 'orientation' => 'vertical', 'dropdown_mode' => 'none', 'depth' => '1', 'mobile_hamburger' => '0', 'menu_label' => 'Footer Menu', 'design_text_color_global' => 'text']],
            ['id' => 'bft_contact', 'type' => 'list', 'parent_id' => 'bft_shell', 'slot' => 2, 'settings' => ['items' => "Phone: (000) 000-0000\nEmail: hello@example.com\nCity, State", 'ordered' => '0', 'design_text_color_global' => 'text', 'design_line_height' => '1.7', 'design_line_height_unit' => '', 'design_margin_bottom' => 18]],
            ['id' => 'bft_copy', 'type' => 'text', 'parent_id' => 'bft_shell', 'slot' => 2, 'settings' => ['text' => 'Copyright {year} {brand}.', 'design_text_color_global' => 'text']],
        ],
    ],
    [
        'slug' => 'basic-404-centered',
        'label' => __('Basic 404: Helpful Recovery', 'help4-builder-suite'),
        'category' => __('404 Pages', 'help4-builder-suite'),
        'description' => __('Centered missing-page message with search and a safe route home.', 'help4-builder-suite'),
        'tags' => ['basic', '404', 'not found', 'search', 'recovery'],
        'layout' => [
            ['id' => 'b404_shell', 'type' => 'section', 'settings' => array_replace($h4bsBasicBand, ['content_width' => 820, 'min_height' => 680, 'min_height_mobile' => 520, 'justify_content' => 'center', 'align_items' => 'center', 'design_background_color_global' => 'surface_alt'])],
            ['id' => 'b404_code', 'type' => 'heading', 'parent_id' => 'b404_shell', 'slot' => 0, 'settings' => ['text' => '404', 'tag' => 'h1', 'design_text_align' => 'center', 'design_text_color_global' => 'primary', 'design_font_size' => 88, 'design_font_size_tablet' => 72, 'design_font_size_mobile' => 62, 'design_font_size_unit' => 'px', 'design_font_weight' => '800', 'design_margin_bottom' => 8]],
            ['id' => 'b404_title', 'type' => 'heading', 'parent_id' => 'b404_shell', 'slot' => 0, 'settings' => ['text' => 'That page could not be found', 'tag' => 'h2', 'design_text_align' => 'center', 'design_text_color_global' => 'heading', 'design_font_size' => 36, 'design_font_size_tablet' => 32, 'design_font_size_mobile' => 28, 'design_font_size_unit' => 'px', 'design_font_weight' => '750', 'design_margin_bottom' => 12]],
            ['id' => 'b404_text', 'type' => 'text', 'parent_id' => 'b404_shell', 'slot' => 0, 'settings' => ['text' => 'Search the site or return to the homepage. If an old link brought you here, the information may have moved.', 'design_text_align' => 'center', 'design_text_color_global' => 'text', 'design_font_size' => 18, 'design_font_size_unit' => 'px', 'design_margin_bottom' => 22]],
            ['id' => 'b404_search', 'type' => 'shortcode', 'parent_id' => 'b404_shell', 'slot' => 0, 'settings' => ['shortcode' => '[h4_search type="all" placeholder="Search this site..."]', 'design_background_color_global' => 'surface', 'design_padding_top' => 20, 'design_padding_right' => 20, 'design_padding_bottom' => 20, 'design_padding_left' => 20, 'design_border_radius' => 6, 'design_border_radius_unit' => 'px']],
            ['id' => 'b404_home', 'type' => 'button', 'parent_id' => 'b404_shell', 'slot' => 0, 'settings' => ['label' => 'Return Home', 'url' => '/', 'design_style_preset' => 'button_primary', 'design_text_align' => 'center']],
        ],
    ],
];
