/* Wygląd i responsywność */
:root {
    --green: #a4cc39;
    --bg: #181a17;
    --panel: #242720;
    --muted: #b7baae;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: #f7f5eb;
    font: 16px/1.55 system-ui,sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

button,input,select,textarea {
    font: inherit;
}

button,a.cta {
    cursor: pointer;
    border: 0;
    border-radius: 8px;
    padding: 12px 19px;
    font-weight: 750;
    background: var(--green);
    color: #18200c;
}

button:focus-visible,a:focus-visible {
    outline: 3px solid white;
    outline-offset: 3px;
}

header {
    position: sticky;
    top: 0;
    z-index: 5;
    background: #181a17f5;
    border-bottom: 1px solid #ffffff19;
}

nav {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 24px;
    gap: 14px;
    flex-wrap: wrap;
}

.brand {
    font-size: 30px;
    font-weight: 900;
    letter-spacing: 4px;
    color: var(--green);
}

nav .links {
    display: flex;
    gap: 24px;
    align-items: center;
}

.hero {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    align-items: center;
    gap: 35px;
    padding: 65px 24px;
}

.hero img {
    width: 100%;
    border-radius: 20px;
    max-height: 490px;
    object-fit: cover;
}

.eyebrow {
    color: var(--green);
    letter-spacing: 3px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

h1 {
    font-size: clamp(48px,7vw,92px);
    line-height: .98;
    letter-spacing: -.06em;
    margin: 20px 0;
}

h1 span {
    color: var(--green);
}

h2 {
    font-size: clamp(30px,4vw,48px);
    letter-spacing: -.04em;
    margin: 8px 0 20px;
}

p {
    color: var(--muted);
}

.actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.outline {
    background: transparent !important;
    color: #fff !important;
    border: 1px solid #ffffff40 !important;
}

.strip {
    border-block: 1px solid #ffffff20;
    background: #20231d;
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    padding: 20px;
}

.wrap {
    max-width: 1200px;
    margin: auto;
    padding: 65px 24px;
}

section {
    scroll-margin-top: 100px;
}

.tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 20px 0;
}

.tabs button {
    background: #292d25;
    color: white;
}

.tabs button.active {
    background: var(--green);
    color: #18200c;
}

.menu {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 15px;
}

.item {
    background: var(--panel);
    border: 1px solid #ffffff12;
    border-radius: 14px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.item h3 {
    margin: 0;
    font-size: 23px;
}

.item p {
    margin: 0;
    flex: 1;
    font-size: 14px;
}

.item .num {
    color: var(--green);
    font-size: 12px;
    letter-spacing: 2px;
}

.item select,input,textarea,select {
    width: 100%;
    background: #151813;
    color: white;
    border: 1px solid #ffffff30;
    border-radius: 7px;
    padding: 11px;
}

.item button {
    width: 100%;
}

.contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact article {
    padding: 25px;
    background: var(--panel);
    border-radius: 14px;
}

footer {
    border-top: 1px solid #ffffff20;
    padding: 25px;
    text-align: center;
    color: var(--muted);
}

dialog {
    background: #242720;
    color: white;
    border: 1px solid #ffffff30;
    border-radius: 16px;
    width: min(94vw,540px);
    max-height: 90vh;
    padding: 24px;
}

dialog::backdrop {
    background: #000b;
}

.line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 12px 0;
    border-bottom: 1px solid #ffffff20;
}

.line button {
    padding: 5px 10px;
}

.close {
    float: right;
    background: transparent;
    color: white;
    padding: 5px 12px;
}

label {
    display: block;
    margin: 12px 0;
}

small {
    color: var(--muted);
}

.notice {
    padding: 12px;
    border: 1px solid #a4cc3955;
    border-radius: 8px;
    color: #dce9b8;
    font-size: 13px;
}

.total {
    font-size: 25px;
    font-weight: 800;
}

.full {
    width: 100%;
}

@media(max-width:760px) {
    .hero {
        grid-template-columns: 1fr;
        padding-top: 35px;
    }

    .hero img {
        max-height: 320px;
    }

    .menu {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .contact {
        grid-template-columns: 1fr;
    }

    .strip {
        gap: 15px;
        justify-content: flex-start;
    }

    .links {
        order: 3;
        width: 100%;
        justify-content: center;
    }

    nav {
        padding: 10px 16px;
    }

    .wrap {
        padding: 40px 16px;
    }

}

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

    .item {
        padding: 18px;
    }

}

#search {
    max-width: 360px;
    margin-bottom: 20px;
}
