/* ============================================================
   KLAMKA LEGAL — onepage
   Paleta: ciemna zieleń + stonowane złoto + ciepła biel
   Typografia: Cormorant Garamond (display) / Figtree (tekst)
   ============================================================ */

:root {
  /* Kolory */
  --green-975: #0c1f18;         /* stopka, najgłębsza zieleń */
  --green-950: #123227;         /* nagłówki, tła bloków */
  --green-800: #1d4a39;         /* hover, akcenty ciemne */
  --green-100: #e8efe9;         /* delikatne tło zielonkawe */
  --gold-600: #a98545;          /* akcent złoty ciemniejszy (tekst na bieli, AA) */
  --gold-500: #b99657;          /* akcent złoty — linie, ikony */
  --gold-300: #d6c193;          /* złoto na ciemnym tle */
  --paper: #fcfcfa;             /* tło strony */
  --paper-alt: #f4f4ef;         /* sekcje naprzemienne */
  --ink: #182420;               /* tekst główny */
  --ink-soft: #47544e;          /* tekst drugorzędny */
  --line: #e3e2d9;              /* obramowania, hairlines */

  /* Typografia */
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Figtree', -apple-system, 'Segoe UI', sans-serif;

  /* Skala — fluid */
  --fs-hero: clamp(2.2rem, 9vw, 7rem);
  --fs-h2: clamp(2.1rem, 4.2vw, 3.1rem);
  --fs-h3: clamp(1.25rem, 2vw, 1.5rem);
  --fs-lead: clamp(1.1rem, 1.6vw, 1.3rem);
  --fs-body: 1.0625rem;         /* 17px */
  --fs-small: 0.875rem;

  /* Rytm */
  --section-pad: clamp(4.5rem, 9vw, 7.5rem);
  --container: 1200px;
  --radius: 2px;                /* prawie ostro — elegancja, spójnie wszędzie */

  --shadow-card: 0 1px 2px rgba(18, 50, 39, 0.05), 0 10px 32px rgba(18, 50, 39, 0.07);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
ul { list-style: none; }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

/* ---------- Typografia bazowa ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; color: var(--green-950); }

.section { padding-block: var(--section-pad); }
.section-alt { background: var(--paper-alt); }

.section-title {
  font-size: var(--fs-h2);
  text-align: center;
  letter-spacing: 0.01em;
}
.section-title::after {
  content: "";
  display: block;
  width: 56px;
  height: 2px;
  background: var(--gold-500);
  margin: 1.1rem auto 0;
}
.section-lead {
  max-width: 46rem;
  margin: 1.5rem auto 0;
  text-align: center;
  color: var(--ink-soft);
  font-size: var(--fs-lead);
  line-height: 1.6;
}

strong { font-weight: 600; color: var(--green-950); }

/* ---------- Przyciski ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.95rem 2.2rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.15s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--green-950); color: #fff; }
.btn-primary:hover { background: var(--green-800); }
.btn-gold { background: var(--gold-500); color: var(--green-975); }
.btn-gold:hover { background: var(--gold-300); }
.btn-outline { border-color: rgba(255, 255, 255, 0.55); color: #fff; }
.btn-outline:hover { background: rgba(255, 255, 255, 0.12); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  background: rgba(252, 252, 250, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 2px 20px rgba(18, 50, 39, 0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: 76px;
}
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 34px; width: auto; }

.main-nav ul { display: flex; gap: clamp(1.1rem, 2.2vw, 2rem); }
.main-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--ink);
  padding-block: 0.4rem;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.main-nav a:hover { color: var(--green-800); border-bottom-color: var(--gold-500); }

.header-tools { display: flex; align-items: center; gap: 1.1rem; }
.header-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--green-950);
  white-space: nowrap;
  transition: color 0.2s;
}
.header-phone:hover { color: var(--gold-600); }
.header-phone svg { width: 17px; height: 17px; color: var(--gold-600); }
@media (max-width: 1080px) { .header-phone span { display: none; } }
.lang-switch {
  display: flex;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 0.8rem;
  font-weight: 600;
}
.lang-switch a {
  padding: 0.35rem 0.7rem;
  text-decoration: none;
  color: var(--ink-soft);
  transition: background 0.2s, color 0.2s;
}
.lang-switch a.is-active { background: var(--green-950); color: #fff; }
.lang-switch a:not(.is-active):hover { background: var(--paper-alt); }

/* Hamburger — tylko mobile */
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 44px;
  height: 44px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--green-950);
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 67dvh; /* 2/3 ekranu — sekcja liczb widoczna od razu */
  display: flex;
  align-items: center;
  padding-top: 76px;
  overflow: hidden;
}
.hero-bg, .hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
video.hero-bg { z-index: 0; }
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 31, 24, 0.55) 0%, rgba(12, 31, 24, 0.38) 45%, rgba(12, 31, 24, 0.72) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  padding-block: 4rem;
}
.hero-title {
  font-size: var(--fs-hero);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #fff;
  line-height: 1.05;
}
.hero-tagline {
  margin-top: 1.4rem;
  font-family: var(--sans);
  font-size: clamp(0.85rem, 1.4vw, 1.05rem);
  font-weight: 500;
  letter-spacing: 0.42em;
  text-indent: 0.42em; /* kompensacja letter-spacing przy centrowaniu */
  color: var(--gold-300);
}
.hero-tagline::before {
  content: "";
  display: block;
  width: 64px;
  height: 1px;
  background: var(--gold-500);
  margin: 0 auto 1.4rem;
}
.hero-sub {
  margin-top: 1.6rem;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  line-height: 1.4;
  padding-bottom: 0.25rem; /* rezerwa na descendery italiki */
  color: rgba(255, 255, 255, 0.92);
}
.hero-cta {
  margin-top: 2.6rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   ZAUFALI NAM (ukryta na start) + LICZBY
   ============================================================ */
.is-hidden { display: none !important; }

.clients { padding-block: 3rem; border-bottom: 1px solid var(--line); }
.clients-label {
  text-align: center;
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
}
.clients-row {
  display: flex;
  justify-content: center;
  gap: clamp(2rem, 6vw, 4.5rem);
  flex-wrap: wrap;
  filter: grayscale(1);
  opacity: 0.55;
}

.stats { background: var(--green-950); color: #fff; padding-block: clamp(3rem, 6vw, 4.5rem); }
.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  text-align: center;
}
.stat-num {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  font-weight: 600;
  color: var(--gold-300);
  line-height: 1;
}
.stat-label {
  margin-top: 0.7rem;
  font-size: var(--fs-small);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.82);
  max-width: 15rem;
  margin-inline: auto;
}
@media (max-width: 800px) {
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   OBSZARY PRAKTYKI — siatka 3×3
   ============================================================ */
.practice-grid {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.practice-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.1rem 1.9rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.practice-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 2px 4px rgba(18, 50, 39, 0.06), 0 18px 44px rgba(18, 50, 39, 0.12);
  border-color: var(--gold-500);
}
.card-icon { width: 44px; height: 44px; color: var(--gold-600); margin-bottom: 1.1rem; }
.practice-card h3 { font-size: var(--fs-h3); margin-bottom: 0.9rem; }
.practice-card ul { display: grid; gap: 0.45rem; }
.practice-card li {
  position: relative;
  padding-left: 1.15rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--ink-soft);
}
.practice-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: var(--gold-500);
  transform: rotate(45deg);
}

