/*
Theme Name: Machul Rachunkowość
Theme URI: https://rachunkowoscmachul.pl
Author: Bartosz Machul
Description: Nowoczesny motyw landing page B2B dla Biura Rachunkowego Machul. Estetyka "żywej księgi": precyzja rachunkowa, mono-cyfry, sygnałowy koral. Zbudowany pod pozyskiwanie leadów.
Version: 1.4.2
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: machul-rachunkowosc
*/

/* ============================================================
   TOKENY PROJEKTOWE
   ============================================================ */
:root {
  --ink: #0C2B26;        /* głęboki świerkowy petrol */
  --pine: #123F37;       /* jaśniejszy petrol na karty */
  --pine-2: #1A4F45;
  --mist: #F2F6F3;       /* chłodna mgła — tło jasnych sekcji */
  --paper: #FBFDFB;
  --coral: #FF5A3C;      /* sygnałowy akcent */
  --coral-deep: #E8431F;
  --mint: #7FD6AE;       /* wtórny akcent na ciemnym */
  --line: rgba(12, 43, 38, 0.12);
  --line-light: rgba(242, 246, 243, 0.14);
  --tx: #10312B;
  --tx-soft: rgba(16, 49, 43, 0.72);
  --tx-inv: #EFF6F2;
  --tx-inv-soft: rgba(239, 246, 242, 0.66);

  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Instrument Sans", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  --wrap: 1200px;
  --r: 18px;
  --r-lg: 28px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ============================================================
   RESET / BAZA
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--tx);
  background: var(--mist);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.08; margin: 0 0 0.5em; letter-spacing: -0.015em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* Etykieta-brew nad nagłówkami: konwencja pozycji z księgi (§ / poz.) */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--coral);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--coral); }

/* ============================================================
   SIATKA KSIĘGOWA — tło jak papier milimetrowy księgi
   ============================================================ */
.ledger-bg {
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
}
.ledger-bg--dark {
  background-image:
    linear-gradient(var(--line-light) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-light) 1px, transparent 1px);
  background-size: 56px 56px;
}

/* ============================================================
   NAWIGACJA
   ============================================================ */
.site-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 18px 0;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), padding 0.35s var(--ease);
}
.site-nav.is-scrolled {
  background: rgba(12, 43, 38, 0.92);
  backdrop-filter: blur(12px);
  padding: 12px 0;
  box-shadow: 0 8px 32px rgba(6, 22, 19, 0.35);
}
.site-nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { text-decoration: none; display: flex; align-items: baseline; gap: 8px; }
.brand__name { font-family: var(--font-display); font-weight: 800; font-size: 21px; color: var(--tx-inv); letter-spacing: -0.02em; }
.brand__tick { font-family: var(--font-mono); font-size: 13px; color: var(--coral); }
.nav-links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  text-decoration: none;
  color: var(--tx-inv-soft);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--tx-inv); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--tx-inv); margin: 5px 0; transition: transform 0.3s var(--ease), opacity 0.3s; }

