/* =========================================================
   BARCZAK ROZPARA - Kancelaria Radców Prawnych
   v2.0 - pełna przebudowa po audycie
   ========================================================= */

:root {
  /* === Paleta - kontrasty AA/AAA === */
  --bg:       #FAF8F4;   /* kremowa biel */
  --bg-2:     #F2EDE3;   /* cieplejszy beż - sekcje */
  --bg-3:     #E8E1D0;   /* mocniejszy beż */
  --ink:      #15171C;   /* prawie czarny - tekst główny (kontrast >15:1) */
  --ink-2:    #2A2D34;   /* grafit ciemny */
  --ink-3:    #4A4E58;   /* średni - kontrast 8.5:1 (AAA dla normal text) */
  --ink-4:    #6E727B;   /* jasny - tylko hint/placeholder */
  --line:     #D6CCB8;   /* linie */
  --line-2:   #EBE3D2;   /* subtelne linie */
  --gold:     #876132;   /* akcent - ciemniejsze złoto, kontrast 5.2:1 na bg */
  --gold-2:   #A47A45;   /* złoto na ciemnym */
  --star:     #F5B829;
  --white:    #FFFFFF;
  --shadow-sm: 0 1px 2px rgba(21,23,28,.04), 0 4px 14px rgba(21,23,28,.04);
  --shadow:    0 10px 40px -12px rgba(21,23,28,.18);
  --shadow-lg: 0 24px 70px -24px rgba(21,23,28,.30);

  /* === Typografia === */
  --f-display: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --f-sans:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* === Layout === */
  --container:  1280px;
  --container-pad: 28px;
  --radius:     6px;
  --radius-lg:  20px;
  --t: 0.45s cubic-bezier(.2,.7,.2,1);
  --t-slow: 0.8s cubic-bezier(.2,.7,.2,1);
}

/* ----- reset / base ----- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--t); }
button { font: inherit; cursor: pointer; border: 0; background: none; }
address { font-style: normal; }
ul { padding: 0; margin: 0; list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* a11y skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--ink);
  color: var(--bg);
  padding: 12px 18px;
  z-index: 1000;
  border-radius: 0 0 6px 0;
  font-weight: 600;
}
.skip-link:focus { top: 0; }

/* focus outline (a11y) */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ----- typography helpers ----- */
.h2 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0 0 24px;
}
.h2 em {
  font-style: normal;
  color: var(--gold);
  font-weight: 600;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 20px;
  position: relative;
  padding-left: 30px;
}
.section-label::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 20px; height: 1px;
  background: var(--gold);
}

/* ============ NAV ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  transition: background var(--t), border-color var(--t), backdrop-filter var(--t);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(250, 248, 244, 0.92);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom-color: var(--line);
}
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 20px var(--container-pad);
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__logo { display: block; }
.nav__logo-img {
  height: 50px;
  width: auto;
  transition: opacity var(--t), filter var(--t);
}

/* Na hero (przed scrollem) - logo białe */
.nav:not(.is-scrolled) .nav__logo-img {
  filter: brightness(0) invert(1);
}