.practice-card--cta {
  background: var(--green-950);
  border-color: var(--green-950);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1rem;
}
.practice-card--cta .card-icon { color: var(--gold-300); margin-bottom: 0; }
.practice-card--cta h3 { color: #fff; margin-bottom: 0; }
.practice-card--cta p { color: rgba(255, 255, 255, 0.85); font-size: 0.9875rem; line-height: 1.55; }
.practice-card--cta:hover { border-color: var(--gold-500); }

@media (max-width: 1000px) { .practice-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .practice-grid { grid-template-columns: 1fr; } }

/* ============================================================
   AKTUALNOŚCI
   ============================================================ */
.news-list { margin-top: 3.5rem; display: grid; gap: 1.75rem; }
.news-card {
  display: grid;
  grid-template-columns: minmax(240px, 380px) 1fr;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.news-card:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(18, 50, 39, 0.11); }
.news-thumb { display: block; height: 100%; min-height: 220px; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-body { padding: 2rem 2.2rem; display: flex; flex-direction: column; align-items: flex-start; gap: 0.7rem; }
.news-meta { font-size: var(--fs-small); color: var(--ink-soft); letter-spacing: 0.03em; }
.news-body h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); }
.news-body h3 a { text-decoration: none; transition: color 0.2s; }
.news-body h3 a:hover { color: var(--green-800); }
.news-excerpt { color: var(--ink-soft); font-size: 0.9675rem; }
.news-more {
  margin-top: auto;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--gold-600);
  border-bottom: 1px solid var(--gold-500);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.news-more:hover { color: var(--green-800); border-color: var(--green-800); }
