/* Kancelaria Anna Fus – wygląd „Prestiż”: ciemny, Cormorant Garamond + Manrope, bordo jako światło. */
:root {
  --bg: #121011; --bg-alt: #1a1617; --ink: #efe8df; --muted: #a99e95; --line: rgba(239, 232, 223, .14);
  --brand: #8e2129; --brand-2: #a8262f; --on-brand: #fff; --accent: #d26a70; --surface: #1c1819;
  --f-head: "Cormorant Garamond", Georgia, serif; --f-body: "Manrope", system-ui, sans-serif;
  --w-head: 600; --lh-head: 1.04; --track-head: -0.005em;
  --h1: clamp(3rem, 6.6vw, 6rem); --h2: clamp(2.2rem, 4vw, 3.4rem); --h3: 1.45rem;
  --r: 0; --r-btn: 0; --r-img: 0; --logo-godlo: #c2454e;
  --cien: 0 24px 48px rgba(0, 0, 0, .35);
}
body { font-size: 1rem; line-height: 1.7; }
.sek--jasna, .wpis__uklad-tlo { --bg: #f2ece4; --bg-alt: #e9e1d6; --ink: #1b1516; --muted: #5e5556; --line: #dcd2c6; --surface: #fbf8f4; --accent: #7a1e25; --t: #fbf8f4;
  background: var(--bg); color: var(--ink); }
.btn { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; min-height: 52px; padding-inline: 30px; }
.btn--drugi { color: var(--ink); border-color: color-mix(in srgb, var(--ink) 45%, transparent); }
.btn--cichy { letter-spacing: .06em; font-size: .95rem; text-transform: none; }
.eyebrow { color: var(--accent); letter-spacing: .3em; font-size: .72rem; }
.eyebrow::before { content: ""; display: inline-block; width: 36px; height: 1px; background: currentColor; vertical-align: middle; margin-right: 14px; }
h2 em, h1 em { font-style: italic; font-weight: 500; color: var(--accent); }

