/* Fonty hostowane lokalnie w public/assets/fonts (licencja OFL). Bez zapytań do Google. */
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/bricolage-grotesque-latin-ext-400.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: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/bricolage-grotesque-latin-400.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: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/bricolage-grotesque-latin-ext-600.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: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/bricolage-grotesque-latin-600.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: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/bricolage-grotesque-latin-ext-700.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: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/bricolage-grotesque-latin-700.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: "Instrument Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/instrument-sans-latin-ext-400.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: "Instrument Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/instrument-sans-latin-400.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: "Instrument Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/instrument-sans-latin-ext-500.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: "Instrument Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/instrument-sans-latin-500.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: "Instrument Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/instrument-sans-latin-ext-600.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: "Instrument Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/instrument-sans-latin-600.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: "Instrument Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/instrument-sans-latin-ext-700.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: "Instrument Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/instrument-sans-latin-700.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;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg: #f4f6f1;
  --paper: #ffffff;
  --ink: #17231b;
  --muted: #56655a;
  --line: #d8dfd4;
  --leaf: #2b6e47;
  --leaf-deep: #1f5036;
  --leaf-soft: #e3ece3;
  --on-leaf: #ffffff;
  --warn: #a33a2a;
  --footer: #17231b;
  --footer-ink: #e6eee7;
  --footer-muted: #a9b9ad;
  --footer-mark: #8fd6a4;
  --radius: 6px;
  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1712;
    --paper: #15211a;
    --ink: #e6eee7;
    --muted: #a3b3a7;
    --line: #2a3a2f;
    --leaf: #74c68f;
    --leaf-deep: #9fdbb2;
    --leaf-soft: #1b2b20;
    --on-leaf: #0f1712;
    --warn: #f08a7a;
    --footer: #070c09;
    --footer-ink: #e6eee7;
    --footer-muted: #8fa294;
    --footer-mark: #74c68f;
    color-scheme: dark;
  }
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--leaf);
}

:focus-visible {
  outline: 2px solid var(--leaf);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap {
  width: min(100% - 2rem, 1120px);
  margin-inline: auto;
}

.narrow {
  max-width: 760px;
}

section {
  padding-block: clamp(56px, 8vw, 104px);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.3rem, 5.2vw, 4rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  font-weight: 700;
}

.h2-tight {
  margin-bottom: 1.25rem;
}

h3 {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1em;
  max-width: 62ch;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 0.875rem;
}

.lede {
  margin: 0;
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 50ch;
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--leaf);
}

.bg-soft {
  background: var(--leaf-soft);
}

.section-head {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  max-width: 680px;
}

.section-head p {
  margin: 0;
}

/* Nagłówek i logo */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  padding-block: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
  text-decoration: none;
}

.logo {
  display: block;
  height: 38px;
  width: auto;
}

.logo-mark {
  fill: var(--leaf);
}

.logo-word {
  fill: var(--ink);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  margin-inline-start: auto;
}

.nav a {
  padding: 0.3rem 0;
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.nav a:hover,
.nav a[aria-current="page"] {
  border-color: var(--leaf);
}

/* Przyciski */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  border: 1px solid var(--leaf);
  border-radius: var(--radius);
  background: var(--leaf);
  color: var(--on-leaf);
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.btn:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.btn:disabled {
  opacity: 0.6;
  cursor: default;
  transform: none;
}

.btn-line {
  background: transparent;
  color: var(--leaf);
}

.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.95rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

/* Hero */
.hero {
  padding-block: clamp(44px, 7vw, 96px);
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.02fr 0.98fr;
  }
}

.hero-media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius);
}

.hero-copy-only {
  display: grid;
  gap: 1rem;
  max-width: 760px;
}

.quote-grid {
  display: grid;
  gap: 3rem;
  align-items: start;
}