@media (max-width: 720px) {
  .news-card { grid-template-columns: 1fr; }
  .news-thumb { min-height: 190px; max-height: 230px; }
}

/* ============================================================
   O NAS + MOTTO
   ============================================================ */
.about-inner { max-width: 56rem; }
.about-text {
  margin-top: 3rem;
  display: grid;
  gap: 1.4rem;
  border-left: 3px solid var(--gold-500);
  padding-left: clamp(1.75rem, 5vw, 3.25rem);
  padding-block: 0.5rem;
}
.about-lead {
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.8vw, 2.1rem);
  font-weight: 600;
  line-height: 1.35;
  color: var(--green-950);
  margin-bottom: 0.4rem;
}
.about-points { display: grid; gap: 1rem; max-width: 62ch; }
.about-points li {
  position: relative;
  padding-left: 2.2rem;
  font-family: var(--sans);
  font-size: clamp(1.02rem, 1.5vw, 1.125rem);
  line-height: 1.65;
  color: var(--ink-soft);
}
.about-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28em;
  width: 1.15em;
  height: 1.15em;
  background-color: var(--gold-600);
  /* elegancki ptaszek (fi_16745890) jako data-URI */
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m30.0729809 96.9259567-26.8333469-48.9697723c-.2174501-.3914108-.1739602-.8698006.13047-1.2612114.3914104-.4349022 1.0872509-.4783897 1.5656412-.0869827l27.9640884 24.5718651 62.0602723-68.3228319c.3914108-.3914104 1.000267-.4783902 1.4786606-.1739602.4783859.3479204.6088562 1.0437608.2609406 1.5656412l-64.7131634 92.7207398c-.0869808.1739578-.2174511.3044281-.4349003.3914108-.5218811.3044281-1.1742325.0869827-1.4786625-.4348984z'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m30.0729809 96.9259567-26.8333469-48.9697723c-.2174501-.3914108-.1739602-.8698006.13047-1.2612114.3914104-.4349022 1.0872509-.4783897 1.5656412-.0869827l27.9640884 24.5718651 62.0602723-68.3228319c.3914108-.3914104 1.000267-.4783902 1.4786606-.1739602.4783859.3479204.6088562 1.0437608.2609406 1.5656412l-64.7131634 92.7207398c-.0869808.1739578-.2174511.3044281-.4349003.3914108-.5218811.3044281-1.1742325.0869827-1.4786625-.4348984z'/%3E%3C/svg%3E") no-repeat center / contain;
}
.about-text strong { font-weight: 600; color: var(--green-950); }

.motto { background: var(--green-950); padding-block: clamp(2.2rem, 4vw, 3.2rem); }
.motto p {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-align: center;
  color: #fff;
}
.motto span { color: var(--gold-300); margin-inline: 0.4em; }

/* ============================================================
   ZESPÓŁ
   ============================================================ */
.team .member {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.member--reverse { direction: rtl; }
.member--reverse > * { direction: ltr; }
.member-bio h3 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.member-role {
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin: 0.4rem 0 1.4rem;
}
.member-intro {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.9vw, 1.45rem);
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 1.4rem;
}
.member-facts { display: grid; gap: 0.65rem; margin-bottom: 1.4rem; }
.member-facts li {
  position: relative;
  padding-left: 1.3rem;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink-soft);
}
.member-facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  background: var(--gold-500);
  transform: rotate(45deg);
}
.member-langs { font-size: var(--fs-small); color: var(--ink-soft); border-top: 1px solid var(--line); padding-top: 0.9rem; }
.member-photo { position: relative; }
.member-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.member-photo::after {
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  border: 1px solid var(--gold-500);
  border-radius: var(--radius);
  z-index: -1;
}
.member--reverse .member-photo::after { inset: 14px 14px -14px -14px; }
@media (max-width: 820px) {
  .team .member, .member--reverse { grid-template-columns: 1fr; direction: ltr; }
  .member-photo { order: -1; max-width: 420px; }
}