/* ============================================================
   PRZYCISKI
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s;
  will-change: transform;
}
.btn--coral { background: var(--coral); color: #fff; box-shadow: 0 10px 30px rgba(255, 90, 60, 0.35); }
.btn--coral:hover { background: var(--coral-deep); transform: translateY(-2px); box-shadow: 0 16px 40px rgba(255, 90, 60, 0.45); }
.btn--ghost { background: transparent; color: var(--tx-inv); border: 1.5px solid var(--line-light); }
.btn--ghost:hover { border-color: var(--mint); color: var(--mint); }
.btn--ink { background: var(--ink); color: var(--tx-inv); }
.btn--ink:hover { background: var(--pine); transform: translateY(-2px); }
.btn--sm { padding: 11px 20px; font-size: 14px; }
.btn .arr { transition: transform 0.25s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--tx-inv);
  padding: 170px 0 0;
  overflow: hidden;
}
.hero__glow {
  position: absolute;
  width: 900px; height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(127, 214, 174, 0.14), transparent 62%);
  top: -320px; right: -260px;
  pointer-events: none;
}
.hero__grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; position: relative; }
.hero h1 {
  font-size: clamp(42px, 6.2vw, 82px);
  font-weight: 800;
  margin-bottom: 24px;
}
.hero h1 em { font-style: normal; color: var(--mint); }
.hero__lead { font-size: 19px; color: var(--tx-inv-soft); max-width: 52ch; margin-bottom: 36px; }
.hero__ctas { display: flex; gap: 16px; flex-wrap: wrap; }

/* Sekwencja wejścia hero */
.hero .stagger { opacity: 0; transform: translateY(28px); animation: rise 0.9s var(--ease) forwards; }
.hero .stagger:nth-child(1) { animation-delay: 0.05s; }
.hero .stagger:nth-child(2) { animation-delay: 0.18s; }
.hero .stagger:nth-child(3) { animation-delay: 0.31s; }
.hero .stagger:nth-child(4) { animation-delay: 0.44s; }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }

/* PODPIS PROJEKTU: żywe saldo, rozlicza się do 0,00 */
.saldo-card {
  background: linear-gradient(160deg, var(--pine), var(--pine-2));
  border: 1px solid var(--line-light);
  border-radius: var(--r-lg);
  padding: 40px 36px;
  box-shadow: 0 30px 80px rgba(4, 18, 15, 0.55);
  opacity: 0;
  transform: translateY(28px) rotate(1.2deg);
  animation: riseCard 1s var(--ease) 0.5s forwards;
}
@keyframes riseCard { to { opacity: 1; transform: translateY(0) rotate(0); } }
.saldo-card__label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 14px;
}
.saldo-card__value {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(44px, 5vw, 64px);
  font-weight: 600;
  line-height: 1;
  color: #fff;
  letter-spacing: -0.02em;
}
.saldo-card__value .unit { font-size: 0.42em; color: var(--tx-inv-soft); margin-left: 8px; }
.saldo-card__rows { margin-top: 28px; border-top: 1px dashed var(--line-light); padding-top: 20px; display: grid; gap: 12px; }
.saldo-card__row { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 13.5px; color: var(--tx-inv-soft); }
.saldo-card__row b { color: var(--mint); font-weight: 500; }
.saldo-card__stamp {
  margin-top: 26px;
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral);
  border: 1.5px solid var(--coral);
  border-radius: 6px;
  padding: 6px 12px;
  transform: rotate(-2deg);
}

/* MARQUEE ZAUFANIA */
.marquee {
  margin-top: 90px;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  overflow: hidden;
  padding: 18px 0;
  background: rgba(0, 0, 0, 0.18);
}
.marquee__track { display: flex; gap: 56px; width: max-content; animation: scrollX 34s linear infinite; }
.marquee__item {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tx-inv-soft);
  white-space: nowrap;
  display: flex; align-items: center; gap: 56px;
}
.marquee__item::after { content: "▸"; color: var(--coral); }
@keyframes scrollX { to { transform: translateX(-50%); } }
.marquee:hover .marquee__track { animation-play-state: paused; }

/* ============================================================
   SEKCJE — wspólne
   ============================================================ */
.section { padding: 110px 0; }
.section--dark { background: var(--ink); color: var(--tx-inv); }
.section__head { max-width: 760px; margin-bottom: 64px; }
.section__head h2 { font-size: clamp(32px, 4.2vw, 52px); font-weight: 800; }
.section__head p { font-size: 18px; color: var(--tx-soft); }
.section--dark .section__head p { color: var(--tx-inv-soft); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }

/* ============================================================
   DLA KOGO
   ============================================================ */
