<?php
declare(strict_types=1);
?>
<?php $this->assign('title', 'Enquiry sent · CandleCraft Academy'); ?>

<section class="cc-contact-band">
    <div class="cc-container" style="max-width: 640px;">
        <div class="cc-card cc-reveal" style="text-align: center; padding: 56px 32px;">
            <div style="width: 64px; height: 64px; border-radius: 999px; background: var(--cc-moss-tint); color: var(--cc-moss); display: inline-flex; align-items: center; justify-content: center; margin: 0 auto 20px;" aria-hidden="true">
                <svg width="28" height="28" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></svg>
            </div>
            <div class="cc-eyebrow" style="justify-content: center; margin-bottom: 16px;">Enquiry received</div>
            <h1 style="font-size: clamp(28px, 4vw, 36px); font-weight: 800; letter-spacing: -0.025em; margin-bottom: 12px;">Thanks — we've got it.</h1>
            <p class="cc-muted" style="margin-bottom: 28px;">A confirmation is on its way to your inbox. A real person will read your enquiry within two working days and reply directly.</p>
            <div style="display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;">
                <a class="cc-btn cc-btn--primary" href="<?= $this->Url->build(['_name' => 'home']) ?>">Back to home</a>
                <a class="cc-btn cc-btn--outline" href="<?= $this->Url->build(['_name' => 'booking_index']) ?>">Browse classes</a>
            </div>
        </div>
    </div>
</section>
