:root {
    --site-kek: #18243a;
    --site-kek-2: #223452;
    --site-kek-vilagos: #eef3fb;

    --site-akcentus: #2f6fed;
    --site-akcentus-hover: #255ed0;

    --site-szoveg: #222b39;
    --site-halk-szoveg: #5b6473;

    --site-feher: #ffffff;

    --site-keret: #dce2ee;

    --site-hatter: #f7f9fc;

    --site-max-width: 1180px;
}


* {
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    margin: 0;
    background: var(--site-hatter);
    color: var(--site-szoveg);
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;
    font-size: 16px;
    line-height: 1.55;
}


a {
    color: var(--site-akcentus);
}


img {
    max-width: 100%;
    height: auto;
}


.site-container {
    width: min(
        calc(100% - 40px),
        var(--site-max-width)
    );

    margin-left: auto;
    margin-right: auto;
}


/*
 * Fejléc
 */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    border-bottom: 1px solid rgba(220, 226, 238, 0.9);

    background: rgba(255, 255, 255, 0.96);

    backdrop-filter: blur(10px);

    box-shadow:
        0 2px 10px rgba(24, 36, 58, 0.04);
}


.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;

    width: min(
        calc(100% - 40px),
        var(--site-max-width)
    );

    min-height: 74px;

    margin-left: auto;
    margin-right: auto;
}


.site-brand {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 11px;

    color: var(--site-kek);

    text-decoration: none;
}

.site-brand-logo {
    display: block;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
}

.site-brand-text {
    display: flex;
    flex-direction: column;
}

.site-brand-main {
    font-size: 22px;
    font-weight: 800;
    line-height: 1.08;
}

.site-brand-sub {
    margin-top: 3px;
    color: var(--site-halk-szoveg);
    font-size: 12px;
    letter-spacing: 0.04em;
}


.site-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}


.site-nav a {
    padding: 8px 11px;

    border-radius: 7px;

    color: var(--site-kek);

    font-size: 14px;
    font-weight: 600;

    text-decoration: none;

    transition:
        background-color 0.15s ease,
        color 0.15s ease;
}


.site-nav a:hover {
    background: var(--site-kek-vilagos);

    color: var(--site-akcentus);
}


.site-nav .site-nav-kiemelt {
    margin-left: 5px;

    background: var(--site-akcentus);

    color: #ffffff;
}


.site-nav .site-nav-kiemelt:hover {
    background: var(--site-akcentus-hover);

    color: #ffffff;
}

.site-nav a.is-active {
    background: var(--site-kek-vilagos);
    color: var(--site-akcentus);
}

.site-nav .site-nav-kiemelt.is-active {
    background: var(--site-akcentus);
    color: #ffffff;
}


/*
 * Oldaltartalom
 */

.site-main {
    padding: 34px 0 58px;
}


/*
 * Footer
 */

.site-footer {
    border-top: 1px solid var(--site-keret);

    background: var(--site-kek);

    color: rgba(255, 255, 255, 0.78);
}


.site-footer-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.5fr)
        minmax(180px, 0.75fr)
        minmax(200px, 0.75fr);

    gap: 36px;

    padding: 40px 0 32px;
}


.site-footer-title {
    display: block;

    margin-bottom: 10px;

    color: #ffffff;

    font-size: 21px;
}


.site-footer-heading {
    display: block;

    margin-bottom: 10px;

    color: #ffffff;

    font-size: 15px;
}


.site-footer p {
    margin: 0;

    line-height: 1.6;
}


.site-footer a {
    color: #ffffff;
}


.site-footer-bottom {
    padding: 18px 0;

    border-top:
        1px solid rgba(255, 255, 255, 0.12);

    font-size: 13px;
}


/*
 * Reszponzív
 */

@media (max-width: 900px) {

    .site-header-inner {
        flex-direction: column;
        align-items: flex-start;

        gap: 12px;

        padding-top: 15px;
        padding-bottom: 15px;
    }


    .site-nav {
        width: 100%;
    }


    .site-nav .site-nav-kiemelt {
        margin-left: 0;
    }


    .site-footer-grid {
        grid-template-columns: 1fr 1fr;
    }

}


@media (max-width: 620px) {

    .site-container,
    .site-header-inner {
        width: min(
            calc(100% - 26px),
            var(--site-max-width)
        );
    }


    .site-main {
        padding-top: 20px;
    }


    .site-nav {
        gap: 3px;
    }


    .site-nav a {
        padding: 7px 8px;

        font-size: 13px;
    }


    .site-footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

}