/* nagłówek */
.naglowek { background: rgba(18, 16, 17, .86); backdrop-filter: blur(10px); border-bottom-color: var(--line); }
.naglowek__in { min-height: 92px; }
.naglowek__logo { color: var(--ink); }
.nav__lista > li > a, .nav__mega { text-transform: uppercase; letter-spacing: .14em; font-size: .76rem; font-weight: 600; }
.mega { background: #171314; }
.nav__akcje .btn--cichy { font-family: var(--f-head); font-size: 1.35rem; letter-spacing: 0; font-weight: 600; }

/* hero strony głównej */
.dom .hero { position: relative; min-height: min(100svh - 92px, 900px); display: flex; align-items: center; padding: 0; overflow: hidden; }
.hero__tlo { position: absolute; inset: 0 0 0 auto; width: 52%; }
.hero__tlo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #121011 0%, rgba(18, 16, 17, .55) 28%, rgba(18, 16, 17, 0) 60%), linear-gradient(0deg, #121011 0%, rgba(18, 16, 17, 0) 22%); }
.hero__tlo .hero__img { height: 100%; object-fit: cover; object-position: 50% 18%; filter: grayscale(.15) contrast(1.05); }
.dom .hero__in { display: block; position: relative; padding-block: 96px; }
.dom .hero h1 { max-width: 11ch; margin-bottom: .35em; }
.dom .hero h1 span { display: block; font-family: var(--f-body); font-size: .8rem; letter-spacing: .4em; text-transform: uppercase; font-weight: 600; color: var(--muted); margin-top: 26px; }
.dom .hero__lead { max-width: 46ch; color: #cfc5bb; }
.hero__pas { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; max-width: 640px; }
.hero__pas li { display: inline-flex; align-items: center; gap: 10px; }

/* indeks usług */
.indeks__siatka { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(32px, 5vw, 72px); }
.indeks__grupa h3 { font-family: var(--f-body); font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 8px; }
.indeks { list-style: none; border-top: 1px solid var(--line); }
.indeks__grupa--prywatne .indeks { columns: 2; column-gap: 40px; }
.indeks__grupa--firmy .indeks__opis { display: block; }
.indeks__grupa--firmy .indeks__tyt { font-size: 1.6rem; }
.indeks li { break-inside: avoid; border-bottom: 1px solid var(--line); }
.indeks__w { display: grid; grid-template-columns: 44px 1fr 40px; align-items: center; gap: 4px 12px; padding: 18px 4px; text-decoration: none; transition: background-color .25s, padding .25s var(--ease); }
.indeks__nr { font-size: .75rem; color: var(--accent); letter-spacing: .08em; font-weight: 600; }
.indeks__tyt { font-family: var(--f-head); font-size: 1.42rem; font-weight: 600; line-height: 1.15; }
.indeks__opis { grid-column: 2; font-size: .85rem; color: var(--muted); line-height: 1.5; display: none; }
.indeks__ik { grid-row: 1; grid-column: 3; width: 36px; height: 36px; stroke-width: 6; color: var(--ink); --a: var(--accent); --t: #121011; opacity: 0; transform: translateX(-6px); transition: opacity .25s, transform .25s var(--ease); }
.indeks__w:hover { background: rgba(255, 255, 255, .03); padding-left: 12px; }
.indeks__w:hover .indeks__ik { opacity: 1; transform: none; }
.indeks__w:hover .indeks__tyt { color: #fff; }

/* pas zdjęcia */
.pas-foto { position: relative; min-height: 560px; display: flex; align-items: center; overflow: hidden; }
.pas-foto__img { position: absolute; inset: 0; }
.pas-foto__zdj { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1) brightness(.55); }
.pas-foto__in { position: relative; }
.pas-foto h2 { font-size: clamp(3rem, 7vw, 6.4rem); max-width: 12ch; font-style: italic; font-weight: 500; }
.pas-foto p { max-width: 52ch; color: #ddd3c9; font-size: 1.1rem; }

/* sekcje */
.sek--alt { background: var(--bg-alt); }
.kus { background: transparent; border-color: var(--line); }
.sek--jasna .kus { background: var(--surface); }
.kus__ik { color: var(--ink); --a: var(--accent); --t: var(--bg); }
.kus__tyt { font-size: 1.5rem; }
.krok { border-top-color: var(--line); }
.krok__nr { font-size: 3.2rem; font-style: italic; font-weight: 500; }
.krok h3 { font-size: 1.5rem; }
.opinia { background: transparent; border: 0; border-top: 1px solid var(--line); padding: 28px 0 0; }
.opinia blockquote p { font-family: var(--f-head); font-size: 1.45rem; line-height: 1.35; font-style: italic; }
.koszt { background: transparent; }
.koszt__ile { font-size: clamp(2rem, 3.4vw, 3rem); font-weight: 600; }
.casus__okno { background: #1d191a; }
.casus__pasek { background: #241f20; }
.sek--jasna .casus__okno { background: #fff; }
.sek--jasna .casus__pasek { background: var(--bg-alt); }
.omnie { grid-template-columns: 1.15fr .85fr; }
.omnie__img { aspect-ratio: 4 / 5; object-fit: cover; object-position: top; filter: grayscale(1) contrast(1.05); }
.omnie__img--kolor { filter: none; object-position: 50% 12%; box-shadow: 0 30px 60px rgba(27, 21, 22, .18); }

/* obsługa firm – druga sekcja strony głównej */
.firmy { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.firmy__glowa { position: sticky; top: 120px; }
.firmy__glowa > p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; max-width: 46ch; }
.firmy__linki { list-style: none; margin-top: 36px; border-top: 1px solid var(--line); }
.firmy__linki a { display: grid; grid-template-columns: 36px 1fr 20px; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-family: var(--f-head); font-size: 1.35rem; font-weight: 600; transition: padding .25s var(--ease), color .2s; }
.firmy__linki a:hover { padding-left: 8px; color: var(--accent); }
.firmy__ik { width: 36px; height: 36px; stroke-width: 6; --a: var(--accent); --t: var(--bg); }
.firmy__zakres { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; counter-reset: z; }
.firmy__zakres li { padding: 28px 0; border-top: 1px solid var(--line); counter-increment: z; }
.firmy__zakres li::before { content: counter(z, decimal-leading-zero); display: block; font-family: var(--f-head); font-style: italic; font-size: 1.6rem; color: var(--accent); line-height: 1; margin-bottom: 14px; }
.firmy__zakres h3 { font-size: 1.55rem; margin-bottom: .35em; }
.firmy__zakres p { color: var(--muted); margin: 0; font-size: .97rem; }
.fakty b { font-size: 1.7rem; }
.pole input, .pole select, .pole textarea { background: transparent; border-color: color-mix(in srgb, var(--ink) 28%, transparent); }
.pole select option { background: #1c1819; }
.formularz { background: transparent; }
.formularz__tyt { font-size: 2rem; }
.kwp__tyt { font-size: 1.5rem; line-height: 1.2; }
.chip { background: transparent; border-color: var(--line); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.mapa { background: var(--bg-alt); }
.faq__p summary { font-family: var(--f-head); font-size: 1.4rem; font-weight: 600; }
.proza h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.proza h3 { font-size: 1.5rem; }

/* podstrony */
.hero--podstrona { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero--podstrona h1 { font-size: clamp(2.6rem, 5vw, 4.4rem); max-width: 16ch; }
.hero--podstrona .hero__ik { width: min(420px, 90%); stroke-width: 1.4; color: color-mix(in srgb, var(--ink) 70%, transparent); --a: var(--accent); --t: var(--bg); }
.hero__foto--mala .hero__img { aspect-ratio: 4 / 5; object-fit: cover; object-position: top; filter: grayscale(1); }
.kto__img { aspect-ratio: 1; object-fit: cover; object-position: top; filter: grayscale(1); }
.wazne { background: transparent; }
.zakres li { background: transparent; }
.ramka-dok { background: transparent; }
.sek--alt.sek--artykul, .sek--zakres { background: var(--bg-alt); }

/* wpis: czytanie na jasnym tle */
.wpis__glowa h1 { font-size: clamp(2.3rem, 4vw, 3.6rem); }
.wpis__uklad { --bg: #f2ece4; --ink: #1b1516; --muted: #5e5556; --line: #dcd2c6; --accent: #7a1e25; --surface: #fbf8f4; --bg-alt: #e9e1d6; --t: #e9e1d6;
  background: var(--bg); color: var(--ink); max-width: none; padding-inline: max(var(--pad), calc((100% - var(--wrap)) / 2)); }
.autor img { filter: grayscale(1); }
.stopka { background: #0d0b0c; }
.pasek-mobilny { background: #1a1617; }

@media (max-width: 960px) {
  .naglowek { backdrop-filter: none; -webkit-backdrop-filter: none; background: #121011; } /* filtr tworzy blok zawierający dla menu fixed */
  .omnie { grid-template-columns: 1fr; }
  .omnie__foto { max-width: 420px; }
  .dom .hero { min-height: auto; flex-direction: column; align-items: stretch; }
  .hero__tlo { position: relative; width: 100%; height: 62vh; }
  .hero__tlo::after { background: linear-gradient(0deg, #121011 0%, rgba(18, 16, 17, 0) 40%); }
  .dom .hero__in { padding-block: 0 64px; margin-top: -80px; }
  .indeks__siatka, .firmy { grid-template-columns: 1fr; }
  .firmy__glowa { position: static; }
  .firmy__zakres { grid-template-columns: 1fr; }
  .indeks__grupa--prywatne .indeks { columns: 1; }
  .indeks__opis { display: block; }
  .indeks__ik { opacity: 1; transform: none; }
  .nav { background: #121011; }
  .pas-foto { min-height: 440px; }
}
.omnie--bez-foto { grid-template-columns: 1fr; }
.omnie--bez-foto .omnie__tekst { max-width: 760px; }
.hero__foto--mala .hero__img[src*="anna-ciemne"] { filter: none; object-position: 50% 8%; }
