:root {
    color-scheme: light;
    --bg: #f4f7f5;
    --surface: #ffffff;
    --surface-muted: #eef5f1;
    --text: #17231d;
    --muted: #5e6f67;
    --line: #d7e2dc;
    --brand: #007f5f;
    --brand-dark: #005f46;
    --accent: #f2b705;
    --shadow: 0 18px 45px rgba(19, 40, 31, 0.09);
}

.topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 10px 60px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    z-index: 30;
}

.topbar h1 {
    margin: 0;
}

.topbar h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--brand-dark);
}

.topbar-title {
    margin-left: 25px;
}

.topbar-title h2 {
    color: var(--brand-dark);
    font-size: 1.2rem;
}

.topbar img {
    height: 55px;
}

.brand-block {
    display: flex;
    align-items: center;
    min-width: 0;
}

.menu-toggle{
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--surface);
    color: var(--brand-dark);
    cursor: pointer;
    transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
    border-color: rgba(0, 127, 95, 0.45);
    background: var(--surface-muted);
    box-shadow: 0 8px 18px rgba(19, 40, 31, 0.08);
    outline: none;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
}

.menu-toggle span {
    position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
    content: "";
    position: absolute;
    left: 0;
}

.menu-toggle span::before {
    top: -6px;
}

.menu-toggle span::after {
    top: 6px;
}

@media (max-width: 1020px) {
    .topbar-title {
        display: none;
    }
}


@media (max-width: 600px) {
    .topbar {
        gap: 12px;
        padding: 10px 20px;
    }

}