.segments { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.segment {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 30px 26px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}
.segment:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(12, 43, 38, 0.12); border-color: var(--coral); }
.segment__tag { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--coral); display: block; margin-bottom: 16px; }
.segment h3 { font-size: 21px; margin-bottom: 10px; }
.segment p { font-size: 15px; color: var(--tx-soft); margin: 0; }

/* ============================================================
   USŁUGI
   ============================================================ */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.service {
  position: relative;
  background: var(--pine);
  border: 1px solid var(--line-light);
  border-radius: var(--r-lg);
  padding: 40px 36px;
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s;
}
.service:hover { transform: translateY(-6px); border-color: var(--mint); }
.service--featured { grid-column: span 2; background: linear-gradient(135deg, var(--coral-deep), var(--coral)); border: 0; }
.service--featured h3, .service--featured p { color: #fff; }
.service--featured .service__meta { color: rgba(255, 255, 255, 0.85); }
.service h3 { font-size: 26px; color: #fff; }
.service p { color: var(--tx-inv-soft); font-size: 15.5px; margin: 0; max-width: 62ch; }
.service__meta { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mint); display: block; margin-bottom: 14px; }
.service__badge {
  position: absolute; top: 28px; right: 28px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  background: rgba(255, 255, 255, 0.18); color: #fff;
  padding: 6px 12px; border-radius: 999px;
}

/* ============================================================
   PRZEWAGA: KSIĘGOWOŚĆ + PRAWO
   ============================================================ */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.duo__equation {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 40px 36px;
  font-size: 17px;
  box-shadow: 0 24px 60px rgba(12, 43, 38, 0.10);
}
.duo__equation .row { display: flex; justify-content: space-between; padding: 13px 0; border-bottom: 1px dashed var(--line); }
.duo__equation .row:last-child { border-bottom: 0; }
.duo__equation .row.sum { border-top: 2.5px solid var(--ink); font-weight: 600; font-size: 19px; margin-top: 6px; }
.duo__equation .row.sum b { color: var(--coral); }
.duo ul { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.duo ul li { padding-left: 30px; position: relative; color: var(--tx-soft); font-size: 16px; }
.duo ul li::before { content: "＋"; position: absolute; left: 0; color: var(--coral); font-weight: 700; }

/* ============================================================
   PROCES (sekwencja rzeczywista — numeracja niesie informację)
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: krok; }
.step {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line-light);
  border-radius: var(--r);
  padding: 32px 26px;
  counter-increment: krok;
}
.step::before {
  content: "poz. 0" counter(krok);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral);
  display: block;
  margin-bottom: 18px;
}
.step h3 { font-size: 19px; color: #fff; }
.step p { font-size: 14.5px; color: var(--tx-inv-soft); margin: 0; }

/* ============================================================
   CENNIK
   ============================================================ */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 40px 34px;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.plan:hover { transform: translateY(-6px); box-shadow: 0 26px 60px rgba(12, 43, 38, 0.14); }
.plan--hot { background: var(--ink); color: var(--tx-inv); border-color: var(--ink); position: relative; }
.plan--hot .plan__desc, .plan--hot .plan__feat li { color: var(--tx-inv-soft); }
.plan__flag {
  position: absolute; top: -14px; left: 34px;
  background: var(--coral); color: #fff;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px;
}
.plan h3 { font-size: 23px; }
.plan__price { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: 38px; font-weight: 600; margin: 14px 0 4px; letter-spacing: -0.02em; }
.plan__price .from { font-size: 14px; color: var(--tx-soft); font-weight: 400; display: block; letter-spacing: 0; }
.plan--hot .plan__price .from { color: var(--tx-inv-soft); }
.plan__price .per { font-size: 15px; font-weight: 400; }
.plan__desc { font-size: 15px; margin-top: 8px; color: var(--tx-soft); }
.plan__feat { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; gap: 11px; flex: 1; }
.plan__feat li { padding-left: 26px; position: relative; font-size: 14.5px; }
.plan__feat li::before { content: "✓"; position: absolute; left: 0; color: var(--coral); font-weight: 700; }
.plans-note { margin-top: 28px; font-family: var(--font-mono); font-size: 13px; color: var(--tx-soft); }

/* ============================================================
   FAQ
   ============================================================ */
.faq { max-width: 820px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid var(--line-light); }
.faq__q {
  width: 100%;
  background: none; border: 0; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 26px 4px;
  font-family: var(--font-display);
  font-size: 20px; font-weight: 700;
  color: var(--tx-inv);
  text-align: left;
}
.faq__q .ind { font-family: var(--font-mono); font-size: 22px; color: var(--coral); transition: transform 0.35s var(--ease); flex-shrink: 0; }
.faq__item.is-open .faq__q .ind { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height 0.45s var(--ease); }
.faq__a p { color: var(--tx-inv-soft); font-size: 16px; padding: 0 4px 26px; margin: 0; max-width: 68ch; }

/* ============================================================
   KONTAKT
   ============================================================ */
.contact { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; }
.contact__info h2 { font-size: clamp(32px, 4vw, 48px); }
.contact__meta { margin-top: 34px; display: grid; gap: 18px; }
.contact__meta a { text-decoration: none; }
.contact__meta .row { font-family: var(--font-mono); font-size: 15px; display: flex; gap: 14px; align-items: baseline; }
.contact__meta .row .k { color: var(--coral); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; min-width: 74px; }
.form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 40px 36px; box-shadow: 0 24px 60px rgba(12, 43, 38, 0.10); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__grid .full { grid-column: span 2; }
.form label { display: block; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--tx-soft); margin-bottom: 7px; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form textarea, .form select {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 13px 15px;
  font-family: var(--font-body);
  font-size: 15.5px;
  color: var(--tx);
  background: #fff;
  transition: border-color 0.2s;
}
.form input:focus, .form textarea:focus, .form select:focus { border-color: var(--coral); outline: none; }
.form textarea { min-height: 120px; resize: vertical; }
.form .rodo { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; color: var(--tx-soft); margin: 18px 0 24px; }
.form .rodo input { margin-top: 3px; }
.form__ok {
  background: rgba(127, 214, 174, 0.18);
  border: 1px solid var(--mint);
  color: var(--pine);
  border-radius: 12px;
  padding: 16px 18px;
  font-size: 15px;
  margin-bottom: 20px;
}
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ============================================================
   STOPKA
   ============================================================ */
.site-footer { background: var(--ink); color: var(--tx-inv-soft); padding: 56px 0 40px; border-top: 1px solid var(--line-light); }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; align-items: center; }
.site-footer .fine { font-family: var(--font-mono); font-size: 12.5px; }
.site-footer a { color: var(--tx-inv-soft); }

/* ============================================================
   RESPONSYWNOŚĆ
   ============================================================ */
@media (max-width: 1020px) {
  .segments, .steps { grid-template-columns: repeat(2, 1fr); }
  .hero__grid, .duo, .contact { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .service--featured { grid-column: span 1; }
  .services { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .segments, .steps { grid-template-columns: 1fr; }
  .section { padding: 76px 0; }
  .hero { padding-top: 130px; }
  .form__grid { grid-template-columns: 1fr; }
  .form__grid .full { grid-column: span 1; }
  .nav-links {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; height: 100dvh;
    background: var(--ink);
    flex-direction: column; align-items: center; justify-content: center; gap: 34px;
    transform: translateY(-100%);
    /* Zamknięte menu jest twardo ukryte i nieklikalne —
       niezależnie od backdrop-filter na pasku nawigacji */
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.45s var(--ease), opacity 0.35s var(--ease),
      visibility 0s linear 0.45s;
    z-index: 105;
  }
  .nav-links.is-open {
    transform: none;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transition: transform 0.45s var(--ease), opacity 0.35s var(--ease),
      visibility 0s;
  }
  .nav-links a { font-size: 22px; }
  .nav-toggle { display: block; position: relative; z-index: 110; }
  .nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-cta { display: none; }
}

/* ============================================================
   DOSTĘPNOŚĆ — ograniczony ruch
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .hero .stagger, .saldo-card { opacity: 1; transform: none; }
  .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
}

/* ============================================================
   BLOG — lista wpisów i artykuł (v1.1.0)
   ============================================================ */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.blog-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(12,43,38,0.13); border-color: var(--coral); }
.blog-card__link { text-decoration: none; display: block; height: 100%; }
.blog-card__thumb img { width: 100%; height: 200px; object-fit: cover; }
.blog-card__body { padding: 26px 24px 28px; }
.blog-card__meta { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--coral); display: block; margin-bottom: 12px; }
.blog-card__meta a { color: inherit; text-decoration: none; }
.blog-card__title { font-size: 21px; margin-bottom: 10px; }
.blog-card__excerpt { font-size: 15px; color: var(--tx-soft); margin-bottom: 16px; }
.blog-card__more { font-weight: 600; font-size: 14.5px; color: var(--ink); }
.blog-card:hover .blog-card__more .arr { transform: translateX(4px); }
.blog-card__more .arr { display: inline-block; transition: transform 0.25s var(--ease); }
.blog-pagination { margin-top: 48px; font-family: var(--font-mono); }
.blog-pagination .nav-links { display: flex; gap: 14px; position: static; transform: none; visibility: visible; opacity: 1; pointer-events: auto; background: none; flex-direction: row; height: auto; width: auto; }
.blog-pagination a, .blog-pagination span.current {
  text-decoration: none; padding: 9px 16px; border-radius: 999px;
  border: 1.5px solid var(--line); color: var(--tx); font-size: 14px;
}
.blog-pagination span.current { background: var(--ink); color: var(--tx-inv); border-color: var(--ink); }

/* Artykuł */
.prose { max-width: 780px; margin: 0 auto; }
.crumbs { font-size: 12.5px; color: var(--tx-soft); margin-bottom: 34px; }
.crumbs a { color: var(--coral); text-decoration: none; }
.prose__head h1 { font-size: clamp(32px, 4.6vw, 52px); }
.prose__thumb { margin: 34px 0; }
.prose__thumb img { border-radius: var(--r-lg); }
.prose__content { font-size: 17.5px; line-height: 1.75; }
.prose__content h2 { font-size: 30px; margin-top: 1.6em; }
.prose__content h3 { font-size: 23px; margin-top: 1.4em; }
.prose__content a { color: var(--coral-deep); }
.prose__content blockquote {
  border-left: 3px solid var(--coral); margin: 1.6em 0; padding: 4px 0 4px 22px;
  color: var(--tx-soft); font-style: italic;
}
.prose__content table { width: 100%; border-collapse: collapse; font-family: var(--font-mono); font-size: 14.5px; font-variant-numeric: tabular-nums; }
.prose__content th, .prose__content td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.prose__content th { background: var(--paper); }
.prose__cta {
  margin-top: 64px; background: var(--ink); color: var(--tx-inv);
  border-radius: var(--r-lg); padding: 44px 40px;
}
.prose__cta h2 { color: #fff; font-size: 28px; }
.prose__cta p { color: var(--tx-inv-soft); }

@media (max-width: 1020px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .blog-grid { grid-template-columns: 1fr; } }

/* ============================================================
   v1.3.0 — poprawki formalne i lokalizacje
   ============================================================ */

/* Plakietka "Priorytet 2026" na mobile: nad treścią, nie na treści */
@media (max-width: 680px) {
  .service__badge {
    position: static;
    display: inline-block;
    margin-bottom: 14px;
  }
  .service--featured { padding-top: 30px; }
}

/* Nota formalna pod sekcją księgowość + prawo */
.duo__note {
  margin-top: 40px;
  font-size: 12.5px;
  color: var(--tx-soft);
  border-top: 1px dashed var(--line);
  padding-top: 18px;
  max-width: 78ch;
}

/* Lokalizacje z pinezką Google Maps */
.locations {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.loc-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-decoration: none;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 18px 16px;
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s var(--ease);
}
.loc-card:hover { transform: translateY(-4px); border-color: var(--coral); box-shadow: 0 14px 30px rgba(12,43,38,0.10); }
.loc-card__pin { color: var(--coral); }
.loc-card__city { font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--tx); }
.loc-card__link { font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--tx-soft); }
.loc-card:hover .loc-card__link { color: var(--coral); }

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