.nav__links {
  display: flex;
  gap: 36px;
  margin-left: auto;
}
.nav__links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-2);
  position: relative;
  padding: 6px 0;
}
.nav:not(.is-scrolled) .nav__links a { color: rgba(255,255,255,0.9); }
.nav__links a::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--t);
}
.nav:not(.is-scrolled) .nav__links a::after { background: var(--gold-2); }
.nav__links a:hover { color: var(--ink); }
.nav:not(.is-scrolled) .nav__links a:hover { color: var(--white); }
.nav__links a:hover::after { width: 100%; }

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  transition: all var(--t);
}
.nav:not(.is-scrolled) .nav__cta {
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
}
.nav__cta:hover {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.nav:not(.is-scrolled) .nav__cta:hover {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
}

.nav__burger {
  display: none;
  width: 42px;
  height: 42px;
  position: relative;
}
.nav__burger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--ink);
  margin: 5px auto;
  transition: transform var(--t), opacity var(--t);
}
.nav:not(.is-scrolled) .nav__burger span { background: var(--white); }
.nav.is-open .nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__burger span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ============ HERO - FULL-BLEED ============ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 0% center;
  filter: contrast(1.02);
}
.hero__bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15,17,22,0.94) 0%, rgba(15,17,22,0.88) 30%, rgba(15,17,22,0.55) 48%, rgba(15,17,22,0.15) 68%, rgba(15,17,22,0) 88%),
    linear-gradient(180deg, rgba(15,17,22,0.25) 0%, transparent 30%, transparent 70%, rgba(15,17,22,0.45) 100%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 140px var(--container-pad) 60px;
  width: 100%;
}
.hero__content {
  max-width: 560px;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.95);
  margin-bottom: 32px;
}
.hero__eyebrow .dot {
  width: 7px; height: 7px;
  background: var(--gold-2);
  border-radius: 50%;
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(164,122,69,0.55); }
  70% { box-shadow: 0 0 0 8px rgba(164,122,69,0); }
}

.hero__title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 1.4rem + 3.2vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0 0 28px;
  color: var(--white);
}
.hero__title em {
  font-style: normal;
  color: var(--gold-2);
  font-weight: 700;
}

.hero__lead {
  font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.22rem);
  line-height: 1.6;
  color: rgba(255,255,255,0.82);
  max-width: 560px;
  margin: 0 0 44px;
  font-weight: 300;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero__phone {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: rgba(255,255,255,0.95);
}
.hero__phone-lbl {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.hero__phone-num {
  font-family: var(--f-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.hero__phone:hover .hero__phone-num { color: var(--gold-2); }

/* Trust strip - Google rating */
.hero__trust {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 14px 22px;
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 14px;
  color: var(--white);
  transition: background var(--t), transform var(--t);
}
.hero__trust:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-2px);
}
.hero__trust-stars {
  display: flex;
  gap: 2px;
}
.hero__trust-stars svg {
  width: 16px; height: 16px;
}
.hero__trust-text { display: flex; flex-direction: column; line-height: 1.2; }
.hero__trust-text strong {
  font-family: var(--f-display);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.005em;
}
.hero__trust-text span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.7);
}
.hero__trust-arrow {
  margin-left: auto;
  font-size: 1.2rem;
  color: var(--gold-2);
  transition: transform var(--t);
}
.hero__trust:hover .hero__trust-arrow { transform: translateX(4px); }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 17px 30px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: all var(--t);
  text-align: center;
  font-family: var(--f-sans);
}
.btn--primary {
  background: var(--white);
  color: var(--ink);
}
.btn--primary:hover {
  background: var(--gold);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.btn--full { width: 100%; }

/* Default btn on light section override */
.about .btn--primary,
.practice .btn--primary,
.reviews .btn--primary,
.contact .btn--primary {
  background: var(--ink);
  color: var(--bg);
}
.about .btn--primary:hover,
.practice .btn--primary:hover,
.reviews .btn--primary:hover,
.contact .btn--primary:hover {
  background: var(--gold);
  color: var(--white);
}

/* ============ O KANCELARII ============ */
.about {
  padding: 140px 0 120px;
  background: var(--bg);
}
.about__head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 80px;
}
.about__head .section-label::before { display: none; }
.about__head .section-label { padding-left: 0; }
.about__head .section-label::after {
  content: "";
  display: block;
  width: 40px; height: 1px;
  background: var(--gold);
  margin: 12px auto 0;
}

