/* ===== Alapszínek a design exporthoz ===== */

:root {
    --navy: #162041;
    /* bal sáv sötétkék */
    --cream-text: #f2e7cf;
    /* bal sáv szövegszín */
    --paper: #efe1c6;
    /* jobb oldal háttér */
    --sep: #0e1935;
    /* középső elválasztó vonal */
    --text: #1b2230;
    /* alap szövegszín */
    --muted: #575e69;
    /* halvány szöveg */
    --link: #0b56a3;
    /* linkek (email) */
}

* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    font-family: "Roboto Flex", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    font-optical-sizing: auto;
    color: var(--text);
    background: var(--paper);
    line-height: 1.45;
}


/* ===== Kétoszlopos elrendezés + elválasztó ===== */

.layout {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 390px 1fr;
}

.sidebar {
    border-right: 2px solid var(--sep);
}

@media (max-width: 960px) {
    .layout {
        grid-template-columns: 1fr;
    }
    .sidebar {
        border-right: none;
        border-bottom: 2px solid var(--sep);
    }
}


/* ===== Bal oldal ===== */

.sidebar {
    background: var(--navy);
    color: var(--cream-text);
    padding: 32px 28px 28px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.brand img {
    width: min(280px, 100%);
    height: auto;
    display: block;
}

.mainnav {
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    gap: clamp(24px, 3.2vw, 44px);
}

.mainnav {
    padding-inline-start: 16px;
    padding-top: 16px;
}

@media (min-width: 600px) {
    .mainnav {
        padding-inline-start: 50px;
        padding-top: 40px;
    }
}

@media (min-width: 960px) {
    .mainnav {
        padding-inline-start: 120px;
        padding-top: 72px;
    }
}

.navlink {
    color: var(--cream-text);
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: .6px;
    font-size: 1.12rem;
}

.navlink:focus-visible,
.navlink:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.legal-link {
    color: color-mix(in oklab, var(--cream-text) 78%, black);
    text-decoration: none;
    font-size: .98rem;
}

.legal-link:hover,
.legal-link:focus-visible {
    text-decoration: underline;
    text-underline-offset: 2px;
}


/* ===== Jobb oldal ===== */

.content {
    background: var(--paper);
    padding: 48px 6vw 56px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

h1 {
    margin: 10px 0 8px;
    font-weight: 800;
    font-size: clamp(1.8rem, 2.1vw + 1rem, 2.35rem);
}

.muted {
    margin: 8px 0 6px;
    color: var(--muted);
    font-weight: 600;
}

.contacts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    margin: 8px 0 22px;
    width: 100%;
    max-width: 680px;
}

.contacts p {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.6;
}

.contacts a {
    color: var(--link);
    text-underline-offset: 3px;
}

@media (max-width:600px) {
    .contacts {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.hero-mark {
    margin: 26px 0 10px;
    opacity: .98;
}

.hero-mark img {
    width: min(40vw, 300px);
    max-width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 0 0 transparent);
    /* tiszta PNG */
}

.hint {
    margin: 6px 0 26px;
    max-width: 980px;
}

.under {
    font-size: 1.04rem;
}

.under a {
    color: var(--link);
    text-underline-offset: 3px;
}


/* ===== Focus állapot ===== */

a:focus-visible {
    outline: 2px dashed var(--link);
    outline-offset: 3px;
}