/* ============================================================
   DOKUMENTY — akordeon
   ============================================================ */
.docs-inner { max-width: 52rem; }
.docs-list { margin-top: 3rem; display: grid; gap: 0.9rem; }
.doc-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.doc-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.6rem;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--green-950);
}
.doc-item summary::-webkit-details-marker { display: none; }
.doc-toggle { position: relative; width: 18px; height: 18px; flex-shrink: 0; }
.doc-toggle::before, .doc-toggle::after {
  content: "";
  position: absolute;
  background: var(--gold-600);
  transition: transform 0.25s var(--ease);
}
.doc-toggle::before { inset: 8px 0; height: 2px; }
.doc-toggle::after { inset: 0 8px; width: 2px; }
.doc-item[open] .doc-toggle::after { transform: rotate(90deg); }
.doc-body { padding: 0 1.6rem 1.5rem; }
.doc-body p { color: var(--ink-soft); font-size: 0.9675rem; margin-bottom: 1.1rem; }
.doc-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.btn-sm { padding: 0.6rem 1.4rem; font-size: 0.8125rem; }

/* ============================================================
   MAPA (placeholder do czasu consenta)
   ============================================================ */
.map-section { position: relative; border-block: 1px solid var(--line); min-height: 440px; }
.map-placeholder {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(232, 239, 233, 0.6), rgba(232, 239, 233, 0.6)),
    repeating-linear-gradient(0deg, transparent 0 46px, rgba(18, 50, 39, 0.05) 46px 47px),
    repeating-linear-gradient(90deg, transparent 0 46px, rgba(18, 50, 39, 0.05) 46px 47px),
    var(--paper-alt);
}
/* plakietka jako nakładka: po lewej, pionowo wyśrodkowana — pinezka (środek mapy) zostaje widoczna */
.map-pin-card {
  position: absolute;
  /* ~20% w prawo, ale prawa krawędź karty min. 420px od środka (pinezki) */
  left: max(1rem, min(20vw, calc(50% - 420px)));
  top: calc(50% + 20px);
  transform: translateY(-50%);
  z-index: 2;
  width: min(400px, calc(100% - 2rem));
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 44px rgba(12, 31, 24, 0.18);
  padding: 2rem 2.4rem;
  text-align: center;
  font-size: 0.9675rem;
  color: var(--ink-soft);
}
.map-pin-name { font-family: var(--serif); font-size: 1.45rem; font-weight: 700; color: var(--green-950); margin-bottom: 0.4rem; }
.map-pin-actions {
  margin-top: 1.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
}
.map-pin-actions a {
  display: inline-block;
  font-weight: 600;
  color: var(--gold-600);
  text-decoration: none;
  border-bottom: 1px solid var(--gold-500);
  padding-bottom: 2px;
}
.map-pin-actions a:hover { color: var(--green-800); border-color: var(--green-800); }
@media (max-width: 640px) {
  .map-pin-card { left: 50%; transform: translate(-50%, -50%); }
}

/* ============================================================
   KONTAKT
   ============================================================ */