.about__body {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.about__text { font-size: 1.05rem; color: var(--ink-3); }
.about__text p { margin: 0 0 18px; line-height: 1.7; }
.about__intro { font-size: 1.18rem; color: var(--ink); font-weight: 400; }
.about__intro strong { color: var(--ink); font-weight: 600; }

.about__pillars {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pillar {
  display: grid;
  grid-template-columns: 56px 1fr;
  grid-template-rows: auto auto;
  column-gap: 24px;
  row-gap: 6px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line-2);
  transition: padding var(--t);
}
.pillar:last-child { border-bottom: 0; }
.pillar:hover { padding-left: 8px; }

.pillar__icon {
  grid-row: 1 / span 2;
  grid-column: 1;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-2);
  display: grid;
  place-items: center;
  color: var(--gold);
}
.pillar__icon svg { width: 22px; height: 22px; }

.pillar h3 {
  grid-column: 2;
  grid-row: 1;
  font-family: var(--f-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.02em;
  align-self: center;
}
.pillar p {
  grid-column: 2;
  grid-row: 2;
  font-size: 0.95rem;
  color: var(--ink-3);
  margin: 0;
  line-height: 1.6;
}

/* ============ SPECJALIZACJE ============ */
.practice {
  padding: 140px 0 120px;
  background: var(--bg-2);
  position: relative;
}
.practice__header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 72px;
}
.practice__header .section-label::before { display: none; }
.practice__header .section-label { padding-left: 0; }
.practice__header .section-label::after {
  content: "";
  display: block;
  width: 40px; height: 1px;
  background: var(--gold);
  margin: 12px auto 0;
}

.practice__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--white);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s cubic-bezier(.2,.7,.2,1);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.card:hover::before { transform: scaleX(1); }

.card__top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line-2);
  min-height: 60px;
}
.card__num {
  flex-shrink: 0;
}
.card__title {
  flex: 1;
  min-width: 0;
}
.card__num {
  font-family: var(--f-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--gold);
  line-height: 1;
  padding: 6px 10px;
  border: 1px solid var(--gold);
  border-radius: 4px;
}
.card__title {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0;
}

.card__desc {
  font-size: 0.97rem;
  color: var(--ink-3);
  margin: 0 0 24px;
  line-height: 1.65;
}
.card__list {
  margin-top: auto;
  border-top: 1px solid var(--line-2);
  padding-top: 18px;
}
.card__list li {
  position: relative;
  padding: 7px 0 7px 22px;
  font-size: 0.9rem;
  color: var(--ink-2);
}
.card__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 16px;
  width: 12px; height: 1px;
  background: var(--gold);
}

.practice__note {
  text-align: center;
  margin: 60px 0 0;
  color: var(--ink-3);
  font-size: 0.98rem;
}
.practice__note a {
  color: var(--gold);
  font-weight: 600;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 1px;
}
.practice__note a:hover { color: var(--ink); border-color: var(--ink); }

/* ============ OPINIE ============ */
.reviews {
  padding: 140px 0 120px;
  background: var(--bg);
}
.reviews__header {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 72px;
}
.reviews__header .h2 { margin-bottom: 0; }

