<!doctype html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title><?= __('maintenance.title', 'Site Under Maintenance') ?></title>
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <style>
        body {
            margin: 0;
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
            background: #f4f6f9;
            color: #333;
        }
        .maintenance-box {
            max-width: 520px;
            width: 92%;
            background: #fff;
            border-radius: 16px;
            padding: 40px 32px;
            text-align: center;
            box-shadow: 0 20px 50px rgba(0,0,0,.08);
        }
        .maintenance-icon {
            font-size: 48px;
            margin-bottom: 16px;
        }
        h1 {
            margin: 0 0 12px;
            font-size: 24px;
        }
        p {
            margin: 0;
            font-size: 15px;
            line-height: 1.6;
            color: #555;
        }
    </style>
</head>
<body>

<div class="maintenance-box">
    <div class="maintenance-icon">🛠️</div>
    <h1><?= __('maintenance.heading', 'We’ll be back soon') ?></h1>
    <p>
        <?= htmlspecialchars($message, ENT_QUOTES, 'UTF-8') ?>
    </p>
</div>

</body>
</html>
