:root {
    --bg: #fffaf1;
    --panel: #ffffff;
    --text: #1f2933;
    --muted: #64748b;
    --brand: #f59e0b;
    --brand-dark: #c2410c;
    --line: #f1d8aa;
    --danger: #b91c1c;
    --ok: #15803d;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
}

a { color: inherit; }

.container {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    background: rgba(255,255,255,.92);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(8px);
}

.header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 72px;
}

.logo {
    text-decoration: none;
    font-weight: 800;
    font-size: 22px;
    color: var(--brand-dark);
}

.nav {
    display: flex;
    gap: 18px;
    align-items: center;
}

.nav a {
    text-decoration: none;
    font-weight: 600;
    color: #374151;
}

.hero {
    padding: 72px 0;
    background: linear-gradient(135deg, #fff7ed, #fef3c7);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.4fr .8fr;
    gap: 32px;
    align-items: center;
}

.badge {
    display: inline-block;
    background: #ffedd5;
    color: var(--brand-dark);
    border: 1px solid #fed7aa;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
}

h1 {
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.05;
    margin: 22px 0 18px;
}

h2 { font-size: 30px; margin: 0 0 18px; }
h3 { margin-top: 0; }

.hero p {
    font-size: 19px;
    color: var(--muted);
    max-width: 720px;
}

.hero-actions, .actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border: 0;
    border-radius: 14px;
    padding: 12px 18px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    font-size: 15px;
}

.btn.primary {
    background: var(--brand-dark);
    color: #fff;
}

.btn.secondary {
    background: #fff;
    color: var(--brand-dark);
    border: 1px solid #fed7aa;
}

.hero-card, .card, .panel {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(124,45,18,.08);
}

.hero-card ul {
    padding-left: 18px;
    margin-bottom: 0;
}

.section {
    padding: 56px 0;
}

.section.light {
    background: #fff7ed;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.split {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
}

.contact-form, .auth-form, .ticket-form {
    display: grid;
    gap: 14px;
    max-width: 680px;
}

label {
    display: grid;
    gap: 6px;
    font-weight: 700;
}

input, textarea, select {
    width: 100%;
    border: 1px solid #e5c693;
    border-radius: 12px;
    padding: 12px 14px;
    font: inherit;
    background: #fff;
}

.alert {
    padding: 12px 14px;
    border-radius: 12px;
    margin: 16px 0;
    font-weight: 700;
}

.alert.error { background: #fee2e2; color: var(--danger); }
.alert.success { background: #dcfce7; color: var(--ok); }

.table-wrap { overflow-x: auto; }

table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

th, td {
    text-align: left;
    border-bottom: 1px solid var(--line);
    padding: 12px;
    vertical-align: top;
}

.site-footer {
    border-top: 1px solid var(--line);
    padding: 24px 0;
    background: #fff;
    color: var(--muted);
}

@media (max-width: 800px) {
    .hero-grid, .cards {
        grid-template-columns: 1fr;
    }
    .split, .header-row, .nav {
        align-items: flex-start;
        flex-direction: column;
    }
}