.contact-grid {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center; /* dane teleadresowe wyśrodkowane w pionie obok formularza */
}
.contact-people { display: grid; gap: 1.4rem; margin-top: 1.6rem; border-top: 1px solid var(--line); padding-top: 1.4rem; }
.contact-person p { font-size: var(--fs-body); color: var(--ink-soft); } /* font jak w danych teleadresowych */
.contact-person-name { font-family: var(--serif); font-size: 1.3rem !important; font-weight: 700; color: var(--green-950) !important; }
.contact-person-role { font-size: 0.875rem !important; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-600) !important; margin-bottom: 0.2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }
.form-field textarea {
  font: inherit;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  resize: vertical;
  min-height: 48px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-field textarea:focus { outline: none; border-color: var(--green-800); box-shadow: 0 0 0 3px rgba(29, 74, 57, 0.15); }
.label-optional { font-weight: 400; color: var(--ink-soft); }
.contact-form .btn[disabled] { opacity: 0.45; cursor: not-allowed; }
.form-blocked-note { font-size: 0.8125rem; color: var(--ink-soft); }
.form-blocked-note a { color: var(--green-800); }
.form-blocked-note[hidden] { display: none; }
.contact-name { font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.3; margin-bottom: 1.4rem; }
.contact-info address { font-style: normal; display: grid; gap: 0.8rem; color: var(--ink-soft); }
.contact-info a { color: var(--green-800); text-decoration: none; border-bottom: 1px solid var(--gold-500); padding-bottom: 1px; }
.contact-social { display: flex; gap: 0.9rem; margin-top: 1.6rem; }
.contact-social a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--green-950);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.contact-social a:hover { background: var(--green-950); color: #fff; border-color: var(--green-950); }
.contact-social svg { width: 20px; height: 20px; }

.contact-form-wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
}
.contact-form-wrap h3 { font-size: 1.5rem; }
.form-note { color: var(--ink-soft); font-size: 0.9375rem; margin: 0.5rem 0 1.6rem; }
.contact-form { display: grid; gap: 1.2rem; }
.form-field { display: grid; gap: 0.45rem; }
.form-field label { font-size: 0.875rem; font-weight: 600; color: var(--green-950); }
.form-field input {
  font: inherit;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-field input:focus {
  outline: none;
  border-color: var(--green-800);
  box-shadow: 0 0 0 3px rgba(29, 74, 57, 0.15);
}
.form-rodo { font-size: 0.71875rem; line-height: 1.5; color: var(--ink-soft); }
.form-rodo a { color: var(--green-800); }
.contact-form .btn { justify-self: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ============================================================
   STOPKA
   ============================================================ */
.site-footer { background: var(--green-975); color: rgba(255, 255, 255, 0.78); }
.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding-block: 3.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-brand img { height: 30px; width: auto; opacity: 0.95; }
.footer-nav ul { display: flex; flex-wrap: wrap; gap: 1.4rem; justify-content: center; }
.footer-nav a, .footer-legal a {
  font-size: 0.9rem;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.2s;
}
.footer-nav a:hover, .footer-legal a:hover { color: var(--gold-300); }
.footer-social { display: flex; gap: 0.9rem; justify-content: center; }
.footer-social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.footer-social a:hover { color: var(--gold-300); border-color: var(--gold-300); }
.footer-social svg { width: 19px; height: 19px; }
.footer-copyright { text-align: center; }
.footer-bottom .footer-credit { text-align: right; }
@media (max-width: 760px) {
  /* ściśnięta treść: © spada wyśrodkowane do własnego wiersza na dole */
  .footer-bottom { grid-template-columns: 1fr auto; }
  .footer-copyright { grid-column: 1 / -1; grid-row: 2; }
}
.footer-bottom {
  display: grid;
  /* 1fr | auto | 1fr — © zawsze na osi strony, niezależnie od szerokości sąsiadów */
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1.4rem;
  padding-bottom: 0.9rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
}
.footer-credit a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, 0.3); transition: color 0.2s, border-color 0.2s; }
.footer-credit a:hover { color: var(--gold-300); border-color: var(--gold-300); }
.footer-legal-links { display: flex; gap: 0.6rem; align-items: center; }
.footer-legal-links a { color: rgba(255, 255, 255, 0.6); text-decoration: none; transition: color 0.2s; }
.footer-legal-links a:hover { color: var(--gold-300); }
@media (max-width: 860px) {
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-bottom { justify-content: center; text-align: center; }
}

/* Mapa: przycisk zgody + embed */
.map-embed { position: absolute; inset: 0; }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-embed[hidden] { display: none; }
/* zielona nakładka 20% — spina mapę z paletą strony; pointer-events:none nie blokuje obsługi mapy */
.map-embed::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--green-950);
  opacity: 0.12;
  pointer-events: none;
}

/* ============================================================
   CONSENT MODE — baner cookies (adaptacja offteam-consent-mode,
   paleta strony, bez widżetu ciastka)
   ============================================================ */
