/* Kancelaria Adwokacka Szewczyk – własny arkusz (układ wzorowany na dotychczasowej stronie, bez kodu motywu) */
@font-face { font-family: "Noto Serif"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/noto-serif-latin-ext.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: "Noto Serif"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/noto-serif-latin.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 {
  --green: #02261d;
  --green-2: #0b3328;
  --gold: #d7b679;
  --gold-2: #e2c895;
  --heading: #0c0d0e;
  --text: #616a68;
  --grey: #f7f7f7;
  --line: #e6e6e6;
  --wrap: 1300px;
  --serif: "Noto Serif", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--text); background: #fff; line-height: 1.75; font-size: 16px; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.25; margin: 0 0 .5em; color: var(--heading); }
h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 40px; }
.center { text-align: center; margin-top: 2.6rem; }
.center-text { text-align: center; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { display: block; flex: none; }
.gold-line { display: block; width: 80px; height: 1px; background: var(--gold); margin: 14px 0 0; }
.gold-line.wide { width: 220px; margin: 14px auto 0; background: rgba(215,182,121,.75); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: 15px 34px; border-radius: 2px;
  font-weight: 500; text-decoration: none; border: 0; transition: background .2s; font-size: 1rem; }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: #c9a663; }
.btn-sm { padding: 11px 22px; font-size: .95rem; }

/* Pasek górny */
.topbar { background: var(--green); color: #fff; font-size: .86rem; }
.topbar-inner { display: flex; gap: 36px; align-items: center; min-height: 52px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.topbar a:hover span { color: var(--gold); }
.topbar .icon { color: var(--gold); }

/* Nagłówek (biały) */
.site-header { background: #fff; position: sticky; top: 0; z-index: 10; box-shadow: 0 1px 0 rgba(0,0,0,.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 86px; gap: 24px; }
.brand { display: flex; align-items: center; padding-right: 38px; border-right: 1px solid #d9d9d9; min-height: 56px; text-decoration: none; color: var(--heading); font-family: var(--serif); }
.brand img { height: 37px; width: auto; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a { color: var(--text); text-decoration: none; font-size: 1rem; transition: color .2s; }
.nav a:hover, .nav a.active { color: var(--heading); }
.nav a.active { font-weight: 500; }
.nav-toggle, .nav-burger { display: none; }

/* Baner główny */
.hero { position: relative; color: #fff; text-align: center; background: #1e1e1c var(--bg, none) center/cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(20,20,18,.45); }
.hero-inner { position: relative; padding-top: 170px; padding-bottom: 150px; max-width: 1240px; }
.hero-lines { display: flex; justify-content: center; gap: 230px; margin-bottom: 22px; }
.hero-lines span { width: 46px; height: 1px; background: rgba(255,255,255,.55); }
.hero h1 { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.6rem); margin-bottom: .7em; }
.hero-lead { max-width: 760px; margin: 0 auto 3.2rem; font-size: 1.02rem; line-height: 1.65; color: #fff; }

/* Sekcje */
.section { padding: 110px 0; }
.section-grey { background: var(--grey); }
.section-head { max-width: 1240px; margin: 0 auto 70px; text-align: center; }
.section-head h2 { margin-bottom: .25em; }
.section-head p { margin: 0 auto; font-size: 1rem; line-height: 1.6; }
.section-head .gold-line { margin: 22px auto 0; }

.spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.spec-card { position: relative; display: block; overflow: hidden; text-decoration: none; background: #222; }
.spec-card img { width: 100%; aspect-ratio: 700/510; object-fit: cover; transition: transform .6s; }
.spec-card:hover img { transform: scale(1.04); }
.spec-card::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.78)); }
.spec-caption { position: absolute; left: 28px; bottom: 26px; z-index: 1; display: flex; align-items: center; gap: 14px;
  font-family: var(--serif); color: #fff; font-size: clamp(1.3rem, 2vw, 1.75rem); }
.spec-caption .bar { width: 4px; height: 30px; border-left: 2px solid var(--gold); border-right: 2px solid var(--gold); padding: 0 2px; box-sizing: content-box; width: 2px; }
.spec-text { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; padding: 40px; background: rgba(2,38,29,.92);
  color: #fff; font-size: 1rem; line-height: 1.65; opacity: 0; transition: opacity .3s; }
.spec-card:hover .spec-text, .spec-card:focus-visible .spec-text { opacity: 1; }

.team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 470px)); gap: 24px; justify-content: center; }
.team-grid-home { grid-template-columns: repeat(2, minmax(0, 470px)); }
.person { display: block; background: #fff; text-decoration: none; box-shadow: 0 20px 50px rgba(0,0,0,.09); transition: box-shadow .2s; }
.person:hover { box-shadow: 0 24px 60px rgba(0,0,0,.16); }
.person img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.person-body { display: block; text-align: center; padding: 26px 20px 30px; }
.person-name { display: block; font-family: var(--serif); font-size: 1.35rem; color: var(--heading); font-weight: 500; }
.person .gold-line { margin: 8px auto 12px; width: 120px; }
.person-role { display: block; color: var(--text); font-size: .98rem; }

/* Baner podstron */
.page-banner { position: relative; text-align: center; color: #fff; background: var(--green) var(--bg, none) center/cover no-repeat; padding: 82px 0 70px; }
.page-banner.has-image::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.55); }
.page-banner .wrap { position: relative; }
.page-banner h1 { color: #fff; margin: 0; font-size: clamp(2rem, 4vw, 3rem); }

/* Prowadzone sprawy */
.section-cases { padding-top: 40px; }
.cases-lead { text-align: center; max-width: 760px; margin: 0 auto 1.5rem; }
.case-filter > input { position: absolute; opacity: 0; pointer-events: none; }
.tabs { display: flex; justify-content: center; flex-wrap: wrap; padding-bottom: 32px; margin-bottom: 54px; border-bottom: 1px solid var(--line); }
.tabs label { background: var(--grey); color: var(--text); padding: 12px 22px; cursor: pointer; font-size: 1rem; transition: background .2s, color .2s; }
.tabs label:hover { color: var(--heading); }
#tab-all:checked ~ .tabs label[for="tab-all"] { background: var(--green); color: #fff; }
.case-filter > input:focus-visible ~ .tabs { outline: 2px solid var(--gold); outline-offset: 4px; }
.case-list { display: grid; gap: 40px; }
.case-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: center; }
.case-image img { width: 100%; aspect-ratio: 620/690; object-fit: cover; }
.case-text { padding: 40px 80px; }
.case-row:nth-child(even) .case-image { order: 2; }
.case-row:nth-child(even) .case-text { text-align: right; }
.case-row:nth-child(even) .case-text .gold-line { margin-left: auto; }
.year { display: inline-block; background: #e9e9e9; color: #fff; background: #d8d8d8; font-weight: 600; padding: 4px 16px; border-radius: 2px; margin-bottom: 1.4rem; font-size: 1.1rem; }
.case-text h2 { font-size: clamp(1.5rem, 2.3vw, 2rem); margin-bottom: 0; }
.case-text h2 a { text-decoration: none; color: var(--heading); }
.case-text h2 a:hover { color: #3a4734; }
.case-text .gold-line { margin: 14px 0 34px; width: 80px; }
.case-text p { margin-bottom: 2.2rem; }

/* Pojedyncza sprawa */
.case-intro { background: var(--grey); }
.case-intro-card { background: #fff; max-width: 640px; margin-left: 30px; padding: 40px 40px 34px; position: relative; top: 40px; box-shadow: 0 10px 40px rgba(0,0,0,.05); }
.case-intro-card h2 { font-size: 1.7rem; margin: 0; }
.case-intro-card .gold-line { margin: 10px 0 20px; width: 70px; }
.case-intro-card p { margin-bottom: 1.2rem; }
.case-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 32px; }
.case-facts li { color: var(--heading); font-family: var(--serif); }
.case-facts span { display: block; font-family: var(--sans); text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; color: var(--gold); font-weight: 600; }
.case-body { padding: 80px 0 60px; }
.case-part { padding: 28px 0; border-bottom: 1px solid var(--line); }
.case-part:last-of-type { border-bottom: 0; }
.case-part h2 { font-size: 1.55rem; margin-bottom: .5em; }
.case-part p:last-child { margin-bottom: 0; }
.case-back a { color: var(--green); font-weight: 500; text-decoration: none; }
.case-back a:hover { color: var(--gold); }

/* Adwokaci – biogramy */
.bio { max-width: 900px; margin: 90px auto 0; scroll-margin-top: 120px; }
.bio h2 { margin: 0; }
.bio .gold-line { margin: 12px 0 24px; }
.bio-facts { display: flex; flex-wrap: wrap; gap: 14px 48px; margin: 0 0 1.4rem; }
.bio-facts dt { text-transform: uppercase; letter-spacing: .12em; font-size: .74rem; color: var(--gold); font-weight: 600; }
.bio-facts dd { margin: 0; color: var(--heading); }
.prose { font-size: 1rem; }

/* Kontakt */
.contact-section { position: relative; background: var(--grey); }
.contact-section::before { content: ""; position: absolute; inset: 0 50% 0 0; background: var(--bg, none) center/cover no-repeat; opacity: .9; }
.contact-inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding-top: 90px; padding-bottom: 90px; }
.contact-box { padding: 0 10px; }
.contact-box h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 0; }
.contact-box .gold-line { margin: 12px 0 34px; }
.contact-lead { color: var(--heading); max-width: 46ch; margin-bottom: 2.2rem; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; }
.contact-list li { display: flex; align-items: center; gap: 16px; }
.contact-list a { color: var(--heading); text-decoration: none; font-size: 1.05rem; font-weight: 500; }
.contact-list a:hover { color: var(--gold); }
.contact-list .icon, .hours .icon { color: var(--gold); }
.hours { display: flex; gap: .6em; align-items: center; margin-top: 2rem; }
.contact-map, .footer-map { position: relative; display: block; text-decoration: none; }
.contact-map img { width: 100%; box-shadow: 0 20px 50px rgba(0,0,0,.12); }
.map-open { position: absolute; top: 8px; left: 8px; background: #fff; color: #1a73e8; font-size: .8rem; padding: 4px 10px; border-radius: 2px; box-shadow: 0 1px 3px rgba(0,0,0,.25); font-family: var(--sans); }
.map-attr { position: absolute; right: 0; bottom: 0; background: rgba(255,255,255,.85); color: #333; font-size: .7rem; padding: 1px 6px; }

/* Stopka */
.site-footer { background: var(--green); color: #c9d1cd; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1fr 1.05fr .9fr 1fr; gap: 50px; padding-top: 80px; padding-bottom: 50px; align-items: start; }
.site-footer h3 { color: #fff; font-size: 1.5rem; font-weight: 400; margin-bottom: 1.1em; }
.site-footer h3.underlined::after { content: ""; display: block; width: 80px; height: 1px; background: var(--gold); margin-top: 14px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-about .footer-logo { height: 46px; width: auto; margin-bottom: 26px; }
.footer-about h3 { border-top: 1px solid rgba(255,255,255,.22); padding-top: 24px; font-size: 1.45rem; font-weight: 500; margin-bottom: .5em; }
.footer-about p { color: #b9c2be; line-height: 1.6; }
.footer-list, .footer-links { list-style: none; margin: 0; padding: 0; }
.footer-list li { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.footer-list .icon { color: var(--gold); }
.footer-links li { margin-bottom: 18px; }
.footer-map img { width: 100%; aspect-ratio: 4/3.5; object-fit: cover; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.18); padding-top: 24px; padding-bottom: 26px; text-align: center; color: #fff; font-weight: 600; font-size: .9rem; }

/* Tablet / telefon */
@media (max-width: 1100px) {
  .wrap { padding: 0 24px; }
  .spec-grid { gap: 32px; }
  .case-text { padding: 30px 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .header-inner { min-height: 72px; }
  .brand { border-right: 0; padding-right: 0; }
  .nav-burger { display: flex; flex-direction: column; gap: 5px; cursor: pointer; padding: 10px; }
  .nav-burger span { width: 24px; height: 2px; background: var(--heading); }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 72px; background: #fff; flex-direction: column; align-items: stretch;
    gap: 0; padding: 6px 24px 18px; box-shadow: 0 10px 20px rgba(0,0,0,.08); }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-toggle:checked ~ .nav { display: flex; }
  .topbar-inner { justify-content: center; gap: 22px; min-height: 44px; }
  .topbar-address { display: none !important; }
  .hero-inner { padding-top: 90px; padding-bottom: 90px; }
  .hero-lines { gap: 120px; }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 44px; }
  .spec-grid { grid-template-columns: 1fr; }
  .team-grid, .team-grid-home { grid-template-columns: minmax(0, 470px); }
  .case-row { grid-template-columns: 1fr; }
  .case-row:nth-child(even) .case-image { order: 0; }
  .case-row:nth-child(even) .case-text { text-align: left; }
  .case-row:nth-child(even) .case-text .gold-line { margin-left: 0; }
  .case-image img { aspect-ratio: 16/10; }
  .case-text { padding: 28px 0 10px; }
  .case-intro-card { margin-left: 0; top: 24px; padding: 28px 24px; }
  .contact-section::before { inset: 0; opacity: .35; }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; padding-top: 60px; padding-bottom: 60px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; padding-top: 56px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
