:root
{
    --navy:#0b2a4a;
    --red:#c30d0d;
    --light:#ffffff;
    --muted:#4a6075;
    --bg:#f6f9fc;
    --max: 900px;
    --border:#dde6ee;
}
*
{
    box-sizing:border-box;
}
body
{
    margin:0;
    font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
    background:var(--bg);
    color:var(--navy);
    line-height:1.6
}
a
{
    color:var(--navy)
}
header,footer
{
    background:#fff;
    border-bottom:1px solid var(--border)
}
header
{
    padding:16px
}
.wrap
{
    max-width:var(--max);
    margin:0 auto;
    padding:0 20px
}
.brand
{
    display:flex;gap:12px;
    align-items:center
}
.brand img
{
    width: 150px;
    height:auto
}
nav.breadcrumbs
{
    font-size:.9rem;
    margin-top:6px;
    color:var(--muted)
}
nav.breadcrumbs a
{
    color:var(--navy);
    text-decoration:underline;
    text-underline-offset:2px
}
main
{
    max-width:var(--max);
    margin:22px auto;
    padding:20px;
    background:#eef3f8;
    border:1px solid var(--border);
    border-radius:12px;
    box-shadow:0 8px 24px rgba(11,42,74,.06)
}
h1
{
    text-align:center;
    font-size:1.9rem;
    margin:8px 0 6px
}
p.lead
{
    color:var(--muted);
    text-align:center;
    max-width:720px;
    margin:0 auto 18px
}
.note
{
    background:#fff;
    border:1px dashed var(--border);
    border-radius:10px;
    padding:12px 14px;
    color:#35506a;
    margin:0 auto 18px;
    max-width:720px
}
form
{
    background:#fff;
    border:1px solid var(--border);
    border-radius:12px;
    padding:20px
}
fieldset
{
    border:none;
    margin:0 0 22px;
    padding:0
}
legend
{
    font-weight:700;
    margin-bottom:8px
}
.grid
{
    display:grid;
    gap:14px
}
@media(min-width:720px)
{ 
    .grid.two
    {
        grid-template-columns:1fr 1fr
    } 
}
label
{
    display:block;
    font-weight:600;
    margin-bottom:6px
}
.hint
{
    font-size:.9rem;
    color:var(--muted);
    margin-top:4px
}
input[type="text"],input[type="email"],input[type="tel"],input[type="date"],select,textarea
{
    width:100%;
    padding:12px;
    border:1px solid var(--border);
    border-radius:10px;
    background:#fbfdff;
    font-size:1rem
}
textarea
{
    min-height:110px;
    resize:vertical
}
.inline
{
    display:flex;
    gap:12px;
    align-items:center;
    flex-wrap:wrap
}
.inline > label
{
    font-weight:500;
    margin:0
}
.check
{
    display:flex;
    gap:10px;
    align-items:flex-start;
    margin-top:8px
}
.check input
{
    margin-top:4px
}
.btns
{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    justify-content:center;
    margin-top:10px
}
.btn
{
    display:inline-block;
    padding:12px 18px;
    border-radius:10px;
    font-weight:700;
    text-decoration:none;
    letter-spacing:.2px;
    transition:transform .12s ease, background .2s ease, box-shadow .2s ease
}
.btn-primary
{
    background:var(--red);
    color:#fff;
    box-shadow:0 6px 22px rgba(195,13,13,.35)
}
.btn-primary:hover
{
    background:#9f0a0a;
    transform:translateY(-1px)
}
.btn-outline
{
    border:2px solid var(--navy);
    color:var(--navy);
    background:transparent
}
.btn-outline:hover
{
    background:var(--navy);
    color:#fff
}
.req
{
    color:var(--red);
    margin-left:4px
}
.small
{
    font-size:.92rem;
    color:var(--muted)
}
.hr
{
    height:1px;
    background:var(--border);
    margin:18px 0
}

/* honeypot (anty-spam) */
.hp-wrap
{
    position:absolute;
    left:-9999px;
    visibility:hidden
}

/* komunikaty walidacji */
.error
{
    color:#9f0a0a;
    font-weight:600;
    font-size:.95rem;
    margin:8px 0 0
}
.success
{
    color:#0a7a3e;
    font-weight:700;
    margin-bottom: 20px;
    padding: 30px;
    text-align: center
}
footer
{
    text-align: center; 
    padding: 20px; 
    font-size: 13px; 
    background: #fff; 
    border-top: 1px solid #dde6ee; 
    color: var(--muted);
}

/* Linki w stopce */
footer a
{
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color .15s ease, text-decoration-color .15s ease;
}
footer a:hover
{
  color: var(--red);
  text-decoration-color: var(--red);
}
span.blad
{ 
    color:var(--red); 
    font-size:.80rem; 
    font-weight: bold; 
}