:root {
    --bg-color: #0a0a0a;
    --card-bg: #141414;
    --accent-color: #f29555;
    --green-color: #34c759;
    --text-main: #f5f5f7;
    --text-muted: #8e8e93;
    --border-color: #2c2c2e;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.5;
    padding: 1.25rem;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100dvh;
}

/* === СТРУКТУРА ТА ЛЕЙАУТ === */

.container {
    max-width: 480px;
    width: 100%;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.card-large {
    padding: 40px 24px;
    text-align: center;
}

header {
    text-align: center;
    margin-bottom: 24px;
}

.divider {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 28px 0;
}

.footer {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    text-align: center;
}

/* === ТИПОГРАФІКА ТА ЛОГОТИП === */

.logo {
    display: inline-block;
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-main);
    text-decoration: none;
    margin-bottom: 4px;
}

.logo span {
    color: var(--accent-color);
}

.subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* === КНОПКИ === */

.btn-submit,
.btn-home {
    display: inline-block;
    padding: 14px 24px;
    background: var(--accent-color);
    color: #000;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: opacity 0.2s;
}

.btn-submit {
    width: 100%;
}

.btn-home {
    padding-inline: 32px;
}

.btn-submit:hover,
.btn-home:hover {
    opacity: 0.9;
}

/* === КОНТАКТИ ТА АДРЕСА === */

.contacts {
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 16px;
    text-align: center;
}

.contacts-hint {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.phone {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent-color);
    text-decoration: none;
    display: inline-block;
    margin-bottom: 8px;
    transition: opacity 0.2s;
}

.phone:hover {
    opacity: 0.85;
}

.address {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-align: center;
}

.address a {
    text-decoration: none;
    color: var(--text-muted);
    border-bottom: 1px solid rgba(142, 142, 147, 0.4);
    transition: color 0.2s, border-color 0.2s;
}

.address a:hover {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}

/* === ФОРМА БРОНЮВАННЯ === */

.booking-form h2 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    font-weight: 600;
    text-align: center;
}

.input-group {
    margin-bottom: 12px;
}

.input-group label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

input[type="tel"],
input[type="text"] {
    width: 100%;
    padding: 12px;
    background: #1c1c1e;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: #fff;
    font-size: 1.25rem;
    outline: none;
    transition: border-color 0.2s;
}

input:focus {
    border-color: var(--accent-color);
}

/* === ПРОМОКОД === */

.promo-badge {
    background: rgba(255, 153, 0, 0.1);
    border: 1px dashed var(--accent-color);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    font-size: 0.9rem;
}

.promo-code {
    display: inline-block;
    background: #1c1c1e;
    padding: 4px 10px;
    border-radius: 6px;
    font-family: monospace;
    font-weight: 700;
    color: var(--accent-color);
    margin-top: 6px;
}

/* === СТОРІНКА ПОМИЛКИ (404) === */

.error-code {
    font-size: 5rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--accent-color);
    line-height: 1;
    margin-bottom: 12px;
}

.error-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-main);
}

.error-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 28px;
}

/* === УТИЛІТИ === */

.hh {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