.oct-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(12, 31, 24, 0.55);
  backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  z-index: 39000;
}
.oct-backdrop.is-visible { opacity: 1; pointer-events: auto; }

.cookie-consent {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 560px;
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold-500);
  border-radius: var(--radius);
  box-shadow: 0 24px 64px rgba(12, 31, 24, 0.35);
  z-index: 40000;
}
.cookie-consent.oct-pos-left { right: auto; }
.cookie-consent__inner { padding: 1.75rem 2rem; }
.cookie-consent__info h2 {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--green-950);
  margin-bottom: 0.6rem;
}
.cookie-consent__info h3 {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--green-950);
  margin: 1.1rem 0 0.7rem;
}
.cookie-consent__info p { font-size: 0.875rem; line-height: 1.6; color: var(--ink-soft); }
.cookie-consent__info a { color: var(--green-800); }
.cookie-consent__main { display: grid; gap: 0.7rem; }
.cookie-consent-item {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--ink);
  cursor: pointer;
}
.cookie-consent-item input {
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0.15rem;
  accent-color: var(--green-800);
  flex-shrink: 0;
}
.cookie-consent__btns { margin-top: 1.4rem; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.cookie-consent__btn {
  flex: 1 1 auto;
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.8rem 1.2rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.1s;
  white-space: nowrap;
}
.cookie-consent__btn:active { transform: scale(0.98); }
.cookie-consent__btn.--all { background: var(--green-950); color: #fff; }
.cookie-consent__btn.--all:hover { background: var(--green-800); }
/* Równa waga wizualna „Akceptuję" i „Odrzucam" (EROD 03/2022 — bez dark patterns):
   oba przyciski pełne, ten sam rozmiar; różnią się tylko barwą dla rozróżnialności */
.cookie-consent__btn.--reject { background: var(--paper-alt); color: var(--green-950); border-color: var(--green-950); }
.cookie-consent__btn.--reject:hover { background: var(--line); }
.cookie-consent__btn.--selected { background: var(--gold-500); color: var(--green-975); }
.cookie-consent__btn.--selected:hover { background: var(--gold-300); }
.oct-inline-settings-wrap { margin-top: 0.4rem; }
.oct-inline-settings { font-weight: 600; }
@media (max-width: 520px) {
  .cookie-consent { left: 10px; right: 10px; bottom: 10px; }
  .cookie-consent__inner { padding: 1.25rem 1.3rem; }
  .cookie-consent__btns { flex-direction: column; }
}

/* Scroll-reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: 76px;
    inset-inline: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 1rem 1.5rem 1.75rem;
    transform: translateY(-120%);
    transition: transform 0.35s var(--ease);
    box-shadow: 0 20px 40px rgba(18, 50, 39, 0.10);
  }
  .main-nav.is-open { transform: translateY(0); }
  .main-nav ul { flex-direction: column; gap: 0.25rem; }
  .main-nav a { display: block; padding: 0.7rem 0; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
}

/* Bardzo wąskie ekrany */
@media (max-width: 420px) {
  .stats-inner { grid-template-columns: 1fr; gap: 1.75rem; }
  .hero-tagline { letter-spacing: 0.28em; text-indent: 0.28em; }
  .hero-title { letter-spacing: 0.03em; }
}

/* ============================================================
   PODSTRONY PRAWNE (polityka, regulamin)
   ============================================================ */
.legal-page { padding-top: calc(var(--section-pad) + 76px); }
.legal-inner { max-width: 50rem; }
.legal-body { margin-top: 2.5rem; display: grid; gap: 1rem; }
.legal-body p { font-size: 0.9675rem; line-height: 1.7; color: var(--ink-soft); }
.legal-body ul { display: grid; gap: 0.6rem; padding-left: 0.2rem; }
.legal-body li {
  position: relative;
  padding-left: 1.15rem;
  font-size: 0.9675rem;
  line-height: 1.65;
  color: var(--ink-soft);
}
.legal-body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 5px;
  height: 5px;
  background: var(--gold-500);
  transform: rotate(45deg);
}
.legal-back { margin-top: 2.5rem; text-align: center; }
