:root {
    --bg: #000;
    --panel: #0b0b0b;
    --panel-active: #141414;
    --text: #fff;
    --muted: #a8a8a8;
    --line: #2d2d2d;
    --max-width: 1120px;
    --radius: 16px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #000;
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
}

.page {
    width: min(var(--max-width), 100%);
    margin: 0 auto;
}

/* Obraz zaczyna się od samej góry strony */
.hero-image {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
}

/* Jedyny element bezpośrednio pod obrazem */
.cta-wrap {
    display: flex;
    justify-content: center;
    padding: 28px 20px 36px;
    background: #000;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 30px;
    border: 1px solid #fff;
    border-radius: 999px;
    background: #fff;
    color: #000;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: transform .18s ease, background .18s ease, color .18s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    background: #000;
    color: #fff;
}

/* Formularz domyślnie schowany */
.order-section {
    display: none;
    width: min(980px, calc(100% - 32px));
    margin: 0 auto 70px;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #080808;
}

.order-section.is-open {
    display: block;
    animation: reveal .28s ease;
}

@keyframes reveal {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.order-section h1 {
    margin: 0 0 8px;
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.1;
}

.order-intro {
    margin: 0 0 28px;
    color: var(--muted);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.full {
    grid-column: 1 / -1;
}

.field-label {
    display: block;
    margin-bottom: 7px;
    color: #dedede;
    font-size: 13px;
    font-weight: 700;
}

input,
textarea {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid #333;
    border-radius: 12px;
    outline: none;
    background: #111;
    color: #fff;
    font: inherit;
}

input:focus,
textarea:focus {
    border-color: #777;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

.products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.product-card {
    padding: 18px;
    border: 1px solid #333;
    border-radius: var(--radius);
    background: var(--panel);
    transition: border-color .18s ease, background .18s ease;
}

.product-card.is-selected {
    border-color: #fff;
    background: var(--panel-active);
}

.product-select {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.product-select input[type="checkbox"] {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    margin-top: 3px;
    accent-color: #fff;
}

.product-copy strong {
    display: block;
    margin-bottom: 4px;
    font-size: 18px;
}

.product-copy small {
    display: block;
    color: var(--muted);
    line-height: 1.4;
}

.qty-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
}

.qty-row label {
    color: #ddd;
    font-size: 13px;
    font-weight: 700;
}

.qty-row input {
    width: 90px;
    padding: 10px 12px;
}

.qty-row input:disabled {
    opacity: .35;
    cursor: not-allowed;
}

.submit-button {
    min-height: 52px;
    padding: 0 28px;
    border: 1px solid #fff;
    border-radius: 999px;
    background: #fff;
    color: #000;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.form-note {
    margin-top: 9px;
    color: #777;
    font-size: 12px;
}

@media (max-width: 760px) {
    .order-section {
        width: calc(100% - 20px);
        padding: 20px;
    }

    .form-grid,
    .products {
        grid-template-columns: 1fr;
    }

    .full {
        grid-column: auto;
    }

    .cta-wrap {
        padding-top: 22px;
    }

    .cta-button {
        width: 100%;
        max-width: 420px;
        text-align: center;
    }
}
