body {
    margin: 0;
    padding: 0;
    font-family: system-ui,-apple-system,Segoe UI,sans-serif;
}

.head {
    position: relative;
    display: flex;
    width: 100%;
    box-sizing: border-box;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    max-width: 1240px;
    min-height: 78px;
    padding: 10px 20px 18px;
    margin-right: auto;
    margin-left: auto;
}

.head::after {
    position: absolute;
    right: 20px;
    bottom: 14px;
    left: 235px;
    height: 6px;
    background: linear-gradient(
        to right,
        #006398 0 88%,
        transparent 88% 88.5%,
        #e51e3a 88.5% 90.5%,
        transparent 90.5% 91%,
        #009748 91% 100%
    );
    content: "";
}

.head-brand {
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
    align-items: center;
    gap: 24px;
}

.head img {
    display: block;
    width: 200px;
    height: auto;
    flex: 0 0 auto;
}

.head-text {
    overflow: hidden;
    padding-bottom: 8px;
    color: #006398;
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 300;
    line-height: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.head-links {
    display: flex;
    padding-bottom: 8px;
    align-items: center;
    flex-wrap: nowrap;
    gap: 8px;
    flex: 0 0 auto;
}

.head-link {
    display: grid;
    width: 32px;
    height: 32px;
    box-sizing: border-box;
    place-items: center;
    border-radius: 50%;
    background: #006398;
    color: #fff;
    text-decoration: none;
    transition: background-color 150ms ease, transform 150ms ease;
}

.head-link:hover,
.head-link:focus-visible {
    background: #004f7a;
    transform: translateY(-1px);
}

.head-link::before {
    width: 16px;
    height: 16px;
    background: currentColor;
    content: "";
    mask-position: center;
    mask-repeat: no-repeat;
    mask-size: contain;
    -webkit-mask-position: center;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: contain;
}

.head-link-www {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.head-link-www::before {
    display: none;
}

.head-link-facebook::before {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13.5 22v-9h3l.5-3.5h-3.5V7.3c0-1 .3-1.8 1.8-1.8H17V2.3c-.7-.1-1.8-.3-3-.3-3 0-5 1.8-5 5.1v2.4H6V13h3v9h4.5Z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13.5 22v-9h3l.5-3.5h-3.5V7.3c0-1 .3-1.8 1.8-1.8H17V2.3c-.7-.1-1.8-.3-3-.3-3 0-5 1.8-5 5.1v2.4H6V13h3v9h4.5Z'/%3E%3C/svg%3E");
}

.head-link-youtube::before {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M23.5 6.2a3 3 0 0 0-2.1-2.1C19.5 3.6 12 3.6 12 3.6s-7.5 0-9.4.5A3 3 0 0 0 .5 6.2 31 31 0 0 0 0 12a31 31 0 0 0 .5 5.8 3 3 0 0 0 2.1 2.1c1.9.5 9.4.5 9.4.5s7.5 0 9.4-.5a3 3 0 0 0 2.1-2.1A31 31 0 0 0 24 12a31 31 0 0 0-.5-5.8ZM9.6 15.6V8.4L15.8 12l-6.2 3.6Z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M23.5 6.2a3 3 0 0 0-2.1-2.1C19.5 3.6 12 3.6 12 3.6s-7.5 0-9.4.5A3 3 0 0 0 .5 6.2 31 31 0 0 0 0 12a31 31 0 0 0 .5 5.8 3 3 0 0 0 2.1 2.1c1.9.5 9.4.5 9.4.5s7.5 0 9.4-.5a3 3 0 0 0 2.1-2.1A31 31 0 0 0 24 12a31 31 0 0 0-.5-5.8ZM9.6 15.6V8.4L15.8 12l-6.2 3.6Z'/%3E%3C/svg%3E");
}

.head-link-linkedin::before {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5.3 7.9H.4V23h4.9V7.9ZM2.9.5A2.9 2.9 0 1 0 2.9 6.3 2.9 2.9 0 0 0 2.9.5ZM23.6 14.3c0-4.6-2.5-6.8-5.8-6.8-2.7 0-3.9 1.5-4.5 2.5V7.9H8.4V23h4.9v-7.5c0-2 .4-4 2.9-4s2.5 2.3 2.5 4.1V23h4.9v-8.7Z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5.3 7.9H.4V23h4.9V7.9ZM2.9.5A2.9 2.9 0 1 0 2.9 6.3 2.9 2.9 0 0 0 2.9.5ZM23.6 14.3c0-4.6-2.5-6.8-5.8-6.8-2.7 0-3.9 1.5-4.5 2.5V7.9H8.4V23h4.9v-7.5c0-2 .4-4 2.9-4s2.5 2.3 2.5 4.1V23h4.9v-8.7Z'/%3E%3C/svg%3E");
}

.head-link-instagram::before {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5.8A6.2 6.2 0 1 0 12 18.2 6.2 6.2 0 0 0 12 5.8Zm0 10.2a4 4 0 1 1 0-8 4 4 0 0 1 0 8Zm7.9-10.5a1.45 1.45 0 1 1-2.9 0 1.45 1.45 0 0 1 2.9 0ZM24 7c-.1-2-.5-3.8-2-5.2S18.8 0 17 0H7C5 0 3.2.4 1.8 1.8S0 5.2 0 7v10c0 2 .4 3.8 1.8 5.2S5.2 24 7 24h10c2 0 3.8-.4 5.2-1.8S24 18.8 24 17V7Zm-2.6 12.1a4 4 0 0 1-2.3 2.3c-1.6.6-5.4.5-7.1.5s-5.5.1-7.1-.5a4 4 0 0 1-2.3-2.3C2 17.5 2.1 13.7 2.1 12S2 6.5 2.6 4.9a4 4 0 0 1 2.3-2.3C6.5 2 10.3 2.1 12 2.1s5.5-.1 7.1.5a4 4 0 0 1 2.3 2.3c.6 1.6.5 5.4.5 7.1s.1 5.5-.5 7.1Z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5.8A6.2 6.2 0 1 0 12 18.2 6.2 6.2 0 0 0 12 5.8Zm0 10.2a4 4 0 1 1 0-8 4 4 0 0 1 0 8Zm7.9-10.5a1.45 1.45 0 1 1-2.9 0 1.45 1.45 0 0 1 2.9 0ZM24 7c-.1-2-.5-3.8-2-5.2S18.8 0 17 0H7C5 0 3.2.4 1.8 1.8S0 5.2 0 7v10c0 2 .4 3.8 1.8 5.2S5.2 24 7 24h10c2 0 3.8-.4 5.2-1.8S24 18.8 24 17V7Zm-2.6 12.1a4 4 0 0 1-2.3 2.3c-1.6.6-5.4.5-7.1.5s-5.5.1-7.1-.5a4 4 0 0 1-2.3-2.3C2 17.5 2.1 13.7 2.1 12S2 6.5 2.6 4.9a4 4 0 0 1 2.3-2.3C6.5 2 10.3 2.1 12 2.1s5.5-.1 7.1.5a4 4 0 0 1 2.3 2.3c.6 1.6.5 5.4.5 7.1s.1 5.5-.5 7.1Z'/%3E%3C/svg%3E");
}

@media (max-width: 1000px) {
    .head {
        gap: 18px;
    }

    .head-brand {
        gap: 16px;
    }

    .head img {
        width: 170px;
    }

    .head-text {
        font-size: clamp(25px, 3.4vw, 34px);
    }

    .head-links {
        gap: 6px;
    }

    .head-link {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 760px) {
    .head {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding-top: 12px;
        padding-right: 12px;
        padding-bottom: 22px;
        padding-left: 12px;
    }

    .head-brand {
        width: 100%;
        gap: 12px;
    }

    .head img {
        width: clamp(120px, 32vw, 145px);
    }

    .head-text {
        flex: 1 1 auto;
        font-size: clamp(23px, 7vw, 30px);
        line-height: 1.08;
        text-overflow: clip;
        white-space: normal;
    }

    .head-links {
        align-self: flex-end;
        padding-bottom: 0;
        gap: 6px;
    }

    .head-link {
        width: 28px;
        height: 28px;
    }

    .head::after {
        right: 12px;
        bottom: 10px;
        left: 12px;
    }
}

@media (max-width: 420px) {
    .head-brand {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .head img {
        width: 145px;
    }

    .head-text {
        width: 100%;
        font-size: clamp(24px, 8vw, 28px);
    }

    .head-links {
        align-self: flex-start;
    }
}

.start-area {
    width: 100%;
    max-width: 1240px;
    padding: 0 20px;
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
}

.start-area-text {
    padding: 0 1rem;
}

.gombok {
    display: grid;
    padding: 1rem 0;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 24px;
    margin: 0 auto;
}


a.gomb {
    width: 100%;
    min-width: 0;
    height: 220px;
    display: flex;
    padding: 14px 12px 16px;
    box-sizing: border-box;
    flex-direction: column;
    align-items: center;
    background-color: #fff;
    text-decoration: none;
    color: #3c3c3c;
    text-align: center;
    font-weight: 500;
    border: 1px solid #c5c5c5;
    border-radius: 20px;
    margin: 0;
    box-shadow: 0px 0px 15px #00000042;
}

a.gomb:hover {
    box-shadow: none;
    transition: all 0.5s;
}

.icon {
    display: grid;
    width: 95.2px;
    height: 95.2px;
    flex: 0 0 95.2px;
    place-items: center;
    border-radius: 50%;
    background: var(--gomb-hatter);
}

.icon img {
    width: auto;
    max-width: 68%;
    height: auto;
    max-height: 68%;
    margin: 0;
    object-fit: contain;
    mix-blend-mode: multiply;
}

a.gomb::after {
    width: 9px;
    height: 9px;
    margin-top: auto;
    box-sizing: border-box;
    flex: 0 0 9px;
    border-top: 2px solid var(--gomb-kiemeles);
    border-right: 2px solid var(--gomb-kiemeles);
    content: "";
    transform: rotate(45deg);
}

.gomb-zold {
    --gomb-hatter: #eaf7ef;
    --gomb-kiemeles: #2dac69;
}

.gomb-piros {
    --gomb-hatter: #fff0f1;
    --gomb-kiemeles: #f05b68;
}

.gomb-kek {
    --gomb-hatter: #edf6fc;
    --gomb-kiemeles: #1684cf;
}

.gomb-turkiz {
    --gomb-hatter: #edfafd;
    --gomb-kiemeles: #38b9ca;
}

.gomb-lila {
    --gomb-hatter: #f3f2fc;
    --gomb-kiemeles: #7584df;
}

.cim {
    display: flex;
    padding: 8px 0 6px;
    flex: 1 1 auto;
    align-items: center;
    justify-content: center;
    line-height: 1.25;
    color: #006398;
    font-size: 14px;
    font-weight: 500;
}

@media (max-width: 760px) {
    .start-area {
        padding-right: 12px;
        padding-left: 12px;
    }

    .gombok {
        gap: 18px;
    }
}

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

.site-footer {
    overflow-x: clip;
    background: #f1f7fb;
    color: #667085;
}

.site-footer-main {
    display: flex;
    width: min(calc(100% - 2rem), 1200px);
    padding: 1.4rem 0 0.85rem;
    margin: 0 auto;
    align-items: center;
    gap: 30px;
}

.site-footer-logo {
    display: block;
    width: 7.5rem;
    height: auto;
    flex: 0 0 auto;
}

.site-footer-links {
    display: grid;
    padding-left: 30px;
    grid-template-columns: repeat(2, minmax(0, max-content));
    column-gap: 4rem;
    row-gap: 0.8rem;
    border-left: 1px solid #d8e5ef;
    font-size: 0.85rem;
}

.site-footer-links a {
    color: #00578e;
    font-weight: 700;
    text-decoration: none;
}

.site-footer-links a:hover,
.site-footer-links a:focus-visible {
    color: #004570;
    text-decoration: underline;
}

.site-footer-link-organization {
    grid-column: 1;
    grid-row: 1;
}

.site-footer-link-privacy {
    grid-column: 1;
    grid-row: 2;
}

.site-footer-link-contact {
    grid-column: 2;
    grid-row: 2;
}

.site-footer-copyright {
    padding: 0.5rem 1rem;
    background: #00578e;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 300;
    text-align: center;
}

@media (max-width: 760px) {
    .site-footer-main {
        align-items: flex-start;
    }

    .site-footer-logo {
        width: 5.5rem;
    }

    .site-footer-links {
        grid-template-columns: minmax(0, 1fr);
        column-gap: 0;
        font-size: 0.78rem;
    }

    .site-footer-links a {
        grid-column: 1;
        grid-row: auto;
    }
}
