@import url("/typography.css?v=20261031-unified");

:root {
  color-scheme: light;
  --ink: #111512;
  --black: #0c0f0d;
  --green: #12382d;
  --green-2: #1a4a3a;
  --green-pale: #eaf0ed;
  --warm: #f5f4f0;
  --paper: #fbfbf9;
  --white: #ffffff;
  --muted: #606862;
  --line: #d9ddd9;
  --line-dark: rgba(255, 255, 255, 0.18);
  --max: 1140px;
  --section-space: clamp(2.75rem, 4.5vw, 4rem);
  --reading: 760px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size:var(--text-body); font-weight: 400; line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body, button, input, textarea, select { font-family: var(--sans); }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; overflow-wrap: break-word; }
button { color: inherit; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 0.75rem; left: 0.75rem; z-index: 1000; transform: translateY(-180%); padding: 0.7rem 1rem; color: var(--white); background: var(--green); font-weight: 700; text-decoration: none; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; min-height: 4.65rem; padding: 0.65rem max(1.25rem, calc((100% - var(--max)) / 2)); background: rgba(255, 255, 255, 0.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); transition: min-height 180ms ease, box-shadow 180ms ease; }
.site-header.is-scrolled { min-height: 4.65rem; box-shadow: 0 0.5rem 2rem rgba(12, 15, 13, 0.05); }
.brand { display: inline-flex; align-items: center; gap: 0.85rem; color: var(--ink); text-decoration: none; }
.brand-mark, .brand-seal { display: grid; place-items: center; width: 2.65rem; height: 2.65rem; color: var(--white); background: var(--green); font-size: 0.65rem; font-weight: 800; letter-spacing: 0.16em; }
.brand-seal { border-radius: 50%; }
.brand-name, .brand-copy { display: grid; font-size: 0.93rem; font-weight: 700; letter-spacing: 0.035em; line-height: 1.12; text-transform: uppercase; }
.brand-name small, .brand-copy small { margin-top: 0.3rem; color: var(--muted); font-size: 0.58rem; font-weight: 600; letter-spacing: 0.14em; }
.main-nav { display: flex; align-items: center; gap: 1.3rem; }
.main-nav > a:not(.button) { color: #3e4540; font-family: var(--sans); font-size:var(--text-small); font-weight: 400; letter-spacing: 0; text-decoration: none; }
.main-nav > a:not(.button):hover { color: var(--green); }
.menu-button { display: none; width: 2.85rem; height: 2.85rem; padding: 0; background: var(--white); border: 1px solid var(--line); cursor: pointer; }
.menu-button span:not(.sr-only) { display: block; width: 1.2rem; height: 1px; margin: 0.36rem auto; background: var(--ink); }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 2.8rem; padding: 0.7rem 1.15rem; border: 1px solid transparent; border-radius: 0; font-size:var(--text-small); font-weight: 600; letter-spacing: 0.015em; line-height: 1.25; text-align: center; text-decoration: none; cursor: pointer; transition: color 160ms ease, background 160ms ease, border-color 160ms ease, transform 160ms ease; }
.button:hover { transform: translateY(-1px); }
.button-small { min-height: 2.75rem; padding: 0.65rem 1rem; font-size:var(--text-small); }
.button-full { width: 100%; }
.button-primary { color: var(--white); background: var(--green); border-color: var(--green); }
.button-primary:hover, .button-dark:hover { background: var(--green-2); border-color: var(--green-2); }
.button-light { color: var(--green); background: var(--white); border-color: var(--white); }
.button-light:hover { color: var(--ink); background: var(--green-pale); border-color: var(--green-pale); }
.button-outline, .button-ghost { color: var(--ink); background: transparent; border-color: #aeb5b0; }
.button-outline:hover, .button-ghost:hover { border-color: var(--green); }
.button-outline-light { color: var(--white); background: transparent; border-color: rgba(255,255,255,0.55); }
.button-outline-light:hover { color: var(--green); background: var(--white); border-color: var(--white); }
.button-dark { color: var(--white); background: var(--black); border-color: var(--black); }
.button:focus-visible, .text-link:focus-visible, .card-link:focus-visible, .main-nav a:focus-visible, .site-footer a:focus-visible, .site-footer button:focus-visible, summary:focus-visible { outline: 3px solid #68a58a; outline-offset: 4px; }

.eyebrow, .card-label { margin: 0 0 0.75rem; color: var(--green-2); font-size:var(--text-small); font-weight: 700; letter-spacing: 0.19em; line-height: 1.4; text-transform: uppercase; }
.eyebrow-light { color: #a8c7b8; }
.section { width: min(100%, var(--max)); margin: 0 auto; padding: var(--section-space) 1.25rem; }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(17rem, 0.65fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: end; margin-bottom: 2rem; }
.section-heading h2, .intro-copy h2, .process-intro h2, .about-copy h2, .industries-content h2, .faq-heading h2 { margin-bottom: 0; font-family: var(--serif); font-size:var(--text-h2); font-weight: 400; letter-spacing: 0; line-height: 1.3; }
.section-heading > p { margin: 0; color: var(--muted); font-size:var(--text-body); }

.home-hero { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 0.65fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; width: min(100%, var(--max)); min-height: 0; margin: 0 auto; padding: clamp(2.75rem, 5vw, 4.25rem) 1.25rem; }
.home-hero-copy { max-width: 51rem; }
.home-hero h1 { margin-bottom: 1.35rem; font-family: var(--serif); font-size:var(--text-h1); font-weight: 400; letter-spacing: -0.015em; line-height: 1.25; }
.home-hero h1 em { display: block; color: var(--green); font-weight: 400; }
.hero-lead { max-width: 39rem; margin-bottom: 1.5rem; color: #444c46; font-size:var(--text-body); font-weight: 400; line-height: 1.7; }
.hero-actions { display: flex; align-items: center; gap: 0.75rem 1.1rem; flex-wrap: wrap; }
.text-link { display: inline-flex; align-items: center; gap: 0.75rem; padding: 0.55rem 0; color: var(--ink); border-bottom: 1px solid #9aa29c; font-size:var(--text-small); font-weight: 700; letter-spacing: 0.03em; text-decoration: none; }
.text-link span { color: var(--green-2); }
.text-link-dark { margin-top: 0.5rem; }
.consultation-card { position: relative; padding: clamp(1.5rem, 2.5vw, 1.85rem); color: var(--white); background: var(--green); }
.consultation-card::before { content: ""; position: absolute; inset: 0.8rem; border: 1px solid rgba(255,255,255,0.16); pointer-events: none; }
.consultation-card > * { position: relative; }
.consultation-card .card-label { color: #a8c7b8; }
.consultation-card h2 { max-width: 15rem; margin-bottom: 1.4rem; font-family: var(--serif); font-size:var(--text-h3); font-weight: 400; line-height: 1.35; }
.consultation-time { margin-bottom: 0.15rem; color: #d8e5de; font-size:var(--text-small); font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; }
.consultation-card > p:not(.card-label):not(.consultation-time):not(.card-note) { color: #dce7e1; font-size:var(--text-body); }
.consultation-price { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin: 1.15rem 0; padding: 0.85rem 0; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.consultation-price span { font-size:var(--text-body); font-weight: 700; }
.consultation-price strong { color: #b9d3c6; font-size:var(--text-small); font-weight: 600; }
.card-note { margin: 1rem 0 0; color: #aec3b8; font-size:var(--text-small); line-height: 1.55; }

.intro-call { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.intro-call h2 { margin-bottom: 1.3rem; font-family: var(--serif); font-size:var(--text-h2); font-weight: 400; letter-spacing: 0; line-height: 1.3; }
.intro-call-copy > p:not(.eyebrow) { max-width: 40rem; color: var(--muted); font-size:var(--text-body); }
.intro-call-details { padding: clamp(1.25rem, 2.5vw, 1.75rem); background: var(--green-pale); }
.intro-call-details h3 { margin-bottom: 1rem; font-family: var(--serif); font-size:var(--text-h3); font-weight: 400; line-height: 1.35; }
.intro-call-details ol { margin: 0 0 1.5rem; padding-left: 1.2rem; color: #424944; font-size:var(--text-small); }
.intro-call-details li + li { margin-top: 0.7rem; }
.intro-call-details .intro-call-note { margin: 1rem 0 0; color: #47514a; font-size:var(--text-small); line-height: 1.6; }
.intro-call-note a { overflow-wrap: anywhere; }
.intro-call-copy .scope-note { font-size:var(--text-small); }

.trust-bar { display: grid; grid-template-columns: repeat(4, 1fr); width: min(100%, var(--max)); margin: 0 auto; padding: 0 1.25rem 2.5rem; }
.trust-bar div { display: grid; min-width: 0; gap: 0.25rem; padding: 1rem 1.3rem; border-left: 1px solid var(--line); }
.trust-bar div:last-child { border-right: 1px solid var(--line); }
.trust-bar strong { font-family: var(--sans); font-size:var(--text-body); font-weight: 400; overflow-wrap: anywhere; }
.trust-bar span { color: var(--muted); font-size:var(--text-small); }

.intro-section, .process-section, .industries-section { display: grid; grid-template-columns: minmax(10rem, 0.32fr) minmax(0, 1.68fr); gap: clamp(1.75rem, 4vw, 3rem); border-top: 1px solid var(--line); }
.section-kicker { display: flex; align-items: baseline; gap: 0.85rem; padding-top: 0.25rem; }
.section-kicker span { color: var(--green-2); font-size:var(--text-small); font-weight: 700; }
.section-kicker p { margin: 0; color: var(--muted); font-size:var(--text-small); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.intro-copy h2 { max-width: 56rem; }
.two-column-copy { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.25rem; max-width: 53rem; margin-top: 1.5rem; color: var(--muted); }
.two-column-copy p { margin: 0; }

.services-section { padding-top: var(--section-space); }
.services-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { display: flex; flex-direction: column; min-height: 0; padding: clamp(1.35rem, 2.4vw, 1.8rem); background: var(--white); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.service-card-featured { background: var(--green-pale); }
.service-number { margin-bottom: 1rem; color: var(--green-2); font-size:var(--text-small); font-weight: 700; letter-spacing: 0.11em; }
.service-card h3 { margin-bottom: 1rem; font-family: var(--serif); font-size:var(--text-h3); font-weight: 400; line-height: 1.4; }
.service-card h3 a { text-decoration: none; }
.service-card h3 a:hover { color: var(--green-2); }
.service-card > p { max-width: 31rem; color: var(--muted); font-size:var(--text-body); }
.service-card ul { margin: 0 0 1.35rem; padding: 0; color: #424944; font-size:var(--text-small); list-style: none; }
.service-card li { display: inline; }
.service-card li:not(:last-child)::after { content: " · "; color: var(--green-2); }
.card-link { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line); font-size:var(--text-small); font-weight: 700; letter-spacing: 0.04em; text-decoration: none; }
.card-link span { color: var(--green-2); font-size:var(--text-body); }

.dark-section { color: var(--white); background: var(--black); }
.dark-section-inner { width: min(100%, var(--max)); margin: 0 auto; padding: var(--section-space) 1.25rem; }
.section-heading-light h2 { color: var(--white); }
.section-heading-light > p { color: #aeb8b1; }
.quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-dark); border-left: 1px solid var(--line-dark); }
.quick-grid > a { display: flex; flex-direction: column; min-height: 17rem; padding: clamp(1.35rem, 2.4vw, 1.8rem); border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); text-decoration: none; transition: background 160ms ease; }
.quick-grid > a:hover { background: var(--green); }
.quick-grid span { margin-bottom: 1rem; color: #8fb3a1; font-size:var(--text-small); font-weight: 700; }
.quick-grid h3 { margin-bottom: 1rem; font-family: var(--serif); font-size:var(--text-h3); font-weight: 400; line-height: 1.4; }
.quick-grid p { color: #aeb8b1; font-size:var(--text-body); }
.quick-grid strong { margin-top: auto; color: #c4d9ce; font-size:var(--text-small); letter-spacing: 0.04em; }

.process-content { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(23rem, 1.1fr); gap: clamp(1.75rem, 4vw, 3rem); }
.process-intro p { max-width: 35rem; margin-top: 1.75rem; color: var(--muted); }
.process-list { margin: 0; padding: 0; list-style: none; }
.process-list li { display: grid; grid-template-columns: 2rem 1fr; gap: 1.25rem; padding: 1.55rem 0; border-top: 1px solid var(--line); }
.process-list li:last-child { border-bottom: 1px solid var(--line); }
.process-list > li > span { color: var(--green-2); font-size:var(--text-small); font-weight: 700; }
.process-list h3 { margin-bottom: 0.3rem; font-family: var(--serif); font-size:var(--text-h3); font-weight: 400; line-height: 1.4; }
.process-list p { margin: 0; color: var(--muted); font-size:var(--text-body); }

.cooperation-models { padding-top: 2rem; }
.models-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.models-grid article { min-height: 0; padding: 1.6rem; background: var(--warm); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.models-grid span { display: block; margin-bottom: 1rem; color: var(--green-2); font-size:var(--text-small); font-weight: 700; }
.models-grid h3 { font-family: var(--serif); font-size:var(--text-h3); font-weight: 400; line-height: 1.4; }
.models-grid p { color: var(--muted); font-size:var(--text-body); }

.about-section { background: var(--green-pale); }
.about-inner { display: grid; grid-template-columns: minmax(15rem, 0.62fr) minmax(0, 1.38fr); gap: clamp(2rem, 4.5vw, 3.5rem); align-items: start; width: min(100%, 1040px); margin: 0 auto; padding: var(--section-space) 1.25rem; }
.portrait-card { width: min(100%, 20rem); margin: 0; background: var(--white); box-shadow: 1.15rem 1.15rem 0 rgba(18, 56, 45, 0.11); }
.portrait-card img { width: 100%; height: auto; aspect-ratio: 1122 / 1402; object-fit: contain; }
.portrait-card figcaption { display: grid; padding: 1rem 1.15rem; }
.portrait-card figcaption strong { font-family: var(--sans); font-size:var(--text-body); font-weight: 400; }
.portrait-card figcaption span { margin-top: 0.15rem; color: var(--muted); font-size:var(--text-small); }
.about-copy { max-width: 43rem; }
.about-copy h2 { margin-bottom: 1.25rem; }
.about-copy > p:not(.eyebrow) { color: #515b54; font-size:var(--text-body); }
.about-copy .about-lead { color: var(--ink); font-family: var(--sans); font-size:var(--text-lead); line-height: 1.6; }

.industries-content h2 { max-width: 54rem; }
.industry-list { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-top: 1.5rem; }
.industry-list span { padding: 0.62rem 0.85rem; color: #424a44; background: var(--white); border: 1px solid var(--line); font-size:var(--text-small); }

.faq-section { border-top: 1px solid var(--line); }
.faq-inner { display: grid; grid-template-columns: minmax(16rem, 0.62fr) minmax(0, 1.38fr); gap: clamp(2rem, 4.5vw, 3.5rem); width: min(100%, var(--max)); margin: 0 auto; padding: var(--section-space) 1.25rem; }
.faq-list { border-top: 1px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 1.1rem 2rem 1.1rem 0; font-family: var(--sans); font-size:var(--text-body); line-height: 1.5; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 0.25rem; top: 1.25rem; color: var(--green-2); font-family: var(--sans); font-size: 1.2rem; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 44rem; margin: 0; padding: 0 2.5rem 1.5rem 0; color: var(--muted); font-size:var(--text-body); }

.final-cta { color: var(--white); background: var(--green); }
.final-cta-inner { width: min(100%, 900px); margin: 0 auto; padding: var(--section-space) 1.25rem; text-align: center; }
.final-cta h2 { margin-bottom: 1.3rem; font-family: var(--serif); font-size:var(--text-h2); font-weight: 400; letter-spacing: 0; line-height: 1.3; }
.final-cta-inner > p:not(.eyebrow):not(.formal-note) { max-width: 43rem; margin: 0 auto 2rem; color: #d6e3dc; }
.final-actions { display: flex; justify-content: center; gap: 0.8rem; flex-wrap: wrap; }
.formal-note { margin: 1.2rem 0 0; color: #a9c1b5; font-size:var(--text-small); }
.formal-note a { text-underline-offset: 2px; }

/* Oficjalny znak AP: proporcje i pole ochronne są zapisane w pliku SVG.
   Nie kadrować, nie stosować filtrów ani łączyć ze znakiem BRP. */
.adwokatura-mark { display: block; flex: 0 0 auto; width: 14.4375rem; max-width: 100%; height: auto; object-fit: contain; }
.professional-affiliation { display: flex; align-items: center; flex-wrap: wrap; gap: 0.25rem 1.25rem; margin-top: 2rem; background: var(--white); }
.professional-affiliation > p, .adwokatura-footer-inner > p { display: grid; gap: 0.25rem; margin: 0; padding: 0.75rem 1.25rem; color: var(--ink); font-size:var(--text-small); }
.professional-affiliation > p > span, .adwokatura-footer-inner > p > span { color: var(--muted); font-size:var(--text-small); }
.professional-affiliation a, .adwokatura-footer a { margin-top: 0.3rem; color: var(--green); text-underline-offset: 3px; }
.adwokatura-footer { color: var(--ink); background: var(--white); border-block: 1px solid var(--line); }
.adwokatura-footer-inner { display: flex; align-items: center; flex-wrap: wrap; gap: 0.25rem 1.25rem; width: min(100%, var(--max)); margin: 0 auto; padding: 1rem 1.25rem; }

.site-footer { color: #d7ddd8; background: var(--black); }
.footer-main, .footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 2rem; width: min(100%, var(--max)); margin: 0 auto; padding: 2.2rem 1.25rem; }
.footer-main { border-bottom: 1px solid var(--line-dark); }
.footer-brand { display: grid; }
.footer-brand strong { color: var(--white); font-family: var(--sans); font-size: 1.3rem; font-weight: 400; }
.footer-brand span, .footer-brand p { margin: 0.15rem 0 0; color: #8e9891; font-size:var(--text-small); }
.footer-contact { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.footer-contact a { font-size:var(--text-small); text-decoration: none; }
.footer-bottom { padding-block: 1.3rem; color: #7f8982; font-size:var(--text-small); }
.footer-bottom nav, .footer-links { display: flex; gap: 1.1rem; flex-wrap: wrap; }
.footer-bottom a, .footer-bottom button, .footer-links a, .footer-links button { color: inherit; background: transparent; border: 0; font: inherit; text-decoration: none; cursor: pointer; }
.footer-bottom p, .copyright { margin: 0; }

/* Podstrony usług */
.subpage-hero { color: var(--white); background: var(--green); }
.subpage-hero-inner { width: min(100%, var(--max)); margin: 0 auto; padding: clamp(2.5rem, 4.5vw, 3.75rem) 1.25rem; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.75rem; color: #b7ccc1; font-size:var(--text-small); }
.breadcrumbs a { text-decoration: none; }
.subpage-hero h1 { max-width: 60rem; margin-bottom: 1.5rem; font-family: var(--serif); font-size:var(--text-h1); font-weight: 400; letter-spacing: -0.015em; line-height: 1.25; }
.subpage-hero .subpage-lead { max-width: 48rem; margin: 0; color: #d6e2dc; font-size:var(--text-body); font-weight: 400; }
.subpage-layout { display: grid; grid-template-columns: minmax(12rem, 0.38fr) minmax(0, 1.62fr); gap: clamp(2rem, 4.5vw, 3.5rem); width: min(100%, var(--max)); margin: 0 auto; padding: var(--section-space) 1.25rem; }
.subpage-nav { position: sticky; top: 7rem; align-self: start; padding: 1.3rem; background: var(--green-pale); border-top: 3px solid var(--green); }
.subpage-nav p { margin-bottom: 0.8rem; color: var(--green-2); font-size:var(--text-small); font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; }
.subpage-nav a { display: block; padding: 0.55rem 0; color: #4d5650; border-bottom: 1px solid rgba(18,56,45,0.13); font-size:var(--text-small); text-decoration: none; }
.subpage-nav .button { margin-top: 1rem; color: var(--white); }
.subpage-content { min-width: 0; }
.content-intro { max-width: 52rem; margin-bottom: 2.5rem; }
.content-intro p { font-family: var(--sans); font-size: var(--text-lead); line-height: 1.6; }
.content-section { margin: 0 0 3rem; scroll-margin-top: 7rem; }
.content-section h2 { max-width: 52rem; margin-bottom: 1.6rem; font-family: var(--serif); font-size:var(--text-h2); font-weight: 400; letter-spacing: 0; line-height: 1.35; }
.content-section > p { max-width: var(--reading); color: var(--muted); }
.situation-grid, .result-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 2rem; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.situation-grid article, .result-grid article { min-height: 11rem; padding: 1.5rem; background: var(--white); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.situation-grid span, .result-grid span { display: block; margin-bottom: 1.25rem; color: var(--green-2); font-size:var(--text-small); font-weight: 700; }
.situation-grid h3, .result-grid h3 { margin-bottom: 0.55rem; font-family: var(--serif); font-size:var(--text-h3); font-weight: 400; line-height: 1.4; }
.situation-grid p, .result-grid p { margin: 0; color: var(--muted); font-size:var(--text-body); }
.scope-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 2rem 0 0; padding: 0; border-top: 1px solid var(--ink); list-style: none; }
.scope-list li { padding: 1.1rem 1rem 1.1rem 0; border-bottom: 1px solid var(--line); font-size:var(--text-body); }
.scope-list li:nth-child(odd) { margin-right: 1.5rem; }
.scope-list li::before { content: "—"; margin-right: 0.65rem; color: var(--green-2); }
.steps { counter-reset: steps; margin: 2rem 0 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.steps li { counter-increment: steps; display: grid; grid-template-columns: 3.5rem 1fr; gap: 1rem; padding: 1.3rem 0; border-bottom: 1px solid var(--line); }
.steps li::before { content: "0" counter(steps); color: var(--green-2); font-size:var(--text-small); font-weight: 700; }
.steps h3 { margin: 0 0 0.25rem; font-family: var(--serif); font-size:var(--text-h3); font-weight: 400; line-height: 1.4; }
.steps p { margin: 0; color: var(--muted); font-size:var(--text-body); }
.scope-note { margin-top: 2rem; padding: 1.3rem 1.4rem; color: #47514a; background: var(--green-pale); border-left: 3px solid var(--green); font-size:var(--text-small); }
.author-box { display: grid; grid-template-columns: 5.5rem 1fr; gap: 1.25rem; align-items: center; margin-top: 2.5rem; padding: 1.3rem; background: var(--warm); border: 1px solid var(--line); }
.author-box img { width: 5.5rem; height: 5.5rem; object-fit: cover; object-position: 50% 24%; }
.author-box p { margin: 0; color: var(--muted); font-size:var(--text-small); }
.author-box strong { display: block; color: var(--ink); font-family: var(--sans); font-size:var(--text-lead); font-weight: 400; }
.related-services { color: var(--white); background: var(--black); }
.related-inner { width: min(100%, var(--max)); margin: 0 auto; padding: var(--section-space) 1.25rem; }
.related-inner h2 { margin-bottom: 2rem; font-family: var(--serif); font-size:var(--text-h2); font-weight: 400; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-dark); border-left: 1px solid var(--line-dark); }
.related-grid a { min-height: 9rem; padding: 1.3rem; color: #dce4df; border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); font-family: var(--sans); font-size:var(--text-lead); text-decoration: none; }
.related-grid a:hover { background: var(--green); }
.page-cta { padding: 2rem; color: var(--white); background: var(--green); }
.page-cta h2 { margin-bottom: 0.7rem; font-family: var(--serif); font-size:var(--text-h2); font-weight: 400; line-height: 1.4; }
.page-cta p { max-width: 39rem; color: #d2e0d9; }
.page-cta .cta-note { margin: 1rem 0 0; color: #aac2b6; font-size:var(--text-small); }

/* Strony formalne */
.legal-page { background: var(--paper); }
.legal-page .site-header .button-outline { color: var(--ink); }
.legal-main { width: min(100%, 900px); margin: 0 auto; padding: var(--section-space) 1.25rem; }
.legal-back { display: inline-block; margin-bottom: 2.2rem; color: var(--muted); font-size:var(--text-small); text-decoration: none; }
.legal-main > h1 { max-width: 48rem; margin-bottom: 1.4rem; font-family: var(--serif); font-size:var(--text-h1); font-weight: 400; letter-spacing: 0; line-height: 1.3; }
.legal-intro { max-width: 47rem; color: var(--muted); font-size:var(--text-body); }
.legal-meta { margin: 1.6rem 0 3.5rem; color: #7c857f; font-size:var(--text-small); }
.legal-section { margin: 0 0 3.5rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.legal-section h2 { margin-bottom: 1.25rem; font-family: var(--serif); font-size:var(--text-h2); font-weight: 400; line-height: 1.4; }
.legal-section h3 { margin: 1.6rem 0 0.55rem; font-size:var(--text-h3); }
.legal-section p, .legal-section li { color: #4e5650; font-size:var(--text-body); }
.legal-section a { color: var(--green-2); }
.notice-box { padding: 1.1rem 1.25rem; background: var(--green-pale); border-left: 3px solid var(--green); }
.legal-data { margin: 0; }
.legal-data div { display: grid; grid-template-columns: 12rem 1fr; gap: 1rem; padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
.legal-data dt { color: var(--muted); font-size:var(--text-small); }
.legal-data dd { margin: 0; font-size:var(--text-small); }
.legal-page .site-footer { margin-top: 2rem; }
.legal-page .site-footer > .footer-brand, .legal-page .site-footer > .footer-links, .legal-page .site-footer > .copyright { width: min(100%, 900px); margin-inline: auto; padding-inline: 1.25rem; }
.legal-page .site-footer > .footer-brand { padding-top: 2rem; }
.legal-page .site-footer > .footer-links { padding-block: 1rem; }
.legal-page .site-footer > .copyright { padding-bottom: 2rem; }

.cookie-banner { position: fixed; right: 1rem; bottom: 1rem; z-index: 200; width: min(calc(100% - 2rem), 34rem); padding: 1.15rem; color: var(--ink); background: var(--white); border: 1px solid var(--line); box-shadow: 0 1rem 4rem rgba(12,15,13,0.18); }
.cookie-banner[hidden] { display: none; }
.cookie-banner strong { font-family: var(--sans); font-size:var(--text-body); font-weight: 400; }
.cookie-banner p { margin: 0.3rem 0 1rem; color: var(--muted); font-size:var(--text-small); }
.cookie-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.cookie-actions .button { min-height: 2.65rem; font-size:var(--text-small); }

@media (max-width: 960px) {
  .menu-button { display: block; }
  .main-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; align-items: stretch; gap: 0; padding: 0.8rem 1.25rem 1.25rem; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 1.2rem 2rem rgba(12,15,13,0.08); }
  .site-header.is-scrolled .main-nav { top: 100%; }
  .main-nav.is-open { display: grid; }
  .main-nav > a:not(.button) { padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
  .main-nav .button { margin-top: 0.8rem; }
  .home-hero { grid-template-columns: 1fr; min-height: auto; }
  .home-hero-copy { max-width: 52rem; }
  .intro-call { grid-template-columns: 1fr; }
  .consultation-card { width: min(100%, 31rem); }
  .section-heading, .process-content { grid-template-columns: 1fr; gap: 1.5rem; }
  .about-inner { grid-template-columns: minmax(13rem, 0.55fr) minmax(0, 1.45fr); gap: 3rem; }
  .subpage-layout { grid-template-columns: 1fr; }
  .subpage-nav { position: static; display: none; }
}

@media (max-width: 720px) {
  body { font-size:var(--text-body); }
  .site-header { min-height: 4.5rem; }
  .brand-mark, .brand-seal { width: 2.35rem; height: 2.35rem; }
  .brand-name { font-size: 0.82rem; }
  .main-nav { top: 100%; }
  .site-header.is-scrolled .main-nav { top: 100%; }
  .home-hero { padding-top: 2.25rem; padding-bottom: 2.5rem; gap: 2rem; }
  .home-hero h1 { font-size:var(--text-h1); }
  .home-hero h1 em { margin-top: 0.08em; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-actions .text-link { align-self: flex-start; }
  .consultation-card { width: 100%; }
  .trust-bar { grid-template-columns: repeat(2, 1fr); padding-bottom: 2.5rem; }
  .trust-bar div { padding: 0.85rem 0.65rem; }
  .trust-bar strong { font-size:var(--text-small); }
  .trust-bar div:nth-child(2) { border-right: 1px solid var(--line); }
  .trust-bar div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .intro-section, .process-section, .industries-section { grid-template-columns: 1fr; gap: 1.8rem; }
  .two-column-copy, .services-grid, .quick-grid, .models-grid, .about-inner, .faq-inner, .situation-grid, .result-grid, .scope-list, .related-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
  .quick-grid > a { min-height: 0; }
  .quick-grid strong { margin-top: 1rem; }
  .process-content { gap: 2.5rem; }
  .models-grid article { min-height: 0; }
  .about-inner { gap: 2.8rem; }
  .portrait-card { width: min(78%, 17rem); }
  .faq-inner { gap: 2.5rem; }
  .footer-main, .footer-bottom { align-items: flex-start; flex-direction: column; }
  .footer-bottom nav { flex-direction: column; }
  .subpage-hero h1 { font-size:var(--text-h1); }
  .breadcrumbs { margin-bottom: 1.4rem; }
  .scope-list li:nth-child(odd) { margin-right: 0; }
  .page-cta { padding: 2rem 1.4rem; }
  .legal-data div { grid-template-columns: 1fr; gap: 0.2rem; }
  .legal-page .site-header .brand-copy { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* Compact proportions: readable copy, restrained headings and content-led cards. */
.consultation-price { flex-wrap: wrap; }
.subpage-content, .intro-copy, .process-intro, .about-copy, .industries-content, .home-hero-copy { min-width: 0; }
.footer-contact a { overflow-wrap: anywhere; }

/* Poradnik: preparation guide and existing service resources. */
.main-nav > a:not(.button)[aria-current="page"] { color: var(--green); text-decoration: underline; text-underline-offset: 0.35em; }
.guide-grid .service-card { min-height: 0; }
.guide-note { max-width: 48rem; margin: 2rem 0 0; color: var(--muted); font-size:var(--text-small); }
.guide-contact { padding-top: 0; }

/* Poradnik: published articles */
.article-list { padding-bottom: 0; }
.article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.article-card { min-width: 0; }
.article-card h3 a { text-decoration: none; }
.article-card h3 a:hover { text-decoration: underline; text-underline-offset: .18em; }
.article-hero .subpage-hero-inner { padding-top: clamp(2rem, 4vw, 3rem); padding-bottom: clamp(2rem, 4vw, 3rem); }
.article-hero h1 { max-width: 65rem; font-size:var(--text-h1); line-height: 1.35; letter-spacing: 0; }
.article-hero .breadcrumbs { flex-wrap: wrap; margin-bottom: 2rem; }
.article-byline { margin: 1.75rem 0 .4rem; color: #e0ebe5; font-size:var(--text-small); }
.article-byline a { text-underline-offset: .2em; }
.article-meta { margin: 0; color: #b7ccc1; font-size:var(--text-small); }
.article-layout { display: grid; grid-template-columns: minmax(12rem, .8fr) minmax(0, 2.5fr); gap: clamp(1.5rem, 4vw, 3rem); width: min(100%, var(--max)); margin: 0 auto; padding: var(--section-space) 1.25rem; align-items: start; }
.article-toc { position: sticky; top: 6.5rem; max-height: calc(100svh - 8rem); overflow-y: auto; padding: 1.2rem; background: var(--green-pale); }
.article-toc summary { color: var(--green); font-size:var(--text-small); font-weight: 700; cursor: pointer; }
.article-toc ul { list-style: none; padding: 0; margin: .75rem 0 0; }
.article-toc a { display: block; padding: .45rem 0; font-size:var(--text-small); line-height: 1.5; text-decoration: none; }
.article-toc a:hover { text-decoration: underline; }
.article-body { min-width: 0; max-width: 780px; font-size:var(--text-body); line-height: 1.75; color: #39443c; overflow-wrap: break-word; }
.article-body p { margin-bottom: 1.25rem; }
.article-body > p:first-child { font-size:var(--text-body); color: var(--ink); }
.article-body strong { color: var(--green); }
.article-section { margin-top: 2.25rem; }
.article-section h2 { color: var(--green); font-family: var(--serif); font-size:var(--text-h2); line-height: 1.4; font-weight: 400; letter-spacing: 0; scroll-margin-top: 7rem; }
.article-body a:not(.button) { text-underline-offset: .18em; }
.article-body a:focus-visible, .article-toc a:focus-visible { outline: 3px solid #68a58a; outline-offset: 3px; }
.article-citations { white-space: nowrap; font-size: .78em; }
.article-checklist { padding-left: 1.3rem; }
.article-checklist li { margin-bottom: .6rem; }
.article-sources { padding-top: 2rem; border-top: 1px solid var(--line); font-size:var(--text-small); }
.article-sources p { scroll-margin-top: 7rem; }
.article-back { margin-top: 2.5rem; font-weight: 700; font-size:var(--text-small); }
@media (max-width: 820px) {
 .article-layout { grid-template-columns: 1fr; gap: 2.5rem; }
 .article-toc { position: static; max-height: none; }
 .article-toc ul { columns: 2; column-gap: 1.4rem; }
 .article-toc li { break-inside: avoid; }
 .article-toc a { font-size:var(--text-small); }
}
@media (max-width: 580px) {
 .article-grid { grid-template-columns: 1fr; }
 .article-toc ul { columns: 1; }
 .article-hero h1 { font-size:var(--text-h1); }
 .article-body { font-size:var(--text-body); }
}

/* Green claims article: tables and statutory quotation */
.article-table-wrap { max-width: 100%; overflow-x: auto; margin: 1.8rem 0; }
.article-table { width: 100%; border-collapse: collapse; font-size:var(--text-small); line-height: 1.6; }
.article-table caption { text-align: left; color: var(--green); font-weight: 700; margin-bottom: .65rem; }
.article-table th, .article-table td { padding: .85rem; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.article-table thead th { background: var(--green-pale); color: var(--green); }
.article-table tbody th { width: 28%; color: var(--green); font-weight: 600; }
.article-table-wrap:focus-visible { outline: 3px solid #68a58a; outline-offset: 3px; }
.article-greenclaims blockquote { margin: 1.5rem 0; padding: 1rem 1.25rem; border-left: 3px solid var(--green); background: var(--green-pale); }
@media (max-width: 600px) { .article-table th, .article-table td { padding: .65rem; } .article-table { font-size:var(--text-small); } }

/* Identity and contact information, consistent with the public offer. */
.office-contact { display:grid; grid-template-columns:1.3fr 1fr; gap:clamp(1.5rem,4vw,3rem); border-top:1px solid var(--line); }
.office-contact h2 { font-family:var(--serif); font-size:var(--text-h2); line-height:1.3; font-weight:400; color:var(--green); }
.office-contact .office-location { margin:1.5rem 0; line-height:1.7; }
.office-contact p { line-height:1.7; }
.office-contact a { overflow-wrap:anywhere; text-underline-offset:.2em; }
.footer-location { display:block; font-size:var(--text-small); color:var(--muted); max-width:32rem; margin:.5rem 0; line-height:1.5; }
.footer-contact-link { font-size:var(--text-small); text-underline-offset:.2em; }
.service-guide-link { margin:2rem 0; line-height:1.7; }
@media(max-width:700px) { .office-contact { grid-template-columns:1fr; } }

/* Direct contact and a secondary consultation offer */
#contact-form label{display:block;font-weight:600;margin:1rem 0 .4rem}#contact-form input,#contact-form textarea{display:block;width:100%;padding:.8rem;border:1px solid #7d8c80;border-radius:4px;background:white;color:#1d3026;font:inherit;box-sizing:border-box}#contact-form input:focus-visible,#contact-form textarea:focus-visible{outline:3px solid #68a58a;outline-offset:2px}.contact-trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.consultation-secondary .consultation-card{max-width:42rem;margin:auto}#contact-status{margin-top:1rem}#contact-form button:disabled{opacity:.6}#kontakt,#stala-obsluga{scroll-margin-top:6rem}@media(min-width:1000px){.main-nav{gap:.85rem}}

.header-phone{white-space:nowrap;color:var(--green);font-weight:600;text-decoration:none;margin-left:auto;margin-right:1rem;font-size:var(--text-small)}@media(max-width:400px){.header-phone{font-size:var(--text-small);margin-right:.6rem}.brand-name{font-size:.95rem}}

#newsletter-form>label{display:block;margin:1rem 0 .5rem}#newsletter-email{width:100%;padding:.8rem;border:1px solid #7d8c80;border-radius:4px;font:inherit;box-sizing:border-box}#newsletter-form .newsletter-consent{display:flex;gap:.7rem;align-items:flex-start;font-size:var(--text-small)}#newsletter-form .newsletter-consent input{flex:0 0 auto;width:1.15rem;height:1.15rem;margin-top:.2rem}#newsletter-status{margin-top:1rem}#newsletter-form :focus-visible{outline:3px solid #68a58a;outline-offset:3px}

.main-nav > a.button-primary[aria-current="page"],.main-nav > a.button-primary[aria-current="page"]:hover,.main-nav > a.button-primary[aria-current="page"]:focus{color:#fff;text-decoration:none}

/* Direct contact links shared by the home and contact pages. */
.contact-direct{display:flex;flex-direction:column;align-items:flex-start;gap:1rem;margin:1.75rem 0 1.5rem;min-width:0}
.contact-direct a{display:block;max-width:100%;overflow-wrap:anywhere;line-height:1.6;text-underline-offset:.2em}
.contact-direct a[href^="tel:"]{font-size:1.25rem;font-weight:600;color:var(--green)}
@media(max-width:600px){.contact-direct a{font-size:var(--text-small)}.contact-direct a[href^="tel:"]{font-size:var(--text-lead)}}

/* Shared official identity block, both in the page and above the footer. */
.professional-affiliation,
.adwokatura-footer-inner {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0;
  padding-block: 1rem;
}
.professional-affiliation > p,
.adwokatura-footer-inner > p {
  justify-items: center;
  text-align: center;
  max-width: 100%;
  padding: 0 1.25rem .75rem;
  font-family: var(--sans);
  font-size: var(--text-small);
  line-height: 1.5;
}
.professional-affiliation .adwokatura-mark,
.adwokatura-footer-inner .adwokatura-mark { margin-inline: auto; }
