:root {
    --bg: #f2f6fa;
    --card: #ffffff;
    --text: #102636;
    --muted: #587286;
    --primary: #03488b;
    --primary-hover: #023a71;
    --accent: #f7e01e;
    --error-bg: #ffe9e8;
    --error-border: #f3b0ad;
    --success-bg: #eaf7ef;
    --success-border: #9bcfb0;
    --line: #d9e4ec;
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: "Segoe UI", Tahoma, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
}

.container {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    padding: 0 1rem;
}

.site-header {
	position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    border-bottom: 1px solid var(--line);
}

.site-header-inner {
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    font-weight: 700;
    margin: auto;
}

.brand img {
    display: block;
    width: 400px;
    max-width: 100%;
    height: auto;
	padding-top: 20px;
	padding-bottom: 20px;
}

.link-quiet {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.95rem;
}

.hero {
    background: linear-gradient(135deg, #03488b 0%, #0459ab 100%);
    color: #fff;
    padding: 0;
}

.hero h1 {
    margin: 0 0 0.4rem;
    font-size: 2rem;
}

.hero-image {
    display: block;
    width: 100%;
    max-width: 1200px;
    height: auto;
    border-radius: 0;
    margin: 0 auto 1rem;
}

.website-text {
    margin-top: 0;
}

.website-text-card {
    background: #fff;
    border-radius: 0;
    padding: 1rem;
    color: var(--text);
    line-height: 1.6;
}
h1
{
	margin-top: 0;
}
.hero p {
    margin: 0.2rem 0;
    color: rgba(255, 255, 255, 0.95);
}

.hero-event {
    margin-top: 0.8rem;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    padding-top: 1.25rem;
    padding-bottom: 1.5rem;
}

.content-grid.thank-you-mode {
    grid-template-columns: 1fr;
}

.content-grid.thank-you-mode .card {
    min-height: 300px;
}

.page-wrap {
    min-height: calc(100vh - 2rem);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.info-block,
.card {
    background: var(--card);
    border-radius: 0;
    padding: 1.1rem;
}

.card-compact {
    width: 100%;
    max-width: 420px;
}

.info-block h2 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.info-block p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

label {
    display: block;
    margin: 0.75rem 0 0.25rem;
    font-weight: 600;
    font-size: 0.95rem;
}

a {
    color: var(--primary);
}

a:hover {
    color: var(--primary-hover);
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid #c8d6e0;
    border-radius: 0;
    padding: 0.75rem 0.8rem;
    font-size: 1rem;
    font-family: inherit;
    background: #fff;
}

input:focus,
select:focus,
textarea:focus {
    outline: 2px solid rgba(0, 98, 147, 0.25);
    border-color: var(--primary);
}

textarea {
    min-height: 110px;
    resize: vertical;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.35rem 0;
    font-weight: 500;
}

.radio-group input[type="radio"] {
    width: auto;
    margin: 0;
}

.checkbox-field {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-top: 0.9rem;
}

.checkbox-field input[type="checkbox"] {
    width: auto;
    margin: 0;
}

button {
    width: 100%;
    margin-top: 1rem;
    border: 0;
    border-radius: 0;
    background: var(--primary);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.8rem 0.9rem;
    cursor: pointer;
    box-shadow: 0 0 0 2px rgba(247, 224, 30, 0.25) inset;
}

button:hover {
    background: var(--primary-hover);
}

.muted {
    color: var(--muted);
}

.form-hint {
    margin-top: 0.35rem;
    margin-bottom: 0;
}

.alert {
    border-radius: 0;
    padding: 0.7rem 0.8rem;
    border: 1px solid transparent;
    margin-bottom: 0.9rem;
}

.alert-error {
    background: var(--error-bg);
    border-color: var(--error-border);
}

.alert-success {
    background: var(--success-bg);
    border-color: var(--success-border);
}

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

.site-footer p {
    margin: 0;
    padding: 0.9rem 0;
    color: var(--muted);
    font-size: 0.9rem;
    text-align: center;
}

@media (max-width: 860px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.6rem;
    }
}