.reviews__badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 22px;
  background: var(--white);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t), box-shadow var(--t);
  justify-self: end;
}
.reviews__badge:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.reviews__badge svg { flex-shrink: 0; }
.reviews__badge strong {
  display: block;
  font-family: var(--f-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.reviews__badge span {
  display: block;
  font-size: 0.78rem;
  color: var(--ink-3);
  margin-top: 2px;
}

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review {
  background: var(--white);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  margin: 0;
  transition: transform var(--t), box-shadow var(--t);
  position: relative;
  display: flex;
  flex-direction: column;
}
.review:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.review__stars {
  color: var(--star);
  font-size: 1rem;
  letter-spacing: 0.15em;
  margin-bottom: 20px;
}
.review blockquote {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--ink);
  margin: 0 0 24px;
  flex: 1;
  letter-spacing: -0.01em;
}
.review figcaption {
  display: flex;
  flex-direction: column;
  padding-top: 20px;
  border-top: 1px solid var(--line-2);
  font-size: 0.9rem;
}
.review figcaption strong {
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 3px;
}
.review figcaption span {
  color: var(--gold);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

/* === Featured (dark) review - musi być PO regułach .review, żeby wygrać kolejnością === */
.review.review--featured {
  background: var(--ink);
  border-color: var(--ink);
}
.review.review--featured .review__stars { color: var(--star); }
.review.review--featured blockquote { color: rgba(255, 255, 255, 0.95); }
.review.review--featured figcaption { border-top-color: rgba(255, 255, 255, 0.12); }
.review.review--featured figcaption strong { color: var(--white); }
.review.review--featured figcaption span { color: var(--gold-2); }

/* ============ KONTAKT ============ */
.contact {
  padding: 140px 0 120px;
  background: var(--bg-2);
}
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact__lead {
  font-size: 1.1rem;
  color: var(--ink-3);
  margin: 0 0 36px;
  max-width: 460px;
  line-height: 1.6;
}

.contact__quick {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 40px;
}
.quick {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  color: var(--ink);
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.quick:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
}
.quick svg {
  color: var(--gold);
  flex-shrink: 0;
}
.quick div { display: flex; flex-direction: column; min-width: 0; }
.quick__lbl {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
}
.quick__val {
  font-family: var(--f-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact__address {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}
.contact__address-lbl {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 14px;
}
.contact__address address {
  font-size: 1rem;
  color: var(--ink);
  line-height: 1.6;
  margin-bottom: 16px;
}
.contact__hours {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--ink-3);
  padding-top: 12px;
  border-top: 1px dashed var(--line-2);
}

.contact__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-sm);
}

/* ----- form ----- */
.form {
  background: var(--white);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  box-shadow: var(--shadow-sm);
}
.form__title {
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 8px;
  letter-spacing: -0.025em;
}
.form__desc {
  font-size: 0.95rem;
  color: var(--ink-3);
  margin: 0 0 32px;
  line-height: 1.5;
}
.form__row { margin-bottom: 20px; }
.form__row--2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field { display: block; }
.field > span {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 8px;
  font-weight: 600;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: var(--radius);
  font: inherit;
  color: var(--ink);
  font-size: 0.97rem;
  transition: border-color var(--t), background var(--t), box-shadow var(--t);
}
.field input::placeholder,
.field textarea::placeholder { color: var(--ink-4); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(135,97,50,0.12);
}
.field textarea { resize: vertical; min-height: 110px; font-family: var(--f-sans); }

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 12px 0 28px;
  font-size: 0.85rem;
  color: var(--ink-3);
  line-height: 1.55;
  cursor: pointer;
}
.checkbox input {
  margin-top: 3px;
  accent-color: var(--gold);
  width: 16px; height: 16px;
}

.form__note {
  font-size: 0.78rem;
  color: var(--ink-3);
  text-align: center;
  margin: 16px 0 0;
}