/* v1.3.1 — adres na karcie lokalizacji */
.loc-card__addr { font-size: 13.5px; color: var(--tx-soft); line-height: 1.4; }

/* ============================================================
   v1.4.0 — pasek infolinii, przycisk dzwonienia, klauzula RODO
   ============================================================ */
:root { --topbar-h: 42px; }

/* Pasek infolinii — przyklejony do góry, nad nawigacją */
.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 101;
  height: var(--topbar-h);
  background: #081F1B;
  border-bottom: 1px solid var(--line-light);
  font-size: 13px;
}
.topbar .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.topbar a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--tx-inv-soft);
  transition: color 0.2s;
}
.topbar a:hover { color: var(--mint); }
.topbar__phone { font-weight: 500; }
.topbar__phone svg { color: var(--coral); }
.topbar__phone strong { color: #fff; letter-spacing: 0.04em; }
.topbar__email svg { color: var(--mint); }

/* Nawigacja i hero schodzą o wysokość paska niżej */
.site-nav { top: var(--topbar-h); }
.hero { padding-top: calc(170px + var(--topbar-h)); }

/* Przycisk "Zadzwoń do nas" w hero */
.btn--call { border-color: var(--mint); color: var(--mint); }
.btn--call:hover { background: rgba(127, 214, 174, 0.12); border-color: var(--mint); color: #fff; }
.btn--call svg { flex-shrink: 0; }

/* Klauzula informacyjna RODO — zwijana, nie przytłacza formularza */
.rodo-info { margin: -8px 0 24px; }
.rodo-info summary {
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tx-soft);
  list-style: none;
}
.rodo-info summary::before { content: "▸ "; color: var(--coral); }
.rodo-info[open] summary::before { content: "▾ "; }
.rodo-info summary::-webkit-details-marker { display: none; }
.rodo-info p {
  font-size: 12px;
  line-height: 1.6;
  color: var(--tx-soft);
  margin: 10px 0 0;
  padding: 12px 14px;
  background: var(--mist);
  border-radius: 10px;
}

@media (max-width: 680px) {
  /* Na małych ekranach pasek pokazuje tylko telefon — czysto i klikalnie */
  .topbar__email { display: none; }
  .topbar .wrap { justify-content: center; }
  .hero { padding-top: calc(130px + var(--topbar-h)); }
}

/* ============================================================
   v1.4.1 — telefon w pasku zawsze w całości, w jednej linii
   ============================================================ */
/* Numer ma absolutny priorytet: nie zawija się i nie kurczy */
.topbar a { white-space: nowrap; }
.topbar__phone { flex-shrink: 0; }
/* E-mail ustępuje miejsca: kurczy się i skraca wielokropkiem */
.topbar__email { min-width: 0; }
.topbar__email span { overflow: hidden; text-overflow: ellipsis; }
/* Na węższych ekranach (małe tablety, telefony poziomo) e-mail znika wcześniej */
@media (max-width: 860px) {
  .topbar__email { display: none; }
  .topbar .wrap { justify-content: center; }
}
/* Na bardzo wąskich ekranach chowamy słowo "Infolinia:" — zostaje ikona i numer */
@media (max-width: 380px) {
  .topbar__label { display: none; }
}
