:root {
    --blue: #00539f;
    --blue-dark: #003a70;
    --red: #e30613;
    --text: #2b2b2b;
    --muted: #666;
    --line: #ddd;
    --bg: #f4f6f9;
    --card: #fff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
}

a { color: var(--blue); }
a:hover, a:focus { color: var(--red); }

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Nagłówek */
.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: var(--card);
    border-bottom: 3px solid var(--blue);
    box-shadow: 0 2px 6px rgba(0, 0, 0, .06);
}

.header-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 24px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.logo img { display: block; height: 50px; width: auto; }

.menu {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 20px;
}

.menu a {
    color: var(--blue-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
}

.menu a:hover, .menu a:focus { color: var(--red); }

/* Sekcje */
main { padding-top: 24px; padding-bottom: 24px; }

.section {
    background: var(--card);
    border-radius: 6px;
    padding: 28px 32px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
    scroll-margin-top: 100px;
}

h1, h2 {
    margin: 0 0 20px;
    font-size: 26px;
    color: var(--blue);
    border-bottom: 1px solid var(--line);
    padding-bottom: 10px;
}

h3 {
    font-size: 19px;
    color: var(--blue-dark);
    margin: 24px 0 12px;
}

h4 { font-size: 16px; margin: 22px 0 8px; }
h5 { font-size: 15px; margin: 18px 0 6px; }

/* Kontakt */
.company {
    font-size: 19px;
    font-weight: 600;
    color: var(--blue-dark);
    margin: 0 0 16px;
}

.contact {
    list-style: none;
    margin: 0;
    padding: 0;
}

.contact li { padding: 6px 0; }

.label {
    display: inline-block;
    min-width: 90px;
    color: var(--muted);
}

/* Dane podstawowe */
.data {
    width: 100%;
    border-collapse: collapse;
}

.data th, .data td {
    text-align: left;
    vertical-align: top;
    padding: 10px 12px;
    border-bottom: 1px solid var(--line);
}

.data tr:last-child th, .data tr:last-child td { border-bottom: 0; }

.data th {
    width: 170px;
    font-weight: 600;
    color: var(--muted);
}

.nowrap { white-space: nowrap; }

/* Organy spółki */
.people {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.person {
    flex: 1 1 200px;
    max-width: 280px;
    border: 1px solid var(--line);
    border-top: 3px solid var(--blue);
    border-radius: 4px;
    padding: 16px;
}

.person-chief { border-top-color: var(--red); }

.person .name {
    display: block;
    font-weight: 600;
    font-size: 17px;
}

.person .role {
    display: block;
    color: var(--muted);
    font-size: 14px;
}

/* Polityka prywatności */
.policy { font-size: 15px; }
.policy ul { padding-left: 22px; }
.policy li { margin-bottom: 6px; }

/* Stopka */
.site-footer {
    background: var(--blue-dark);
    color: #fff;
    font-size: 14px;
    padding: 18px 0;
}

.site-footer p { margin: 4px 0; }
.site-footer a { color: #fff; }

/* Telefony */
@media (max-width: 640px) {
    .section { padding: 20px 16px; }
    h1, h2 { font-size: 22px; }
    .site-header { position: static; }
    .data th, .data td { display: block; width: 100%; padding: 4px 0; border: 0; }
    .data td { padding-bottom: 12px; border-bottom: 1px solid var(--line); }
    .nowrap { white-space: normal; }
}

@media print {
    .site-header { position: static; box-shadow: none; }
    .menu, .site-footer a { display: none; }
    body { background: #fff; }
    .section { box-shadow: none; padding: 0; }
}