/* ============ STOPKA ============ */
.footer {
  background: var(--ink);
  color: rgba(250, 248, 244, 0.72);
  padding: 90px 0 32px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer__logo {
  height: 44px;
  width: auto;
  margin-bottom: 22px;
  filter: brightness(1.6) saturate(0);
}
.footer__tagline {
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 18px;
  color: rgba(255,255,255,0.85);
}
.footer__legal {
  font-size: 0.82rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
  margin: 0;
  letter-spacing: 0.02em;
}
.footer__col h4 {
  font-family: var(--f-display);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 18px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.footer__col li {
  font-size: 0.9rem;
  margin-bottom: 10px;
  color: rgba(255,255,255,0.72);
}
.footer__col a { transition: color var(--t); }
.footer__col a:hover { color: var(--gold-2); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 28px;
  font-size: 0.82rem;
  color: rgba(250, 248, 244, 0.5);
  flex-wrap: wrap;
  gap: 12px;
}

/* ============ MOBILE STICKY CTA ============ */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 90;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 24px;
  background: var(--ink);
  color: var(--white);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: var(--shadow-lg);
  letter-spacing: 0.02em;
}
.mobile-cta:active { transform: scale(0.98); }

/* ============ COOKIE BANNER ============ */
.cookie {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 540px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  z-index: 80;
  box-shadow: var(--shadow-lg);
  transform: translateY(120%);
  transition: transform var(--t-slow);
}
.cookie.is-visible { transform: translateY(0); }
.cookie__inner {
  display: flex;
  align-items: center;
  gap: 20px;
}
.cookie strong {
  font-family: var(--f-display);
  font-size: 0.95rem;
  font-weight: 700;
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}
.cookie p {
  font-size: 0.82rem;
  color: var(--ink-3);
  margin: 0;
  line-height: 1.45;
}
.cookie__accept {
  flex-shrink: 0;
  padding: 10px 20px;
  background: var(--ink);
  color: var(--white);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
  transition: background var(--t);
}
.cookie__accept:hover { background: var(--gold); }

/* ============ ANIMATIONS ============ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s cubic-bezier(.2,.7,.2,1), transform 0.9s cubic-bezier(.2,.7,.2,1);
}
.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in:nth-child(2) { transition-delay: 0.1s; }
.fade-in:nth-child(3) { transition-delay: 0.2s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .nav__links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: var(--bg);
    padding: 24px var(--container-pad);
    border-bottom: 1px solid var(--line);
    gap: 18px;
  }
  .nav.is-open .nav__links { display: flex; }
  .nav.is-open { background: var(--bg); }
  .nav.is-open .nav__links a { color: var(--ink); }
  .nav.is-open .nav__burger span { background: var(--ink); }
  .nav__burger { display: block; }

  .about__body { grid-template-columns: 1fr; gap: 56px; }
  .practice__grid { grid-template-columns: 1fr; }
  .reviews__header { grid-template-columns: 1fr; gap: 32px; }
  .reviews__badge { justify-self: start; }
  .reviews__grid { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; gap: 56px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 640px) {
  :root { --container-pad: 20px; }
  .hero { min-height: 92vh; min-height: 92svh; }
  .hero__inner { padding: 120px var(--container-pad) 100px; }
  .hero__title { font-size: clamp(2.2rem, 8vw, 3rem); }
  .hero__actions { flex-direction: column; align-items: stretch; gap: 16px; }
  .hero__phone { align-items: center; text-align: center; padding: 12px; border: 1px solid rgba(255,255,255,0.2); border-radius: 999px; }
  .hero__trust { width: 100%; }
  .nav__cta { display: none; }
  .nav__logo-img { height: 40px; }

  .about, .practice, .reviews, .contact { padding: 90px 0; }
  .about__head, .practice__header { margin-bottom: 56px; }
  .pillar { grid-template-columns: 44px 1fr; gap: 18px; padding: 22px 0; }
  .pillar h3 { font-size: 1.2rem; }
  .pillar:hover { padding-left: 0; }

  .card { padding: 32px 24px; }
  .review { padding: 28px 24px; }

  .contact__quick { grid-template-columns: 1fr; }
  .quick__val { font-size: 0.95rem; }
  .form { padding: 32px 24px; }
  .form__row--2 { grid-template-columns: 1fr; gap: 18px; }

  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }

  .mobile-cta { display: inline-flex; }
  body { padding-bottom: 80px; }

  .cookie { left: 12px; right: 12px; bottom: 80px; padding: 16px; }
  .cookie__inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .cookie__accept { width: 100%; }
}

/* ============ Form messages (AJAX) ============ */
.form__msg {
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.45;
  transition: opacity 0.5s ease;
  opacity: 1;
}
.form__msg--success {
  background: #E8F5E9;
  color: #1B5E20;
  border-left: 3px solid #2E7D32;
}
.form__msg--error {
  background: #FFEBEE;
  color: #B71C1C;
  border-left: 3px solid #C62828;
}
