/* Kamiński-Adwokaci – wspólne style wszystkich podstron */

/* Czcionki hostowane lokalnie (szybciej i bez przesyłania danych do Google) */
@font-face { font-family: 'Caladea'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/caladea-400-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Caladea'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/caladea-400-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; }
@font-face { font-family: 'Caladea'; font-style: italic; font-weight: 400; font-display: swap; src: url(../fonts/caladea-400italic-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Caladea'; font-style: italic; font-weight: 400; font-display: swap; src: url(../fonts/caladea-400italic-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; }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 300 400; font-display: swap; src: url(../fonts/source-sans-3-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 300 400; font-display: swap; src: url(../fonts/source-sans-3-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 {
  --black: #111;
  --mark: var(--grey);
  --text: #2a2a2a;
  --grey: #6b6b6b;
  --light: #707070;
  --rule: #6b6b6b;
  --hair: #e2e2e2;
  --tint: #f6f6f5;
  --serif: "Caladea", "Cambria", Georgia, serif;
  --sans: "Source Sans 3", "Myriad Pro", "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--text); font: 300 18px/1.7 var(--sans); -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: rgba(0,0,0,.06); }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); color: var(--black); font-weight: 400; margin: 0; line-height: 1.18; }
p { margin: 0 0 1em; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--black); color: #fff; padding: 10px 16px; text-decoration: none; font-size: 15px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--black); outline-offset: 3px; }
.tag { font-size: 12px; font-weight: 400; letter-spacing: .32em; text-transform: uppercase; color: var(--grey); margin-bottom: 20px; }

/* Miejsca do uzupełnienia – podświetlone, żeby nie trafiły na serwer przez przeoczenie.
   Po uzupełnieniu treści usuń klasę "todo" z danego elementu. */
.todo { background: #fff1a6; box-shadow: 0 0 0 3px #fff1a6; }

/* ---------- Nagłówek: logo + cienka linia, jak na papierze firmowym ---------- */
header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.96); backdrop-filter: blur(6px); }
.bar { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.logo img { height: 56px; width: auto; display: block; }
#nav { display: flex; align-items: center; gap: 28px; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; font-weight: 400; }
#nav a { text-decoration: none; color: var(--grey); transition: color .2s; }
#nav a:hover { color: var(--black); }
#nav .lang { color: var(--black); letter-spacing: .12em; padding-left: 22px; border-left: 1px solid var(--hair); }
#nav .phone { color: var(--black); letter-spacing: .08em; border: 1px solid var(--black); padding: 9px 16px; }
#nav .phone:hover { background: var(--black); color: #fff; }
.rule { height: 1px; background: var(--rule); }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--black); }

/* ---------- Hero z konturem znaku ---------- */
.hero { position: relative; overflow: hidden; min-height: calc(100vh - 85px); min-height: calc(100svh - 85px); display: flex; align-items: center;
  background: radial-gradient(ellipse 55% 70% at 78% 48%, var(--tint) 0%, #fff 70%); }
.hero .outline { position: absolute; right: 7%; top: 50%; transform: translateY(-50%); height: 84%; width: auto; }
.hero .outline path { fill: var(--mark); }
/* Gdy znak zaczyna nachodzić na tekst, rozjaśniamy go, żeby nie utrudniał czytania */
@media (max-width: 1240px) { .hero .outline { opacity: .1; } }
.hero > .wrap { width: 100%; }
.hero .inner { position: relative; max-width: 700px; padding: 100px 0 120px; }
.hero h1 { font-size: clamp(40px, 5.4vw, 70px); }
.hero h1 em { font-style: italic; color: var(--grey); }
.hero p { font-size: 19px; margin: 30px 0 44px; max-width: 56ch; }
/* Motto kancelarii pod głównym nagłówkiem */
.hero .motto-hero { font: italic 400 clamp(22px, 2.3vw, 30px)/1.3 var(--serif); color: var(--text); margin: 20px 0 0; padding-left: 20px; border-left: 1px solid var(--mark); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 32px; }
.btn { display: inline-flex; align-items: center; gap: 14px; padding: 16px 30px; border: 1px solid var(--black); color: var(--black); background: transparent; text-decoration: none; font-size: 13px; font-weight: 400; letter-spacing: .22em; text-transform: uppercase; transition: background .25s, color .25s; }
.btn:hover { background: var(--black); color: #fff; }
.btn.solid { background: var(--mark); border-color: var(--mark); color: #fff; }
.btn.solid:hover { background: #fff; color: var(--mark); }
.link { font-size: 16px; font-weight: 400; text-decoration: none; color: var(--black); border-bottom: 1px solid var(--black); padding-bottom: 1px; }
.scroll { position: absolute; left: 32px; bottom: 30px; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--light); text-decoration: none; }

/* ---------- Sekcje ---------- */
section { padding: 110px 0; border-top: 1px solid var(--hair); }
.head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 60px; }
.head h2 { font-size: clamp(32px, 4vw, 48px); }
.head p { max-width: 44ch; margin: 0; color: var(--grey); }
.subhead { font-size: clamp(26px, 3vw, 34px); margin: 90px 0 36px; }

/* Karty specjalizacji */
.areas { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.area:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (min-width: 961px) {
  .area:last-child:nth-child(odd) .more-body { display: grid; grid-template-columns: 1fr 1fr; gap: 0 44px; }
  .area:last-child:nth-child(odd) .when { margin-top: 18px; }
}
.area { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--hair); padding: 46px 42px; transition: border-color .3s, transform .3s, box-shadow .3s; }
.area::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 100% 0, var(--tint), transparent 60%); opacity: 0; transition: opacity .3s; }
@media (hover: hover) {
  .area:hover { border-color: var(--black); transform: translateY(-3px); box-shadow: 0 18px 40px rgba(0,0,0,.06); }
  .area:hover::before { opacity: 1; }
}
.area > * { position: relative; }
.area .n { display: block; font-size: 13px; letter-spacing: .3em; color: var(--light); margin-bottom: 26px; }
.area h3 { font-size: 29px; padding-bottom: 14px; margin-bottom: 16px; border-bottom: 1px solid var(--black); }
.area p { color: #444; }
.area ul { margin: 18px 0 0; padding: 0; list-style: none; font-size: 16px; }
.area li { padding: 9px 0 9px 22px; border-top: 1px solid var(--hair); position: relative; }
.area li::before { content: ""; position: absolute; left: 0; top: 21px; width: 9px; height: 1px; background: var(--black); }
.area .when { margin-top: 26px; }
.area .when b { display: block; font-size: 12px; font-weight: 400; letter-spacing: .24em; text-transform: uppercase; color: var(--grey); }
.area .when ul { margin-top: 10px; }
.area .when li { font-style: italic; color: #444; }
.area .when li::before { width: 5px; height: 5px; border-radius: 50%; top: 19px; left: 2px; background: var(--grey); }
.more > summary { display: none; }
.more > summary::-webkit-details-marker { display: none; }

/* Dla kogo */
.clients { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; }
.client { border-top: 1px solid var(--black); padding-top: 22px; }
.client h3 { font-size: 22px; margin-bottom: 10px; }
.client p { font-size: 16px; color: #444; margin: 0; }

/* Jak pracujemy + modele współpracy */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px; counter-reset: s; }
.step { border-top: 1px solid var(--black); padding-top: 26px; }
.step::before { counter-increment: s; content: "0" counter(s); display: block; font-size: 13px; letter-spacing: .3em; color: var(--light); margin-bottom: 18px; }
.step h3 { font-size: 25px; margin-bottom: 12px; }
.step p { color: #444; font-size: 17px; }
.models { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.model { border: 1px solid var(--hair); padding: 36px 32px; background: #fff; }
.model .k { display: block; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--grey); margin-bottom: 14px; }
.model h3 { font-size: 25px; margin-bottom: 12px; }
.model p { font-size: 16px; color: #444; margin: 0; }

/* O kancelarii */
.about { background: var(--tint); }
.about-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 90px; align-items: center; }
.frame { margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px; }
.frame svg { height: 340px; width: auto; color: var(--black); }
.frame figcaption { font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--grey); text-align: center; }
.frame .firm { display: block; margin-top: 10px; font: 400 30px/1.2 var(--serif); font-variant: small-caps; letter-spacing: .03em; text-transform: none; color: var(--black); }
.about h2 { font-size: clamp(30px, 3.6vw, 44px); margin-bottom: 24px; }
.list { margin-top: 34px; border-top: 1px solid var(--black); }
.list div { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid #d8d8d6; font-size: 16px; }
.list b { font-family: var(--serif); font-weight: 400; font-size: 19px; color: var(--black); }
.list span { color: var(--grey); text-align: right; }

/* Adwokat prowadzący */
.lawyer { display: grid; grid-template-columns: 300px 1fr; gap: 60px; align-items: start; margin-top: 90px; padding-top: 60px; border-top: 1px solid #d8d8d6; }
.photo { aspect-ratio: 4 / 5; background: #e9e9e7; display: grid; place-items: center; color: #444; font-size: 14px; letter-spacing: .1em; text-align: center; padding: 20px; }
.photo.mark svg { width: 46%; height: auto; color: var(--black, #0b0b0b); display: block; }
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lawyer h3 { font-size: clamp(28px, 3vw, 36px); margin-bottom: 6px; }
.lawyer .role { font-size: 13px; letter-spacing: .24em; text-transform: uppercase; color: var(--grey); margin-bottom: 24px; }
.lawyer ul { margin: 22px 0 0; padding: 0; list-style: none; border-top: 1px solid #d8d8d6; }
.lawyer li { padding: 12px 0; border-bottom: 1px solid #d8d8d6; font-size: 16px; }

/* FAQ */
.faq { max-width: 860px; border-top: 1px solid var(--black); }
.faq details { border-bottom: 1px solid var(--hair); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font: 400 22px/1.3 var(--serif); color: var(--black); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 300 26px/1 var(--sans); flex: none; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 24px; max-width: 70ch; color: #444; }

/* Kontakt */
.contact { text-align: center; background: radial-gradient(ellipse 50% 80% at 50% 100%, var(--tint), #fff 70%); }
.contact h2 { font-size: clamp(32px, 4vw, 50px); max-width: 20ch; margin: 0 auto 18px; }
.contact .lead { color: var(--grey); max-width: 56ch; margin: 0 auto; }
.contact .big { display: inline-block; font: 400 clamp(36px, 5.4vw, 64px)/1.2 var(--serif); color: var(--black); text-decoration: none; margin: 26px 0 50px; border-bottom: 1px solid var(--black); }
.info { display: flex; justify-content: center; flex-wrap: wrap; gap: 24px 64px; font-size: 17px; margin-bottom: 50px; }
.info a { text-decoration: none; border-bottom: 1px solid var(--hair); }
.info a:hover { border-color: var(--black); }
.info b { display: block; font-weight: 400; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--light); margin-bottom: 6px; }
.contact .buttons { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }

/* ---------- Podstrony tekstowe (polityka prywatności) ---------- */
.doc { padding: 80px 0 100px; }
.doc .wrap { max-width: 860px; }
.doc h1 { font-size: clamp(36px, 4.6vw, 54px); margin-bottom: 14px; }
.doc .updated { color: var(--grey); font-size: 15px; margin-bottom: 50px; }
.doc h2 { font-size: 26px; margin: 46px 0 14px; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin: 6px 0; }

/* ---------- Stopka: wierne odwzorowanie papieru firmowego ---------- */
footer { padding-top: 10px; }
.foot { display: grid; grid-template-columns: auto 1fr auto auto; gap: 30px 54px; align-items: center; padding-top: 34px; padding-bottom: 34px; }
.foot img.logo-f { height: 50px; width: auto; display: block; }
.foot .col { font-size: 16px; line-height: 1.45; color: #555; font-weight: 400; }
.foot .col a { text-decoration: none; white-space: nowrap; }
.foot .col a:hover { color: var(--black); }
.foot .qr { display: flex; align-items: center; gap: 18px; }
.foot .qr img { width: 62px; height: auto; display: block; }
.foot .social { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; }
.foot .social svg { width: 16px; height: 16px; fill: currentColor; }
/* Informacje o usługodawcy (art. 5 ustawy o świadczeniu usług drogą elektroniczną) */
.provider { border-top: 1px solid var(--hair); padding-top: 22px; padding-bottom: 6px; font-size: 13px; line-height: 1.6; color: var(--light); }
.provider p { margin: 0 0 8px; max-width: 120ch; }
.provider a { color: var(--grey); }
.legal { border-top: 1px solid var(--hair); padding-top: 18px; padding-bottom: 26px; font-size: 13px; color: var(--light); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.legal a { color: var(--grey); }

/* ---------- Pasek szybkiego kontaktu (tylko telefony) ---------- */
.mobile-bar { display: none; }

/* ---------- Responsywność ---------- */
@media (max-width: 1100px) {
  .menu-toggle { display: block; }
  #nav { display: none; position: absolute; top: 85px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--rule); padding: 6px 32px 22px; }
  #nav.open { display: flex; max-height: calc(100svh - 85px); overflow-y: auto; }
  #nav a { padding: 15px 0; border-bottom: 1px solid var(--hair); }
  #nav .lang { padding-left: 0; border-left: 0; }
  #nav .phone { text-align: center; margin-top: 18px; border: 1px solid var(--black); }
  .clients { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  section { padding: 80px 0; }
  .hero .outline { right: -18%; }
  .head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .areas, .about-grid, .models { grid-template-columns: 1fr; }
  .clients { grid-template-columns: 1fr 1fr; }
  .about-grid { gap: 50px; }
  .frame svg { height: 220px; }
  .lawyer { grid-template-columns: 220px 1fr; gap: 36px; }
  .foot { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .wrap { padding: 0 16px; }
  .bar { height: 72px; }
  #nav { top: 73px; padding: 6px 16px 20px; }
  .logo img { height: 44px; }
  .hero { min-height: auto; }
  .hero .inner { padding: 70px 0 100px; }
  .hero .outline { right: -42%; height: 72%; opacity: .08; }
  .scroll { display: none; }
  .area { padding: 34px 22px; }
  .steps, .clients { grid-template-columns: 1fr; gap: 30px; }
  .model { padding: 28px 22px; }
  .subhead { margin-top: 64px; }
  .list div { flex-direction: column; gap: 2px; }
  .list span { text-align: left; }
  .lawyer { grid-template-columns: 1fr; gap: 26px; margin-top: 60px; }
  .photo { max-width: 260px; }
  .faq summary { font-size: 19px; padding: 18px 0; }
  .foot { grid-template-columns: 1fr; gap: 22px; }
  html { scroll-padding-top: 84px; }
  .menu-toggle { padding: 10px; margin-right: -10px; }
  #nav a { padding: 16px 0; }
  /* Większe pola dotyku dla linków kontaktowych */
  .actions { flex-direction: column; align-items: stretch; gap: 6px; }
  .actions .btn { justify-content: center; margin-bottom: 10px; }
  .actions .link { align-self: flex-start; padding: 12px 0 5px; }
  .hero h1 { font-size: clamp(34px, 10vw, 44px); }
  .hero p { font-size: 17px; margin: 22px 0 32px; }
  section { padding: 64px 0; }
  .head { margin-bottom: 36px; }
  .area h3 { font-size: 25px; }
  /* Lista usług zwijana na telefonie */
  .more > summary { display: flex; justify-content: space-between; align-items: center; list-style: none; cursor: pointer;
    margin-top: 18px; padding: 14px 0; border-top: 1px solid var(--hair); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--black); font-weight: 400; }
  .more > summary::after { content: "+"; font-size: 22px; line-height: 1; letter-spacing: 0; }
  .more[open] > summary::after { content: "−"; }
  .more ul { margin-top: 0; }
  .frame svg { height: 170px; }
  .frame .firm { font-size: 26px; }
  .contact .big { margin: 18px 0 36px; }
  .info { flex-direction: column; gap: 18px; }
  .info a { display: inline-block; padding: 6px 0; word-break: break-word; }
  .contact .btn { width: 100%; justify-content: center; }
  .foot .qr img { display: none; }
  .foot .col a { display: inline-block; padding: 4px 0; }
  .legal { flex-direction: column; }
  .doc { padding: 50px 0 70px; }
  /* Stały pasek: Zadzwoń / Napisz */
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    background: #fff; border-top: 1px solid var(--rule); padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); gap: 8px; }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 48px; text-decoration: none;
    font-size: 13px; letter-spacing: .16em; text-transform: uppercase; font-weight: 400; border: 1px solid var(--mark); color: var(--black); }
  .mobile-bar a.call { background: var(--mark); color: #fff; }
  .mobile-bar svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }
}

/* Oś czasu w biogramie adwokata prowadzącego */
.lawyer .timeline li { display: grid; grid-template-columns: 104px 1fr; gap: 16px; align-items: baseline; }
.lawyer .timeline .yr { font-size: 13px; letter-spacing: .08em; color: var(--grey); white-space: nowrap; }
@media (max-width: 640px) {
  .lawyer .timeline li { grid-template-columns: 1fr; gap: 2px; }
}

/* ---------- Pasek kompetencji pod górną sekcją: hasła powoli przesuwają się w jednej linii ---------- */
.ticker { border-top: 1px solid var(--hair); overflow: hidden; }
.ticker-track { display: flex; flex-wrap: nowrap; width: max-content; padding: 22px 0; animation: marquee 60s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker ul { display: contents; list-style: none; }
.ticker li { font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--grey); white-space: nowrap; }
.ticker li::after { content: "·"; margin: 0 22px; color: var(--light); }
@media (max-width: 960px) { .ticker-track { padding: 18px 0; animation-duration: 45s; } }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sekcja „Branża IT i AI” (odwrócone kolory) ---------- */
.it { background: var(--black); color: #cfcfcf; position: relative; overflow: hidden; border-top: 0; }
.it .bg-mark { position: absolute; right: -40px; top: 50%; transform: translateY(-50%); height: 120%; width: auto; color: #fff; opacity: .05; pointer-events: none; }
.it .wrap { position: relative; }
.it .tag { color: #a8a8a8; }
.it h2 { color: #fff; font-size: clamp(32px, 4vw, 50px); max-width: 20ch; }
.it .lead { font-size: 19px; max-width: 62ch; color: #d6d6d6; margin: 26px 0 56px; }
.it-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.16); }
.it-item { background: var(--black); padding: 34px 28px; }
.it-item .k { display: block; font-size: 12px; letter-spacing: .3em; color: #9a9a9a; margin-bottom: 18px; }
.it-item h3 { color: #fff; font-size: 23px; margin-bottom: 12px; }
.it-item p { font-size: 16px; color: #bdbdbd; margin: 0; }
.it .btn { margin-top: 48px; border-color: #fff; color: #fff; }
.it .btn:hover { background: #fff; color: var(--black); }
.it :focus-visible { outline-color: #fff; }
@media (max-width: 1100px) { .it-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
  .it-grid { grid-template-columns: 1fr; }
  .it .lead { font-size: 17px; margin-bottom: 36px; }
  .it-item { padding: 28px 22px; }
  .it .btn { width: 100%; justify-content: center; }
}

/* ---------- Motto kancelarii ---------- */
.motto { padding: 100px 0; text-align: center; border-top: 1px solid var(--hair); }
.motto svg { height: 44px; width: auto; color: var(--mark); margin: 0 auto 28px; display: block; }
.motto p { margin: 0 auto; max-width: 24ch; text-wrap: balance; font: italic 400 clamp(30px, 4.4vw, 54px)/1.25 var(--serif); color: var(--black); }
@media (max-width: 640px) { .motto { padding: 64px 0; } }

/* ---------- Animacje (wyłączone, gdy użytkownik ograniczył ruch w systemie) ---------- */
@media (prefers-reduced-motion: no-preference) {
  /* Znak w górnej sekcji najpierw się „rysuje”, potem wypełnia kolorem */
  .hero .outline path { stroke: var(--mark); stroke-width: 1; stroke-dasharray: 1; stroke-dashoffset: 1; fill-opacity: 0;
    animation: draw-mark 1.8s ease-in-out .2s forwards, fill-mark .9s ease 1.6s forwards; }
  /* Treść łagodnie pojawia się przy przewijaniu (klasy nadaje js/main.js) */
  .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; transition-delay: var(--d, 0s); }
  .reveal.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  /* bez ruchu: hasła zawijają się i są widoczne w całości */
  .ticker-track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; row-gap: 6px; padding: 22px 16px; }
  .ticker ul[aria-hidden] { display: none; }
  .ticker ul:first-child li:last-child::after { content: none; }
}
@keyframes draw-mark { to { stroke-dashoffset: 0; } }
@keyframes fill-mark { to { fill-opacity: 1; stroke-opacity: 0; } }

/* Adres lokalu – dyskretnie, pod danymi kontaktowymi */
.contact .addr { margin: 28px 0 0; font-size: 13px; letter-spacing: .04em; opacity: .6; }
