/* ==========================================
   BREWERA – paleta z wizualizacji produktów
   ========================================== */
:root {
    --green-900: #0e211c;
    --green-800: #14302a;
    --green-700: #1c3f36;
    --green-600: #2a5446;
    --copper:    #c9803f;
    --copper-lt: #e2a56a;
    --copper-dk: #a4632b;
    --cream:     #f6efe3;
    --kraft:     #eadcc3;
    --paper:     #fffdf8;
    --ink:       #1d2622;
    --muted:     #5f6b64;
    --line:      rgba(20, 48, 42, .12);
    --radius:    18px;
    --shadow:    0 18px 50px -20px rgba(14, 33, 28, .35);
    --serif: "Palatino Linotype", "Book Antiqua", Palatino, "URW Palladio L", Georgia, "Times New Roman", serif;
    --sans:  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--paper);
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.2; margin: 0; }
p { margin: 0; }
.wrap { width: min(1140px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 40px); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Przyciski ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 15px 30px;
    border: 1px solid var(--copper);
    border-radius: 999px;
    background: linear-gradient(180deg, var(--copper-lt), var(--copper));
    color: #fff;
    font: 700 1rem/1.2 var(--sans);
    letter-spacing: .02em;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 10px 24px -12px rgba(201, 128, 63, .9);
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); background: linear-gradient(180deg, var(--copper), var(--copper-dk)); }
.btn:focus-visible { outline: 3px solid var(--copper-lt); outline-offset: 3px; }
.btn-ghost { background: transparent; color: var(--cream); border-color: rgba(246, 239, 227, .4); box-shadow: none; }
.btn-ghost:hover { background: rgba(246, 239, 227, .08); }
.btn-small { padding: 10px 18px; font-size: .9rem; }
.btn-block { width: 100%; padding: 17px; font-size: 1.05rem; }

/* ---------- Pasek górny ---------- */
.topbar {
    position: sticky; top: 0; z-index: 50;
    background: rgba(14, 33, 28, .92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(226, 165, 106, .15);
    color: var(--cream);
}
.topbar-inner { display: flex; align-items: center; gap: 22px; height: 68px; }
.logo {
    display: inline-flex; align-items: center; gap: 10px;
    text-decoration: none;
    font-family: var(--serif); font-weight: 700; font-size: 1.35rem;
    letter-spacing: .14em; text-transform: uppercase;
}
.emblem { width: 24px; height: 30px; fill: none; stroke: var(--copper-lt); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.nav { display: flex; gap: 26px; margin-inline-start: auto; }
.nav a { text-decoration: none; font-size: .92rem; opacity: .82; }
.nav a:hover { opacity: 1; color: var(--copper-lt); }

.lang { position: relative; }
.lang summary {
    list-style: none; cursor: pointer;
    display: flex; align-items: center; gap: 6px;
    padding: 8px 12px; border-radius: 999px;
    border: 1px solid rgba(246, 239, 227, .25);
    font-size: .85rem; font-weight: 600;
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.lang[open] summary { background: rgba(246, 239, 227, .1); }
.lang ul {
    position: absolute; inset-inline-end: 0; top: calc(100% + 10px);
    margin: 0; padding: 8px; list-style: none;
    display: grid; grid-template-columns: repeat(3, minmax(110px, 1fr)); gap: 2px;
    background: var(--paper); color: var(--ink);
    border-radius: 14px; box-shadow: var(--shadow);
    border: 1px solid var(--line);
}
.lang li a { display: block; padding: 8px 12px; border-radius: 8px; text-decoration: none; font-size: .92rem; white-space: nowrap; }
.lang li a:hover { background: var(--cream); }
.lang li a[aria-current] { background: var(--green-800); color: var(--cream); }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    background:
        radial-gradient(ellipse at 50% -10%, rgba(201, 128, 63, .28), transparent 60%),
        linear-gradient(180deg, var(--green-900), var(--green-800));
    color: var(--cream);
    padding-top: 72px;
}
.hero-text { text-align: center; max-width: 820px; }
.badge {
    display: inline-block;
    padding: 7px 16px;
    border: 1px solid rgba(226, 165, 106, .45);
    border-radius: 999px;
    color: var(--copper-lt);
    font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
}
.brand-title {
    margin-top: 22px;
    font-size: clamp(3.2rem, 11vw, 7rem);
    letter-spacing: .12em;
    text-transform: uppercase;
    font-weight: 700;
    background: linear-gradient(180deg, #fff6e9 20%, var(--copper-lt) 120%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    padding-inline-start: .12em; /* wyrównanie letter-spacing */
}
.tagline {
    margin-top: 6px;
    font-family: var(--serif); font-style: italic;
    font-size: clamp(1.1rem, 2.4vw, 1.4rem);
    color: var(--copper-lt);
    letter-spacing: .06em;
}
.lead { margin: 22px auto 0; max-width: 640px; font-size: clamp(1.02rem, 2vw, 1.18rem); color: rgba(246, 239, 227, .85); }
.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.chips {
    margin: 30px 0 0; padding: 0; list-style: none;
    display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px;
    font-size: .9rem; letter-spacing: .06em; color: rgba(246, 239, 227, .7);
}
.chips li { display: flex; align-items: center; gap: 8px; direction: ltr; }
.chips li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--copper); }

.hero-split { margin-top: 56px; background: linear-gradient(180deg, transparent 45%, var(--paper) 45%); }
.hero-figure { margin-top: 0; margin-bottom: 0; }
.hero-figure img {
    width: 100%;
    border-radius: 22px;
    box-shadow: 0 40px 80px -30px rgba(14, 33, 28, .7);
    outline: 1px solid rgba(226, 165, 106, .35);
    outline-offset: 6px;
}
.hero-figure figcaption { margin-top: 18px; text-align: center; font-size: .85rem; color: var(--muted); font-style: italic; }

/* ---------- Sekcje ---------- */
.section { padding: 96px 0; }
.section-cream { background: var(--cream); }
.section-dark { background: linear-gradient(180deg, var(--green-800), var(--green-900)); color: var(--cream); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); color: var(--green-800); }
.section-dark .section-head h2 { color: var(--cream); }
.section-head h2::after { content: ""; display: block; width: 56px; height: 2px; margin: 18px auto 0; background: var(--copper); }
.section-head p { margin-top: 18px; color: var(--muted); font-size: 1.08rem; }
.section-dark .section-head p { color: rgba(246, 239, 227, .75); }

