:root {
    --bg: #f6f5f3;
    --card-bg: #ffffff;
    --text: #2a2420;
    --muted: #6b625a;
    --accent: #974806;
    --accent-text: #974806;
    --border: #e6e1db;
    --panel: #efece8;
    --shadow: 0 1px 3px rgba(40, 30, 20, .08), 0 8px 24px rgba(40, 30, 20, .06);
}
@media (prefers-color-scheme: dark) {
    :root {
        --bg: #17140f;
        --card-bg: #221d17;
        --text: #ece7e1;
        --muted: #a89e93;
        --accent: #974806;
        --accent-text: #e08a3c;
        --border: #35302a;
        --panel: #2a251e;
        --shadow: 0 1px 3px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .3);
    }
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 1rem;
    line-height: 1.55;
}
.page { width: 100%; max-width: 900px; }
header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--accent);
    margin-bottom: 2rem;
}
header .logo img { height: 60px; width: auto; display: block; }
@media (prefers-color-scheme: dark) {
    header .logo img { background: #fff; padding: 6px 10px; border-radius: 8px; }
}
nav a {
    color: var(--accent-text);
    text-decoration: none;
    font-weight: 600;
    margin-left: 1.25rem;
    font-size: 1.05rem;
}
nav a:hover, nav a.active { text-decoration: underline; }
h1 {
    color: var(--accent-text);
    text-align: center;
    font-size: clamp(1.5rem, 4.5vw, 2.2rem);
    line-height: 1.25;
    margin-bottom: .5rem;
}
.subtitle { text-align: center; color: var(--muted); margin-bottom: 1.75rem; }
.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .6rem;
    margin-bottom: 1.75rem;
}
.gallery img {
    height: 110px;
    width: auto;
    border-radius: 8px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}
.lead {
    font-size: 1.25rem;
    text-align: center;
    max-width: 46rem;
    margin: 0 auto 2.25rem;
}
.card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}
.card.panel { background: var(--panel); }
.split { display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; }
.split .img-col { flex: 0 0 auto; text-align: center; margin: 0 auto; }
.split .text-col { flex: 1 1 260px; }
.badge {
    display: inline-block;
    color: var(--accent-text);
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: .03em;
    margin-bottom: .5rem;
}
.card h2 { font-size: 1.25rem; margin-bottom: .5rem; }
.card ul { margin: .5rem 0 0 1.2rem; }
.card a { color: var(--accent-text); }
.partners { text-align: center; }
.partners h2 { color: var(--accent-text); margin-bottom: 1rem; }
.partners .logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}
.partners img {
    max-height: 55px;
    width: auto;
    max-width: 250px;
    background: #fff;
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid var(--border);
}
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.contact-grid .card { margin-bottom: 0; }
.contact-grid h2 { color: var(--accent-text); margin-bottom: .75rem; }
footer {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    text-align: center;
    font-size: .85rem;
    color: var(--muted);
}
