/* czyzowski-zukowski.pl – kolory z brandbooku (Pantone 7687 C → #2D427C, Pantone 663 C → #F6F6F6) */
@font-face { font-family: 'Roboto Condensed'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/assets/fonts/roboto-condensed-latin-ext-400.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Roboto Condensed'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/assets/fonts/roboto-condensed-latin-400.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Roboto Condensed'; font-style: normal; font-weight: 700; font-display: swap;
  src: url(/assets/fonts/roboto-condensed-latin-ext-700.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Roboto Condensed'; font-style: normal; font-weight: 700; font-display: swap;
  src: url(/assets/fonts/roboto-condensed-latin-700.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --navy: #2d427c; --navy-dark: #22335f; --navy-line: rgba(246,246,246,.22);
  --light: #f6f6f6; --ink: #1d1e20; --muted: #5b6070;
  --font: 'Roboto Condensed', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--light); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-weight: 400; line-height: 1.25; margin: 0 0 .6em; }
h1 { font-size: clamp(32px, 4vw, 44px); }
h2 { font-size: clamp(24px, 2.6vw, 30px); }
h3 { font-size: 20px; }
p { margin: 0 0 1em; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); }
.center { text-align: center; }
.small { font-size: 15px; }
.skip { position: absolute; left: -9999px; top: 0; background: #fff; color: var(--navy); padding: 10px 14px; z-index: 100; }
.skip:focus { left: 12px; top: 12px; }
:focus-visible { outline: 3px solid #f2b705; outline-offset: 2px; }

/* nagłówek */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--light); border-bottom: 1px solid #e3e4e8; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 96px; }
.brand img { width: 170px; height: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav > ul { display: flex; align-items: center; gap: 4px 26px; flex-wrap: wrap; }
.nav a { text-decoration: none; font-size: 15px; letter-spacing: .01em; color: var(--ink); padding: 6px 0; display: inline-block; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--navy); color: var(--navy); }
.has-sub { position: relative; display: flex; align-items: center; }
.sub-toggle { background: none; border: 0; padding: 4px; margin-left: 2px; cursor: pointer; color: var(--ink); display: inline-flex; }
.sub { position: absolute; top: 100%; left: -16px; min-width: 260px; background: #fff; box-shadow: 0 10px 30px rgba(20,30,60,.15); padding: 8px 0; display: none; }
.sub a { display: block; padding: 9px 18px; border: 0; }
.sub a:hover { background: var(--light); }
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.open .sub { display: block; }
.menu-toggle { display: none; background: none; border: 0; color: var(--navy); cursor: pointer; padding: 6px; }

/* sekcje */
.hero-img img { width: 100%; height: clamp(220px, 34vw, 520px); object-fit: cover; }
.band { padding: clamp(48px, 7vw, 88px) 0; }
.band.slim { padding: 44px 0 36px; }
.band-navy { background: var(--navy); color: var(--light); }
.band-navy a { color: #fff; }
.band-light { background: var(--light); }
.lead-just { text-align: justify; hyphens: auto; font-size: 18px; }
.prose p, .prose li { text-align: justify; hyphens: auto; }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin: .3em 0; }
.prose h2 { color: var(--navy); margin-top: 1.6em; }
.prose h3 { color: var(--navy); margin-top: 1.2em; }
.prose a { color: var(--navy); }
.two-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.area { padding-bottom: 8px; border-bottom: 1px solid #dcdee5; margin-bottom: 32px; }
.area h2 { margin-top: 0; }
.legal h2 { font-size: 24px; }

/* przyciski */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 24px; font: inherit; font-size: 16px;
  text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s; }
.btn-light { background: #fff; color: var(--navy) !important; border-color: #fff; }
.btn-light:hover { background: transparent; color: #fff !important; }
.btn-navy { background: var(--navy); color: #fff !important; }
.btn-navy:hover { background: var(--navy-dark); }
.btn-outline { border-color: #fff; color: #fff; background: transparent; }
.btn-outline:hover { background: #fff; color: var(--navy) !important; }
.band-navy .btn + .btn { margin-left: 8px; }

/* zespół */
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 64px clamp(32px, 6vw, 96px); margin-top: 40px; }
.person-photo { max-width: 360px; margin-bottom: 22px; }
.person-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.person h2 { font-size: 26px; margin: 0 0 4px; }
.person-mail { margin: 0 0 16px; font-size: 15px; opacity: .9; }
.person p { text-align: justify; hyphens: auto; }

/* kontakt */
.contact-list { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 8px; }
.contact-list li { display: flex; gap: 10px; align-items: flex-start; }
.contact-list svg { flex: 0 0 auto; margin-top: 4px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; margin-top: 32px; align-items: start; }
.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 4px; font-size: 15px; }
.form input, .form textarea { font: inherit; font-size: 16px; padding: 10px 12px; border: 1px solid #c9cdd8; background: #fff; color: var(--ink); border-radius: 0; width: 100%; }
.form input:focus, .form textarea:focus { outline: 3px solid #f2b705; outline-offset: 0; }
.form-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.45; }
.form .check input { width: 20px; height: 20px; margin-top: 2px; flex: 0 0 auto; }
.form .hp { position: absolute; left: -9999px; }
.form-status { min-height: 1.2em; margin: 0; font-size: 15px; }
.form-status.err { color: #ffd2d2; }
.form button { justify-self: start; }

/* stopka */
.site-footer { background: var(--navy); color: var(--light); border-top: 1px solid var(--navy-line); padding: 40px 0 24px; text-align: center; }
.site-footer a { color: var(--light); }
.site-footer .contact-list { justify-content: center; justify-items: center; }
.site-footer .contact-list li { text-align: left; }
.footer-bottom { border-top: 1px solid var(--navy-line); padding-top: 18px; margin-top: 18px; font-size: 14px; display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; opacity: .85; }
.band-navy + .site-footer { border-top: 1px solid var(--navy-line); }

/* stały pasek kontaktu na telefonie */
.mobile-cta { display: none; }

@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--light); border-bottom: 1px solid #e3e4e8; box-shadow: 0 12px 24px rgba(20,30,60,.12); max-height: calc(100vh - 80px); overflow: auto; }
  .nav.open { display: block; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 16px; }
  .nav a { padding: 9px 0; font-size: 18px; line-height: 1.3; border: 0; display: block; }
  .nav > ul > li { border-bottom: 1px solid #e3e4e8; }
  .has-sub { flex-wrap: wrap; justify-content: space-between; }
  .has-sub > a { flex: 1; }
  .sub-toggle { padding: 12px; }
  .sub { position: static; display: none; box-shadow: none; background: transparent; width: 100%; padding: 0 0 8px 16px; min-width: 0; }
  .has-sub:hover .sub, .has-sub:focus-within .sub { display: none; }
  .has-sub.open .sub { display: block; }
  .sub a { padding: 7px 0; font-size: 16px; color: var(--muted); }
  .nav .sub { border-left: 2px solid var(--navy); margin: 0 0 10px 4px; padding: 0 0 0 14px; }
  .header-inner { min-height: 76px; }
  .brand img { width: 140px; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  .team-grid { grid-template-columns: 1fr; gap: 56px; }
  .person-photo { max-width: none; }
  .two-lists { grid-template-columns: 1fr; }
  .form-row.two { grid-template-columns: 1fr; }
  .lead-just, .prose p, .prose li, .person p { text-align: left; }
  .footer-bottom { justify-content: center; text-align: center; }
  .mobile-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: var(--navy-dark); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); box-shadow: 0 -4px 16px rgba(0,0,0,.18); }
  .mobile-cta a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; font-size: 16px; font-weight: 700; text-decoration: none; }
  .mobile-cta-call { background: #fff; color: var(--navy); }
  .mobile-cta-mail { background: transparent; color: #fff; outline: 2px solid #fff; outline-offset: -2px; }
  .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
@media print { .site-header, .mobile-cta, .form, .site-footer { display: none; } .band-navy { background: none; color: #000; } }
.prose p.center, .prose .center { text-align: center; }
.prose li, .two-lists li { text-align: left; hyphens: manual; }
