/* =========================================================
   Kancelaria Adwokacka Anna Kaczmarczyk — arkusz stylów
   ========================================================= */

/* ---------- Fonty (hostowane lokalnie — bez Google Fonts) ---------- */
@font-face { font-family: "Source Serif"; font-weight: 500; font-display: swap;
  src: url("fonts/serif-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Source Serif"; font-weight: 500; font-display: swap;
  src: url("fonts/serif-500-ext.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, 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: "Source Serif"; font-weight: 600; font-display: swap;
  src: url("fonts/serif-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Source Serif"; font-weight: 600; font-display: swap;
  src: url("fonts/serif-600-ext.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, 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: "Inter"; font-weight: 400; font-display: swap;
  src: url("fonts/sans-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+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap;
  src: url("fonts/sans-400-ext.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, 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: "Inter"; font-weight: 500; font-display: swap;
  src: url("fonts/sans-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap;
  src: url("fonts/sans-500-ext.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, 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: "Inter"; font-weight: 600; font-display: swap;
  src: url("fonts/sans-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap;
  src: url("fonts/sans-600-ext.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- Zmienne ---------- */
:root {
  --ink: #1c211f;
  --ink-soft: #4a524e;
  --muted: #6c7470;
  --paper: #ffffff;
  --paper-2: #f5f3ee;
  --line: #e2ded5;
  --accent: #2f5d46;        /* ciemna zieleń — nawiązanie do wizytówki i starej strony */
  --accent-dark: #234836;
  --accent-tint: #e8efe9;
  --alert: #8a3b12;
  --alert-tint: #fbf1ea;

  --serif: "Source Serif", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --wrap: 1140px;
  --radius: 6px;
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.06);
}

/* ---------- Baza ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-dark); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul { margin: 0 0 1em; padding-left: 1.2em; }
li + li { margin-top: .35em; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.eyebrow {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 .9rem;
}
.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 42em; }
.muted { color: var(--muted); }
.nowrap { white-space: nowrap; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- Przyciski ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .8rem 1.35rem;
  font: 500 1rem/1.2 var(--sans);
  border-radius: var(--radius);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: #c9c4b8; }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Nagłówek ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(1.2) blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  min-height: 78px;
}
.brand img { width: 240px; height: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; }
.nav li + li { margin-top: 0; }
.nav a {
  display: block; padding: .5rem .8rem;
  font-size: .95rem; font-weight: 500;
  color: var(--ink-soft); text-decoration: none;
  border-radius: var(--radius);
}
.nav a:hover { color: var(--ink); background: var(--paper-2); }
.nav a[aria-current="page"] { color: var(--accent); }
.header-phone {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 600; font-size: .95rem; color: var(--ink); text-decoration: none; white-space: nowrap;
}
.header-phone svg { width: 1rem; height: 1rem; color: var(--accent); }
.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--line); border-radius: var(--radius);
  padding: .55rem .7rem; cursor: pointer; color: var(--ink);
}
.nav-toggle svg { width: 1.3rem; height: 1.3rem; display: block; }

@media (max-width: 960px) {
  .header-phone { display: none; }
}
@media (max-width: 820px) {
  .brand img { width: 200px; }
  .nav-toggle { display: block; }
  .nav {
    position: absolute; inset: 100% 0 auto 0;
    background: #fff; border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; padding: .5rem 1.25rem 1rem; }
  .nav a { padding: .8rem .5rem; font-size: 1.05rem; border-bottom: 1px solid var(--paper-2); border-radius: 0; }
}

/* ---------- Hero (strona główna) ---------- */
.hero {
  position: relative;
  background: #d9d9d7 url("img/temida-1600.jpg") right center / cover no-repeat;
  min-height: min(78vh, 640px);
  display: flex; align-items: center;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(245,243,238,.97) 0%, rgba(245,243,238,.9) 38%, rgba(245,243,238,0) 68%);
}
.hero .wrap { position: relative; padding-block: 4.5rem; }
.hero-text { max-width: 34rem; }
.hero h1 { margin-bottom: .4em; }
.hero .lead { margin-bottom: 2rem; }
.hero-meta {
  margin-top: 2.2rem; padding-top: 1.4rem; border-top: 1px solid rgba(0,0,0,.12);
  display: flex; flex-wrap: wrap; gap: .4rem 2rem; font-size: .95rem; color: var(--ink-soft);
}
@media (max-width: 820px) {
  .hero { background-image: none; background-color: var(--paper-2); min-height: 0; display: block; }
  .hero::before { display: none; }
  .hero .wrap { padding-block: 3rem 2rem; }
  .hero-photo { display: block !important; }
}
.hero-photo { display: none; aspect-ratio: 16/9; object-fit: cover; object-position: 70% 40%; width: 100%; }

/* ---------- Nagłówek podstrony ---------- */
.page-head {
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
  padding: 3.5rem 0 3rem;
}
.page-head h1 { margin-bottom: .3em; }
.page-head .lead { margin: 0; }

/* ---------- Sekcje ---------- */
.section { padding: 5rem 0; }
.section-alt { background: var(--paper-2); }
.section-head { max-width: 40rem; margin-bottom: 2.75rem; }
.section-head p { color: var(--ink-soft); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; }
.grid-2-wide { display: grid; grid-template-columns: 1.35fr 1fr; gap: 4rem; align-items: start; }
@media (max-width: 900px) {
  .grid-3, .grid-2, .grid-2-wide { grid-template-columns: 1fr; gap: 2rem; }
}

/* ---------- Karty usług ---------- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.75rem 1.75rem;
  display: flex; flex-direction: column;
  transition: border-color .15s, box-shadow .15s;
}
.card:hover { border-color: #cfc9bc; box-shadow: var(--shadow); }
.card-icon {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent-tint); color: var(--accent);
  margin-bottom: 1.25rem;
}
.card-icon svg { width: 22px; height: 22px; }
.card h3 { margin-bottom: .2em; }
.card .card-sub { font-size: .9rem; color: var(--muted); margin-bottom: 1rem; }
.card p { color: var(--ink-soft); font-size: 1rem; }
.card .more { margin-top: auto; font-weight: 500; font-size: .95rem; text-decoration: none; }
.card .more::after { content: " →"; }

/* ---------- Pas „pilne” (zatrzymanie) ---------- */
.urgent {
  background: var(--ink); color: #eef0ee;
  padding: 2.5rem 0;
}
.urgent .wrap { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.urgent h2 { color: #fff; font-size: 1.5rem; margin-bottom: .35em; }
.urgent p { margin: 0; color: #c5cbc7; max-width: 44rem; }
.urgent .btn-primary { background: #fff; color: var(--ink); font-weight: 600; }
.urgent .btn-primary:hover { background: #e7e5df; color: var(--ink); }

/* ---------- Statystyki / fakty ---------- */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 2rem; }
.fact { background: #fff; padding: 1.25rem 1.25rem 1.1rem; }
.fact strong { display: block; font-family: var(--serif); font-size: 1.9rem; font-weight: 600; line-height: 1.1; color: var(--accent); }
.fact span { font-size: .9rem; color: var(--ink-soft); }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; } }

/* ---------- Oś czasu (O mnie) ---------- */
.timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 1.75rem 1.75rem; margin: 0; }
.timeline li::before {
  content: ""; position: absolute; left: -7px; top: .45em;
  width: 12px; height: 12px; border-radius: 50%;
  background: #fff; border: 2px solid var(--accent);
}
.timeline .year { display: block; font-weight: 600; font-size: .9rem; letter-spacing: .04em; color: var(--accent); margin-bottom: .15rem; }
.timeline p { margin: 0; color: var(--ink-soft); }

.photo-frame img { border-radius: var(--radius); width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: 62% 50%; }
.photo-frame figcaption { font-size: .85rem; color: var(--muted); margin-top: .6rem; }

/* ---------- Usługi (lista szczegółowa) ---------- */
.service-block { padding: 2.25rem 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 16rem 1fr; gap: 2.5rem; }
.service-block:first-child { border-top: 0; padding-top: 0; }
.service-block h2 { font-size: 1.45rem; }
.service-block dl { margin: 0; }
.service-block dt { font-weight: 600; margin-top: 1.1rem; }
.service-block dt:first-child { margin-top: 0; }
.service-block dd { margin: .2rem 0 0; color: var(--ink-soft); }
.tags { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0; }
.tags li { margin: 0; padding: .35rem .8rem; background: var(--accent-tint); color: var(--accent-dark); border-radius: 999px; font-size: .92rem; font-weight: 500; }
@media (max-width: 820px) { .service-block { grid-template-columns: 1fr; gap: .75rem; } }

.note {
  background: var(--paper-2); border-left: 3px solid var(--accent);
  padding: 1.25rem 1.5rem; border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--ink-soft);
}
.note p:last-child { margin-bottom: 0; }

/* ---------- Kontakt ---------- */
.contact-list { list-style: none; padding: 0; margin: 0 0 2rem; }
.contact-list li { display: grid; grid-template-columns: 2.25rem 1fr; gap: .25rem; margin: 0; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.contact-list li:first-child { padding-top: 0; }
.contact-list svg { width: 1.2rem; height: 1.2rem; color: var(--accent); margin-top: .25rem; }
.contact-list .label { display: block; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.contact-list a { color: var(--ink); font-weight: 500; text-decoration: none; }
.contact-list a:hover { color: var(--accent); text-decoration: underline; }

/* ---------- Formularz ---------- */
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; }
.form h2 { font-size: 1.5rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: .92rem; font-weight: 500; margin-bottom: .35rem; }
.field label .req { color: var(--alert); }
.field input, .field textarea {
  width: 100%;
  font: inherit; font-size: 1rem;
  padding: .7rem .85rem;
  border: 1px solid #cfcac0; border-radius: var(--radius);
  background: #fff; color: var(--ink);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }
.field textarea { min-height: 9rem; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } .form { padding: 1.5rem; } }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-legal { font-size: .82rem; line-height: 1.55; color: var(--muted); margin: 1.1rem 0 0; }
.form-status { margin-top: 1rem; padding: .8rem 1rem; border-radius: var(--radius); font-size: .95rem; display: none; }
.form-status.ok { display: block; background: var(--accent-tint); color: var(--accent-dark); }
.form-status.err { display: block; background: var(--alert-tint); color: var(--alert); }
.form button[disabled] { opacity: .6; cursor: wait; }

/* ---------- Mapy statyczne (obraz z OpenStreetMap + znaczniki w HTML) ---------- */
.smap {
  position: relative; display: block; overflow: hidden;
  border-radius: var(--radius); border: 1px solid var(--line);
  background: #e9e7e1; color: var(--ink); text-decoration: none;
}
.smap img { width: 100%; height: auto; }
/* mapa kancelarii: obraz 2:1 wyśrodkowany i przycinany jak „cover”;
   podpisy w % liczone względem obrazu (.smap-stage), więc zostają na miejscu przy każdej szerokości */
.smap-office { --mh: 420px; height: var(--mh); }
.smap-office.tall { --mh: 520px; }
.smap-stage {
  position: absolute; left: 50%; top: 50%;
  width: max(100%, calc(var(--mh) * 2)); aspect-ratio: 2 / 1;
  transform: translate(-50%, -50%);
}
.smap-stage img { width: 100%; height: 100%; }
.smap-tag {
  position: absolute; transform: translate(-50%, -50%);
  background: #fff; color: var(--ink); white-space: nowrap;
  font-size: .78rem; font-weight: 600; line-height: 1.2;
  padding: .25rem .5rem; border-radius: 4px;
  box-shadow: 0 1px 4px rgba(0,0,0,.25);
}
.smap-tag.office {
  transform: translate(26px, -150%);
  background: var(--accent); color: #fff; font-size: .9rem; padding: .35rem .65rem;
}
.smap-tag.office small { display: block; font-weight: 500; font-size: .75rem; opacity: .9; }
.smap-pin {
  position: absolute; width: 34px; height: 46px;
  transform: translate(-50%, -100%);
  filter: drop-shadow(0 2px 3px rgba(0,0,0,.35));
}
.smap-pin svg { width: 100%; height: 100%; display: block; }
.smap-card {
  position: absolute; left: 1rem; top: 1rem;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: .8rem 1rem; font-size: .92rem; line-height: 1.45; max-width: calc(100% - 2rem);
}
.smap-card strong { font-family: var(--serif); font-size: 1rem; display: block; }
.smap-card .go { color: var(--accent); font-weight: 600; }
.smap:hover .smap-card .go { text-decoration: underline; }
.smap-attr {
  position: absolute; right: 0; bottom: 0;
  background: rgba(255,255,255,.85); font-size: .7rem; padding: .1rem .4rem; color: #555;
}

/* mapa rejonu: proporcje obrazu zachowane, znaczniki w % */
.smap-dot {
  position: absolute; transform: translate(-50%, -50%);
  width: 12px; height: 12px; border-radius: 50%;
  border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.25);
}
.smap-dot.main { width: 18px; height: 18px; }
.smap-dot span {
  position: absolute; left: 50%; bottom: calc(100% + 4px); transform: translateX(-50%);
  white-space: nowrap; font-size: .72rem; font-weight: 500; line-height: 1.2;
  background: rgba(255,255,255,.9); padding: .1rem .35rem; border-radius: 3px; color: var(--ink);
}
.smap-dot.main span { font-size: .85rem; font-weight: 600; padding: .15rem .45rem; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.smap-dot.below span { bottom: auto; top: calc(100% + 4px); }
/* wyraźny podpis miejscowości kancelarii obok pinezki (mapa rejonu) */
.smap-place {
  position: absolute; transform: translate(22px, -135%);
  background: var(--ink); color: #fff; white-space: nowrap;
  font-size: .95rem; font-weight: 600; line-height: 1.2;
  padding: .3rem .6rem; border-radius: 4px; box-shadow: 0 1px 4px rgba(0,0,0,.3);
}
.smap-place small { display: block; font-size: .72rem; font-weight: 500; opacity: .8; }
.g-wroclaw { background: #2f5d46; }
.g-legnica { background: #b0702a; }
.g-swidnica { background: #3b5f8a; }
@media (max-width: 560px) {
  .smap-dot:not(.main) span { display: none; }
  .smap-office, .smap-office.tall { --mh: 360px; }
  .smap-card { display: none; } /* adres i „Wyznacz trasę” są tuż nad mapą */
  .smap-tag.office { transform: translate(-50%, calc(-100% - 52px)); text-align: center; }
}

.map-caption { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1rem; font-size: .95rem; color: var(--ink-soft); }

.legend { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font-size: .92rem; }
.legend li { margin: 0; display: flex; align-items: center; gap: .5rem; }
.legend i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.25); }

/* ---------- Rejon ---------- */
.region-list { display: grid; gap: 1rem; }
.region {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.4rem; background: #fff;
  border-left-width: 4px;
}
.region h3 { font-size: 1.15rem; margin-bottom: .3em; }
.region p { margin: 0; color: var(--ink-soft); font-size: 1rem; }

/* ---------- Stopka ---------- */
.site-footer { background: #151917; color: #b8bfbb; padding: 4rem 0 0; font-size: .95rem; }
.site-footer a { color: #e8ece9; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; }
.footer-grid h2 { font-size: 1.15rem; color: #fff; margin-bottom: .9rem; }
.footer-grid p { margin: 0 0 .5rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li + li { margin-top: .4rem; }
.footer-bottom { border-top: 1px solid #2a302d; padding: 1.25rem 0; font-size: .85rem; color: #8a928e; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- 404 ---------- */
.notfound { padding: 7rem 0; text-align: center; }
.notfound .lead { margin-inline: auto; }
.notfound .btn-row { justify-content: center; margin-top: 2rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
