:root {
    --forest: #002912;
    --green: #438900;
    --lime: #83b51a;
    --white: #fff;
}

* {
    box-sizing: border-box;
}

.svg-defs {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

body {
    margin: 0;
    color: var(--forest);
    font-family: Arial, Helvetica, sans-serif;
    background: #002912;
}

main {
    width: 100%;
    margin: 0;
    overflow: hidden;
    background: #003d15;
}

.hero {
    position: relative;
    width: 100%;
    aspect-ratio: 1536 / 535;
    overflow: hidden;
    background: #fff;
}

.hero__banner {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.hero__content {
    position: relative;
    max-width: 1000px;
    min-height: 535px;
    margin: auto;
    padding: 22px 190px 0 100px;
    text-align: center;
}

.badge {
    position: absolute;
    top: 28px;
    left: -15px;
    width: 160px;
    height: 160px;
    display: grid;
    place-items: center;
    margin: 0;
    border: 4px solid #fff;
    border-radius: 50%;
    background: linear-gradient(135deg, #6da900, #295a00);
    box-shadow: 0 1px 7px #153b10;
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.28;
    text-transform: uppercase;
    transform: rotate(-7deg);
}

.eyebrow {
    margin: 0;
    color: var(--forest);
    font-size: 42px;
    line-height: .6;
}

h1 {
    margin: 0;
    color: #003714;
    font-size: clamp(80px, 12vw, 175px);
    font-weight: 900;
    letter-spacing: -10px;
    line-height: .9;
}

.brand-line {
    display: flex;
    align-items: center;
    gap: 18px;
    justify-content: center;
    margin: 2px 0 12px;
    color: #438900;
    font-size: clamp(35px, 5vw, 74px);
    font-weight: 900;
    letter-spacing: 5px;
    line-height: 1;
}

.brand-line span {
    width: 90px;
    height: 15px;
    border-block: 5px solid var(--green);
}

.motto {
    display: inline-block;
    margin: 0;
    padding: 9px 23px;
    border-radius: 20px;
    background: #003d15;
    color: #fff;
    font-size: clamp(13px, 1.8vw, 23px);
    font-weight: 800;
    letter-spacing: 1px;
}

.motto::first-letter {
    color: #91bd10;
}

.intro {
    margin: 18px 0 5px;
    color: #073f1d;
    font-size: clamp(19px, 2.3vw, 31px);
    font-weight: 800;
    line-height: 1.15;
}

.intro strong {
    color: #397800;
}

.lead {
    margin: 0;
    color: #121212;
    font-size: clamp(15px, 1.85vw, 23px);
    font-weight: 500;
    line-height: 1.24;
}

.van {
    position: absolute;
    right: -170px;
    bottom: -4px;
    width: min(34vw, 420px);
    mix-blend-mode: multiply;
    clip-path: polygon(1% 82%, 5% 67%, 12% 53%, 18% 35%, 31% 15%, 47% 7%, 79% 7%, 94% 19%, 99% 36%, 99% 83%, 93% 91%, 78% 94%, 58% 94%, 43% 98%, 15% 98%, 4% 91%);
}

.destinations {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(5, 288px);
    justify-content: center;
    gap: 9px;
    margin: -1px 0 0;
    padding-inline: 20px;
    background-color: #003d15;
    background-image: url('assets/lazne-background.png');
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: center -34.83vw;
}

.destination {
    position: relative;
    min-width: 0;
    overflow: visible;
    border: 3px solid #79ab06;
    border-radius: 20px;
    background: #063e19;
    box-shadow: inset 0 0 0 1px #e8f4c2;
}

.destination h2 {
    min-height: 40px;
    display: grid;
    place-items: center;
    margin: 0;
    padding: 7px 4px;
    color: #fff;
    font-size: clamp(11px, 1.55vw, 21px);
    line-height: 1.05;
    text-align: center;
    text-transform: uppercase;
}

.destination__photo {
    height: 240px;
    overflow: hidden;
    border-top: 1px solid #7dac18;
    border-radius: 0 0 16px 16px;
}

.destination img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.45);
    transform-origin: center top;
}

.round-icon {
    position: absolute;
    left: 50%;
    bottom: -35px;
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    border: 4px solid #fff;
    border-radius: 50%;
    background: #07501e;
    transform: translateX(-50%);
}

.round-icon svg {
    width: 48px;
    height: 48px;
    fill: none;
    stroke: #fff;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.benefits {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    padding: 42px 5% 16px;
    background: #002912;
    color: #fff;
}

.benefits p {
    min-height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0;
    padding: 0 14px;
    border-right: 1px solid #d9edd7;
    font-size: clamp(12px, 1.55vw, 20px);
    font-weight: 800;
    line-height: 1.15;
    text-transform: uppercase;
}

.benefits p:last-child {
    border: 0;
}

.benefits b {
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    color: #fff;
}

.benefits b svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: #fff;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 106px;
    margin: 0;
    padding: 16px 5%;
    background: linear-gradient(100deg, #4c8c0a, #8eb52b, #497d06);
}

.contact a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex: 1;
    color: #fff;
    font-size: clamp(24px, 4vw, 58px);
    font-weight: 900;
    letter-spacing: 1px;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.contact a+a {
    border-left: 1px solid rgba(255, 255, 255, .9);
}

.contact span {
    display: inline-block;
    width: 76px;
    height: 76px;
    flex: 0 0 76px;
    border-radius: 50%;
    background-image: url('assets/lazne.png');
    background-repeat: no-repeat;
    background-size: 1536px 1024px;
    vertical-align: middle;
}

.contact a:first-child span {
    background-position: -91px -931px;
}

.contact a:last-child span {
    background-position: -800px -931px;
}

.contact span svg {
    display: none;
}

.copyright {
    margin: 0;
    padding: 16px 12px;
    background: #002912;
    color: rgba(255, 255, 255, .82);
    font-size: 14px;
    line-height: 1.4;
    text-align: center;
}

.copyright span {
    padding-inline: 8px;
    color: #8ebe24;
}

.contact a:focus-visible {
    outline: 3px solid #063e19;
    outline-offset: 5px;
}

@media (max-width:900px) {
    .hero__content {
        padding-right: 130px;
    }

    .badge {
        transform: scale(.72) rotate(-7deg);
        transform-origin: top left;
    }

    .destination__photo {
        height: 160px;
    }

    .round-icon {
        width: 54px;
        height: 54px;
        bottom: -27px;
    }

    .round-icon svg {
        width: 35px;
        height: 35px;
        stroke-width: 4;
    }

    .benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 32px 24px 14px;
    }

    .benefits p {
        min-height: 68px;
        justify-content: center;
        padding: 8px 14px;
        border: 0;
        border-bottom: 1px solid #d9edd7;
        font-size: 14px;
        text-align: left;
    }

    .benefits p:nth-child(odd) {
        border-right: 1px solid #d9edd7;
    }

    .benefits p:nth-child(5) {
        grid-column: 1 / -1;
        border-right: 0;
        border-bottom: 0;
    }

    .benefits b {
        width: 45px;
        height: 45px;
        flex-basis: 45px;
    }

    .contact {
        flex-direction: column;
        gap: 12px;
        padding: 16px 12px;
        text-align: center;
    }

    .contact a {
        font-size: clamp(22px, 4vw, 34px);
    }

    .contact a+a {
        border-left: 0;
    }

    .contact span {
        width: 50px;
        height: 50px;
        flex-basis: 50px;
        background-size: 1011px 674px;
    }

    .contact a:first-child span {
        background-position: -60px -613px;
    }

    .contact a:last-child span {
        background-position: -527px -613px;
    }
}

@media (min-width:641px) and (max-width:1516px) {
    .destinations {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        margin-inline: 0;
    }
}

@media (max-width:640px) {
    .hero {
        min-height: 0;
    }

    .destinations {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin: 0 12px;
        padding: 0;
        background-image: none;
    }

    .destination:last-child {
        grid-column: 1 / -1;
        width: calc(50% - 5px);
        justify-self: center;
    }

    .destination h2 {
        min-height: 35px;
    }

    .destination__photo {
        height: 140px;
    }

    .benefits {
        grid-template-columns: 1fr 1fr;
        padding: 34px 8px 10px;
    }

    .benefits p {
        min-height: 55px;
        padding: 6px;
        border: 0;
        font-size: 12px;
    }

    .benefits p:last-child {
        grid-column: 1 / -1;
    }

    .benefits b {
        font-size: 28px;
    }

    .contact {
        flex-direction: column;
        gap: 14px;
        padding: 17px 12px;
        text-align: center;
    }

    .contact a {
        font-size: clamp(20px, 7vw, 31px);
    }
}