:root {
    --menu-color-white: #ffffff;
    --menu-color-green: #009884;
    --menu-color-olive: #9fb015;
    --menu-color-yellow: #d9ca26;
    --menu-color-lime: #c4c229;
}

.menu-hero {
    position: relative;
    overflow: hidden;
    background: var(--menu-color-lime);
    color: var(--menu-color-white);
    font-family: 'Roboto', Arial, sans-serif;
}

.menu-hero__top {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 6;
    width: 100%;
    min-height: 118px;
    overflow: visible;
}

.menu-hero__top::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: var(--menu-color-white);
    clip-path: polygon(0 0, 100% 0, 100% 86%, 82% 68%, 21% 89%, 0 10%);
}

.menu-hero__top-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: min(calc(100% - 48px), 1020px);
    margin: 0 auto;
    padding: 10px 0 28px;
}

.menu-hero__brand {
    display: flex;
    align-items: center;
    gap: clamp(16px, 3vw, 34px);
    min-width: 0;
    color: var(--menu-color-green);
    text-decoration: none;
}

.menu-hero__logo {
    width: clamp(106px, 11vw, 140px);
    height: clamp(106px, 11vw, 140px);
    flex: 0 0 auto;
    margin-bottom: -62px;
}

.menu-hero__brand-name {
    display: block;
    padding-top: 33px;
    font-size: clamp(1.25rem, 2.4vw, 1.86rem);
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
}

.menu-hero__links {
    display: flex;
    align-items: center;
    gap: clamp(10px, 1.8vw, 18px);
    padding-top: 6px;
}

.menu-hero__icon-link,
.menu-hero__hamburger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: clamp(42px, 4vw, 52px);
    height: clamp(42px, 4vw, 52px);
}

.menu-hero__icon-link img {
    width: 100%;
    height: 100%;
}

.menu-hero__hamburger {
    flex-direction: column;
    gap: 5px;
}

.menu-hero__hamburger span {
    display: block;
    width: 41px;
    height: 7px;
    background: var(--menu-color-yellow);
}




.menu-hero__title {
    position: relative;
    z-index: 2;
    width: min(100%, 760px);
    margin: 0 auto;
    text-align: center;
}

.menu-hero__title h1 {
    margin: 0 0 10px;
    color: var(--menu-color-white);
    font-size: clamp(3.2rem, 7.6vw, 4.85rem);
    font-weight: 900;
    line-height: 0.94;
    letter-spacing: 0;
    text-transform: uppercase;
}

.menu-hero__title p {
    margin: 0;
    color: var(--menu-color-white);
    font-size: clamp(1.22rem, 2.6vw, 1.75rem);
    font-weight: 900;
    line-height: 1.12;
}

.menu-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px clamp(24px, 3vw, 36px) 62px;
    color: var(--menu-color-white);
    text-align: center;
    clip-path: polygon(0 0, 100% 0, 100% 96%, 6% 100%);
}

.menu-card--community {
    background: var(--menu-color-olive);
    clip-path: polygon(0 0, 100% 2%, 100% 96%, 6% 100%);
}

.menu-card--issues {
    background: var(--menu-color-yellow);
    clip-path: polygon(0 0, 92% 0, 100% 100%, 0 90%);
}

.menu-card--events {
    background: var(--menu-color-green);
    clip-path: polygon(0 4%, 100% 0, 100% 90%, 0 100%);
}

.menu-card__icon {
    width: 90px;
    height: 90px;
    margin: -2px auto 20px;
    border-radius: 50%;
}

.menu-card__icon img {
    width: 100%;
    height: 100%;
}

.menu-card h2 {
    margin: 0 0 24px;
    color: var(--menu-color-white);
    font-size: clamp(1.6rem, 2.7vw, 1.9rem);
    font-weight: 900;
    line-height: 1;
}

.menu-card h3 {
    margin: 0 0 8px;
    color: var(--menu-color-white);
    font-size: clamp(1rem, 1.5vw, 1.08rem);
    font-weight: 900;
    line-height: 1.1;
    text-transform: uppercase;
}

.menu-card p {
    margin: 0;
    color: var(--menu-color-white);
    font-size: clamp(1rem, 1.45vw, 1.08rem);
    font-weight: 400;
    line-height: 1.08;
}


.menu-hero__visual {
    position: relative;
    min-height: 80vh;
    padding: 154px 24px 30px;
    background: url("/images/fejlec_kep_cut.jpg") center top / contain no-repeat;
}

.menu-hero__visual::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    height: 550px;
    background: var(--menu-color-lime);
    clip-path: polygon(0 20px, 22% 33%, 60% 31%, 72% 37%, 100% 0, 100% 100%, 0 100%);
}

.menu-hero__cards {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(22px, 1.9vw, 24px);
    width: min(100%, 1030px);
    margin: 315px auto 0;
    align-items: stretch;
}

@media (max-width: 1600px) {
    .menu-hero__visual::before {
        height: 520px;
    }
    .menu-hero__visual {
        padding: 124px 24px 30px;
    }
}
@media (max-width: 1400px) {
    .menu-hero__visual {
        background: url("/images/fejlec_kep.jpg") center top / contain no-repeat;
    }
}