/* Zastosowania */
.uses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.use {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden; display: flex; flex-direction: column;
    transition: transform .2s ease, box-shadow .2s ease;
}
.use:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.use img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.use .pos-beer { object-position: 50% 35%; }
.use .pos-coffee { object-position: 50% 30%; }
.use .pos-tea { object-position: 50% 40%; }
.use .pos-accessories { object-position: 30% 50%; }
.use-body { padding: 22px 24px 26px; }
.use h3 { font-size: 1.3rem; color: var(--green-800); }
.use p { margin-top: 8px; color: var(--muted); font-size: .97rem; }
.use-more {
    background: var(--green-800); color: var(--cream); border-color: transparent;
    justify-content: center; align-items: flex-start; padding: 36px 14px;
    background-image: radial-gradient(circle at 100% 0, rgba(201, 128, 63, .25), transparent 55%);
}
.use-more .emblem { width: 52px; height: 66px; margin-inline-start: 24px; margin-bottom: 8px; }
.use-more h3 { color: var(--cream); }
.use-more p { color: rgba(246, 239, 227, .75); }

/* Dlaczego */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.why-item { padding-top: 22px; border-top: 2px solid var(--copper); }
.why-num { font-family: var(--serif); font-size: .95rem; color: var(--copper-dk); letter-spacing: .1em; }
.why-item h3 { margin-top: 10px; font-size: 1.28rem; color: var(--green-800); }
.why-item p { margin-top: 10px; color: var(--muted); font-size: .97rem; }

/* Pakiet */
.package { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 20px; }
.asset {
    padding: 30px 26px;
    border-radius: var(--radius);
    background: rgba(246, 239, 227, .05);
    border: 1px solid rgba(226, 165, 106, .22);
}
.asset-tm { background: linear-gradient(160deg, rgba(201, 128, 63, .22), rgba(201, 128, 63, .04)); border-color: rgba(226, 165, 106, .5); }
.asset-icon {
    display: inline-grid; place-items: center;
    min-width: 54px; height: 54px; padding: 0 10px;
    border-radius: 14px;
    background: var(--copper); color: #fff;
    font-family: var(--serif); font-weight: 700; font-size: 1.15rem;
    direction: ltr;
}
.asset h3 { margin-top: 20px; font-size: 1.3rem; color: #fff; overflow-wrap: anywhere; }
.asset p { margin-top: 8px; font-size: .93rem; color: rgba(246, 239, 227, .72); }
.tm-data { margin: 16px 0 0; display: grid; gap: 6px; font-size: .9rem; }
.tm-data div { display: flex; gap: 8px; }
.tm-data dt { color: rgba(246, 239, 227, .6); }
.tm-data dd { margin: 0; font-weight: 700; color: var(--copper-lt); }
.owner-note { margin-top: 36px; text-align: center; color: var(--copper-lt); letter-spacing: .04em; font-size: .95rem; }

/* Proces */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: s; }
.steps li { position: relative; }
.steps li:not(:last-child)::after {
    content: ""; position: absolute; top: 24px; inset-inline-start: 64px; inset-inline-end: -14px;
    border-top: 1px dashed rgba(201, 128, 63, .55);
}
.step-num {
    display: grid; place-items: center;
    width: 48px; height: 48px; border-radius: 50%;
    border: 1.5px solid var(--copper); color: var(--copper-dk);
    font-family: var(--serif); font-weight: 700; font-size: 1.2rem;
    background: var(--paper);
}
.steps h3 { margin-top: 18px; font-size: 1.22rem; color: var(--green-800); }
.steps p { margin-top: 8px; color: var(--muted); font-size: .96rem; }