@media (min-width: 900px) {
  .quote-grid {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

.checks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.checks li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.checks li::before {
  content: "";
  flex: none;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 2px;
  background: var(--leaf);
}

.checks-col {
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.checks-col + p {
  margin-top: 1.25rem;
}

.checks.big {
  color: var(--ink);
  font-size: 1.1rem;
}

/* Karty usług */
.cards {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

.card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.card-body {
  display: grid;
  align-content: start;
  gap: 0.6rem;
  padding: 1.25rem 1.35rem 1.5rem;
}

.card-body p {
  margin: 0;
  color: var(--muted);
}

.card .more {
  margin-top: auto;
  padding-top: 0.6rem;
  font-weight: 600;
  color: var(--leaf);
  text-decoration: none;
}

.icon {
  width: 30px;
  height: 30px;
  color: var(--leaf);
}

/* Kroki */
.process {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}

.process li {
  display: grid;
  align-content: start;
  gap: 0.6rem;
  padding-top: 1.25rem;
  border-top: 2px solid var(--leaf);
  counter-increment: step;
}

.process li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--leaf);
  color: var(--on-leaf);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
}

.process h3 {
  font-size: 1.15rem;
}

.process p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

/* O nas */
.about {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .about {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

.about-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
}

/* Cechy / kontakt */
.factors {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.factors li {
  display: grid;
  align-content: start;
  gap: 0.5rem;
  padding: 1.35rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.factors li p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.factors.contact li p a {
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}

/* Cennik */
.price-group {
  margin-top: 2.75rem;
}

.price-group:first-of-type {
  margin-top: 0;
}

.price-group h3 {
  margin-bottom: 0.9rem;
}

.table-wrap {
  overflow-x: auto;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.price-table th,
.price-table td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.price-table th {
  background: var(--leaf-soft);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.price-table tr:last-child td {
  border-bottom: 0;
}

.price-table td.amount {
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
}

.note {
  margin-top: 1.25rem;
  font-size: 0.92rem;
  color: var(--muted);
}

/* FAQ */
.faq {
  display: grid;
  gap: 0.75rem;
  max-width: 780px;
}

.faq details {
  padding: 1rem 1.25rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-size: 1.4rem;
  line-height: 1;
  color: var(--leaf);
}

.faq details[open] summary::after {
  content: "–";
}

.faq p {
  margin: 0.75rem 0 0;
  color: var(--muted);
}

/* CTA */
.cta {
  background: var(--leaf);
  color: var(--on-leaf);
}

.cta .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2.5rem;
}

.cta h2 {
  max-width: 20ch;
  color: inherit;
}

.cta p {
  margin: 0.5rem 0 0;
  opacity: 0.9;
}

.cta .btn {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--leaf-deep);
}

/* Formularz */
.form-card {
  padding: clamp(20px, 3vw, 34px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.form {
  display: grid;
  gap: 1.25rem;
}

.form fieldset {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.form legend {
  padding: 0 0.4rem;
  font-weight: 600;
}

.form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.95rem;
}

.form label.check {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  min-width: 0;
  padding: 0.72rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--ink);
  font: inherit;
}

.form input[type="checkbox"] {
  width: auto;
  margin-top: 0.3rem;
}

.form textarea {
  resize: vertical;
}

.grid-2 {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
}

.form-status {
  min-height: 1.5em;
  margin: 0;
  font-weight: 600;
}

.form-status.error {
  color: var(--warn);
}

/* Miejsce na widget Turnstile, żeby formularz nie skakał po załadowaniu */
.turnstile-box {
  min-height: 66px;
}

/* Treść prawna */
.prose {
  max-width: 760px;
}

.prose h2 {
  margin: 2.2rem 0 0.75rem;
  font-size: 1.5rem;
}

.list {
  margin: 0 0 1em;
  padding-left: 1.2em;
}

.list li {
  max-width: 65ch;
  margin-bottom: 0.45em;
}

/* Stopka */
.site-footer {
  padding-block: clamp(48px, 6vw, 72px) 28px;
  background: var(--footer);
  color: var(--footer-ink);
  font-size: 0.96rem;
}

.site-footer a {
  color: var(--footer-ink);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.site-footer .logo {
  height: 44px;
}

.site-footer .logo-mark {
  fill: var(--footer-mark);
}

.site-footer .logo-word {
  fill: var(--footer-ink);
}

.foot-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1.4fr 1fr 1fr;
}

@media (max-width: 720px) {
  .foot-grid {
    grid-template-columns: 1fr;
  }
}

.foot-brand p {
  margin: 1rem 0 0;
  max-width: 30ch;
  color: var(--footer-muted);
}

.site-footer h3 {
  margin: 0 0 0.9rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--footer-muted);
}

.site-footer ul {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.legal {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #2a3a2f;
  font-size: 0.86rem;
  color: var(--footer-muted);
}

/* Telefon: nagłówek w dwóch rzędach (logo + Wycena, potem menu) */
@media (max-width: 640px) {
  .bar {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 10px 12px;
    padding-block: 10px;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .bar > .btn-sm {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .nav {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-inline-start: 0;
    gap: 4px 14px;
  }

  .nav a {
    font-size: 0.95rem;
  }
}

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

/* Podpisy zdjęć poglądowych (AI) */
.hero-media,
.card-media,
.about-media {
  position: relative;
}

.card-media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.pill {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(23, 35, 27, 0.8);
  color: #ffffff;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}