@media (max-width: 1200px) {
    .menu-hero__cards {
        margin: 200px auto 0;
    }
}


@media (max-width: 900px) {
    .menu-hero__top-inner {
        width: min(calc(100% - 32px), 720px);
        padding-bottom: 18px;
    }

    .menu-hero__brand-name {
        padding-top: 24px;
        white-space: normal;
    }

    .menu-hero__visual {
        min-height: 0;
        padding-top: 122px;
        background-position: center top;
        background-size: 100% auto;
    }

    .menu-hero__cards {
        grid-template-columns: 1fr;
        width: min(100%, 430px);
        margin-top: 10px;
    }

    .menu-hero__title p {
        padding-top:200px;
    }
    .menu-hero__visual::before {
        height: 1100px;
        clip-path: polygon(0% 2%, 10% 10%, 60% 5%, 100% 8%, 100% 100%, 0 100%);
    }
}
@media (max-width: 800px) {
    .menu-hero__title p {
        padding-top:150px;
    }
}
@media (max-width: 680px) {
    .menu-hero__title h1 {
        font-size: 2.5rem;
        margin-top: 70px;
    }

    .menu-hero__title p {
        font-size: 1.12rem;
        padding-top:110px;
    }

    .menu-hero__title p br {
        display: none;
    }

    .menu-hero__top-inner {
        align-items: center;
        padding: 8px 0 18px;
    }

    .menu-hero__brand {
        gap: 12px;
    }

    .menu-hero__logo {
        width: 84px;
        height: 84px;
        margin-bottom: -34px;
    }

    .menu-hero__brand-name {
        max-width: 160px;
        padding-top: 0;
        font-size: 1.06rem;
        line-height: 1.08;
    }

    .menu-hero__links {
        gap: 4px;
    }

    .menu-hero__icon-link,
    .menu-hero__hamburger {
        width: 38px;
        height: 38px;
    }

    .menu-hero__hamburger span {
        width: 30px;
        height: 5px;
    }

    .menu-hero__visual {
        min-height: 0;
        padding: 54px 16px 28px;
        background-position: center top;
    }

    .menu-hero__visual::before {
        height: 980px;
    }
    .menu-hero__cards {
        gap: 16px;
    }

    .menu-card {
        padding: 14px 24px 44px;
    }

    .menu-card__icon {
        width: 78px;
        height: 78px;
        margin-bottom: 16px;
    }
}
@media (max-width: 600px) {
    .menu-hero__title h1 {
        margin-top: 50px;
    }

    .menu-hero__title p {
        padding-top: 80px;
    }
}
@media (max-width: 500px) {
    .menu-hero__visual {
        background: url("/images/fejlec_kep_cu2t.jpg") center top / contain  no-repeat;
    }
    .menu-hero__visual::before {
        height: 1100px;
        clip-path: polygon(0% 2%, 10% 10%, 60% 8%, 100% 12%, 100% 100%, 0 100%);
    }
    .menu-hero__visual {
        padding: 124px 24px 30px;
    }

    .menu-hero__title h1 {
        font-size: 2.2rem;
        margin-top: 00px;
    }

    .menu-hero__title p {
        font-size: 1.1rem;
        padding-top: 190px;
        padding-bottom:80px;
    }
    .menu-hero__brand-name {
        display: none;
    }
}
@media (max-width: 400px) {
    .menu-hero__title p {
        padding-top: 100px;
    }
}

.menu-hero--simple {
    background: var(--menu-color-white);
}

.menu-hero--simple .menu-hero__visual {
    min-height: 360px;
    padding: 158px 24px 74px;
    background: var(--menu-color-lime);
    clip-path: polygon(0 0, 13% 30%, 84% 23%, 100% 30%, 100% 48%, 88% 84%, 45% 100%, 13% 88%, 0 62%);
}

.menu-hero--simple .menu-hero__visual::before {
    display: none;
}

.menu-hero--simple .menu-hero__title h1 {
    margin-bottom: 14px;
    font-size: clamp(2rem, 3vw, 2.25rem);
    line-height: 1;
}

.menu-hero--simple .menu-hero__title p {
    font-size: clamp(1.3rem, 2.4vw, 1.75rem);
    line-height: 1.12;
}

@media (max-width: 900px) {
    .menu-hero--simple .menu-hero__visual {
        padding-top: 132px;
        min-height: 330px;
    }

    .menu-hero--simple .menu-hero__title p {
        padding-top: 0;
    }
}

@media (max-width: 680px) {
    .menu-hero--simple .menu-hero__visual {
        padding: 118px 16px 58px;
        min-height: 300px;
        clip-path: polygon(0 0, 18% 20%, 84% 16%, 100% 23%, 100% 60%, 82% 88%, 42% 100%, 10% 90%, 0 68%);
    }

    .menu-hero--simple .menu-hero__title h1 {
        margin-top: 0;
        font-size: 2rem;
    }

    .menu-hero--simple .menu-hero__title p {
        padding: 0;
        font-size: 1.12rem;
    }
}