/* ---------- Oferta ---------- */
.offer { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: start; }
.offer-intro h2 { font-size: clamp(2rem, 4vw, 2.8rem); color: var(--green-800); }
.offer-intro h2::after { content: ""; display: block; width: 56px; height: 2px; margin-top: 18px; background: var(--copper); }
.offer-intro > p { margin-top: 18px; color: var(--muted); font-size: 1.06rem; }
.trust {
    margin-top: 28px; padding: 26px 26px 22px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    border-inline-start: 4px solid var(--copper);
}
.trust h3 { font-size: 1.2rem; color: var(--green-800); }
.trust ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.trust li { display: flex; align-items: flex-start; gap: 12px; font-size: .96rem; line-height: 1.5; }
.trust li::before {
    content: "✓"; display: grid; place-items: center; flex: none;
    width: 22px; height: 22px; margin-top: 1px; border-radius: 50%;
    background: var(--green-800); color: var(--copper-lt); font-size: .75rem;
}

.card { background: #fff; border-radius: 22px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.form { padding: 38px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 7px; font-size: .9rem; font-weight: 600; color: var(--green-800); }
.field small { font-weight: 400; color: var(--muted); }
input[type="text"], input[type="email"], textarea {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid rgba(20, 48, 42, .2);
    border-radius: 12px;
    background: var(--paper);
    color: var(--ink);
    font: inherit; font-size: 1rem;
    transition: border-color .15s ease, box-shadow .15s ease;
}
textarea { resize: vertical; min-height: 110px; }
input:focus, textarea:focus { outline: none; border-color: var(--copper); box-shadow: 0 0 0 4px rgba(201, 128, 63, .16); }

.captcha {
    padding: 14px 16px; border-radius: 12px;
    background: var(--cream); border: 1px dashed rgba(164, 99, 43, .45);
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.captcha label { margin: 0; }
.captcha input { width: 90px !important; text-align: center; font-weight: 700; }
.cf-turnstile { margin-bottom: 18px; }

.consent { display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 22px; font-size: .9rem; color: var(--muted); cursor: pointer; }
.consent input { width: 19px; height: 19px; margin-top: 2px; accent-color: var(--green-800); flex: none; }

.secure-note { margin-top: 14px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: .84rem; color: var(--muted); text-align: center; }
.secure-note svg { width: 18px; height: 18px; fill: none; stroke: var(--green-600); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; flex: none; }

.alert { padding: 14px 18px; border-radius: 12px; margin-bottom: 22px; font-size: .95rem; font-weight: 600; }
.alert-success { background: #e7f3ea; border: 1px solid #a9d3b3; color: #1f6b35; }
.alert-error { background: #fbeaea; border: 1px solid #ebb5b5; color: #a12a2a; }

.hp { position: absolute !important; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
    list-style: none; cursor: pointer;
    display: flex; justify-content: space-between; align-items: center; gap: 20px;
    padding: 22px 0;
    font-family: var(--serif); font-weight: 700; font-size: 1.2rem; color: var(--green-800);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-weight: 300; font-size: 1.7rem; color: var(--copper); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--muted); }

/* ---------- Stopka ---------- */
.footer { background: var(--green-900); color: rgba(246, 239, 227, .75); padding: 60px 0 40px; text-align: center; font-size: .92rem; }
.footer .logo { color: var(--cream); }
.footer-inner { display: grid; justify-items: center; gap: 18px; }
.footer-langs { margin: 6px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; }
.footer-langs a { text-decoration: none; opacity: .7; font-size: .86rem; }
.footer-langs a:hover { opacity: 1; color: var(--copper-lt); }
.copy { font-size: .82rem; opacity: .6; }

/* ---------- Animacje wejścia ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsywność ---------- */
@media (max-width: 1020px) {
    .nav { display: none; }
    .lang { margin-inline-start: auto; }
    .why, .steps { grid-template-columns: repeat(2, 1fr); }
    .steps li::after { display: none; }
    .package { grid-template-columns: 1fr 1fr; }
    .offer { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 760px) {
    body { font-size: 16px; }
    .wrap, .narrow { width: calc(100% - 32px); }
    .section { padding: 68px 0; }
    .hero { padding-top: 52px; }
    .uses { grid-template-columns: 1fr 1fr; gap: 16px; }
    .use-body { padding: 16px 16px 20px; }
    .use h3 { font-size: 1.12rem; }
    .row { grid-template-columns: 1fr; gap: 0; }
    .form { padding: 26px 20px; }
    .hero-split { margin-top: 40px; }
    .hero-figure img { border-radius: 14px; outline-offset: 4px; }
    .lang ul { position: fixed; top: 74px; inset-inline: 16px; grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
    .topbar-inner { gap: 12px; }
    .logo { font-size: 1.1rem; letter-spacing: .1em; }
    .btn-small { padding: 9px 14px; font-size: .82rem; }
    .uses, .why, .steps, .package { grid-template-columns: 1fr; }
    .hero-actions .btn { width: 100%; }
    .captcha { flex-direction: column; align-items: stretch; }
    .captcha input { width: 100% !important; }
}
