/*
 * Po Sprawie — main.css
 * Główny stylesheet motywu. Złożony z dwóch warstw layoutu:
 *   1) GLOBALNE (z nav.css): reset, nawigacja/mega-menu, stopka, breadcrumb
 *   2) STRONA GŁÓWNA (z inline <style> homepage): hero, mapa pomocy, proces,
 *      sytuacje, FAQ, Strefa Eksperta, CTA końcowe
 * Paleta brand book (kość słoniowa / grafit / szałwia) już wdrożona w wartościach.
 * Style podstron dochodzą w kolejnych etapach.
 */

/* ============================================================
   WARSTWA 1 — GLOBALNE (nawigacja, stopka, breadcrumb)
   ============================================================ */

/* === NAV - mega-menu wspólny dla wszystkich stron === */

.nav-wrap { position: sticky; top: 0; z-index: 100; border-bottom: 0.5px solid rgba(0,0,0,0.06); background: rgba(243,236,227,0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.nav-container { max-width: 1440px; margin: 0 auto; padding: 0 56px; position: relative; }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; gap: 40px; }
.nav-brand { display: flex; align-items: center; gap: 8px; text-decoration: none; color: inherit; flex-shrink: 0; }
.nav-logo-img { display: block; height: 56px; width: auto; }

.nav-menu { display: flex; gap: 4px; align-items: center; }
.nav-item { position: static; }
.nav-trigger { display: flex; align-items: center; gap: 4px; font-size: 14px; color: #6B6862; padding: 8px 14px; border-radius: 7px; cursor: pointer; text-decoration: none; transition: all 0.15s; font-family: inherit; background: transparent; border: 0; position: relative; }
.nav-trigger:hover { color: #3D3F43; background: rgba(0,0,0,0.04); }
.nav-trigger.is-active { color: #3D3F43; font-weight: 500; }
.nav-trigger.is-active::after { content: ""; position: absolute; bottom: -19px; left: 14px; right: 14px; height: 2px; background: #5F7355; border-radius: 2px; }
.nav-trigger i, .megamenu-icon i, .megamenu-featured-link i { font-family: 'tabler-icons' !important; }
.nav-chevron { font-size: 14px; opacity: 0.6; transition: transform 0.2s; }
.nav-item:hover .nav-chevron { transform: rotate(180deg); opacity: 1; }

.nav-cta { font-size: 14px; padding: 10px 18px; background: #3D3F43; color: #fff; border-radius: 7px; font-weight: 500; text-decoration: none; transition: background 0.15s; flex-shrink: 0; }
.nav-cta:hover { background: #4D5054; }

/* === MEGA-MENU PANEL === */
/* Pozycjonowany względem .nav-container (sticky bar) - zawsze przy lewej krawędzi,
   żeby przy 920px szerokości panelu nigdy nie wystawał poza viewport */
.megamenu {
  position: absolute;
  top: 100%;
  left: 56px;
  width: 920px;
  background: #fff;
  border: 0.5px solid rgba(0,0,0,0.08);
  border-radius: 16px;
  box-shadow: 0 24px 64px -16px rgba(0,0,0,0.18), 0 4px 12px -4px rgba(0,0,0,0.06);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s 0.18s;
  padding: 32px;
  z-index: 10;
  margin-top: 0;
}
/* Otwieranie sterowane JS klasą .is-open na .nav-item */
.nav-item.is-open .megamenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s 0s;
}
.nav-item.is-open .nav-chevron { transform: rotate(180deg); opacity: 1; }

/* Niewidoczny mostek pod panelem — łapie mysz w drodze z belki do panelu.
   Panel jest dzieckiem .nav-item, więc mysz nad mostkiem wciąż jest "w pozycji". */
.megamenu::before {
  content: "";
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 18px;
}

/* Menu "O nas" — wąskie, przyklejone do prawej krawędzi (bo to ostatnia pozycja) */
.megamenu.is-narrow { left: auto; right: 56px; width: 360px; padding: 20px; }
.megamenu.is-narrow .megamenu-grid { display: block; }
.megamenu.is-narrow .megamenu-list { grid-template-columns: 1fr; gap: 2px; }

.megamenu-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; }
.megamenu-list { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.megamenu-link { display: grid; grid-template-columns: 36px 1fr; gap: 12px; padding: 12px 14px; border-radius: 8px; text-decoration: none; color: inherit; transition: background 0.15s; align-items: start; }
.megamenu-link:hover { background: #F3ECE3; }
.megamenu-link { position: relative; }
.megamenu-link.is-current { background: rgba(95,115,85,0.05); }
.megamenu-link.is-current::before { content: ""; position: absolute; left: -2px; top: 14px; bottom: 14px; width: 3px; background: #5F7355; border-radius: 2px; }
.megamenu-icon { width: 36px; height: 36px; border-radius: 8px; background: rgba(95,115,85,0.08); color: #5F7355; display: flex; align-items: center; justify-content: center; font-size: 17px; flex-shrink: 0; }
.megamenu-link:hover .megamenu-icon { background: rgba(95,115,85,0.12); }
.megamenu-link.is-current .megamenu-icon { background: #5F7355; color: #fff; }
.megamenu-link.is-current .megamenu-name { font-weight: 500; }
.megamenu-name { font-size: 14px; font-weight: 500; color: #3D3F43; margin: 0 0 3px; line-height: 1.3; letter-spacing: -0.005em; }
.megamenu-desc { font-size: 12px; color: #6B6862; line-height: 1.45; margin: 0; }

/* Panel "Featured" po prawej */
.megamenu-featured { background: linear-gradient(135deg, #E9DECF 0%, #DED0BC 100%); border-radius: 12px; padding: 24px; display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: inherit; transition: all 0.15s; }
.megamenu-featured:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -8px rgba(0,0,0,0.1); }
.megamenu-featured-eyebrow { font-size: 10px; color: #5F7355; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500; display: flex; align-items: center; gap: 5px; }
.megamenu-featured-eyebrow::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: #5F7355; }
.megamenu-featured-title { font-size: 17px; font-weight: 500; line-height: 1.3; margin: 0; letter-spacing: -0.012em; color: #3D3F43; }
.megamenu-featured-desc { font-size: 13px; color: #6B6862; line-height: 1.55; margin: 0; }
.megamenu-featured-link { font-size: 13px; color: #5F7355; font-weight: 500; margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 5px; }

/* Single-column menu (dla mniejszych grup jak "O nas") */
.megamenu.is-narrow { width: 360px; padding: 20px; }
.megamenu.is-narrow .megamenu-grid { display: block; }
.megamenu.is-narrow .megamenu-list { grid-template-columns: 1fr; gap: 2px; }

@media (max-width: 1024px) {
  .nav-menu { display: none; }
  .nav-container { padding: 0 32px; }
}

/* === DIAG-ROW: reużywalny wzorzec rozwijanego elementu jako WARSTWY (floating layer) ===
   Wrapper .diag-row owija parę item + answer. Item w przepływie, answer absolute pod nim.
   Dzięki temu rozwinięcie NIE pcha treści pod hero — answer nakłada się jako warstwa
   z mocnym cieniem, dając efekt unoszącego się panelu. */
.diag-row { position: relative; }
.diag-row > [class*="-answer"],
.diag-row > [class*="-answer"].is-open {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  margin: 0;
  z-index: 10;
  background: #fff;
  border: 0.5px solid rgba(95,115,85,0.3);
  border-left: 3px solid #5F7355;
  border-radius: 10px;
  padding: 18px 20px;
  box-shadow: 0 1px 0 rgba(0,0,0,0.02), 0 32px 80px -24px rgba(61,63,67,0.4), 0 10px 24px -10px rgba(61,63,67,0.18);
}
.diag-row:has(> [class*="-item"].is-selected) > [class*="-answer"],
.diag-row > [class*="-answer"].is-open {
  display: block;
  animation: diagSlide 0.25s ease;
}
@keyframes diagSlide {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
.diag-row > [class*="-item"].is-selected { z-index: 11; }


/* ============================================================
   WARSTWA 2 — STRONA GŁÓWNA
   ============================================================ */

    *, *::before, *::after { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body { font-family: 'Inter', system-ui, -apple-system, sans-serif; color: #3D3F43; background: #F3ECE3; margin: 0; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

    /* === NAV === */
    .container { max-width: 1440px; margin: 0 auto; padding: 0 56px; }

    /* === HERO === */
    .hero {
      min-height: 640px;
      padding: 24px 0 64px;
      position: relative;
      overflow: hidden;
      background: linear-gradient(180deg, #F3ECE3 0%, #E9DECF 100%);
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
    }
    .hero::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(90deg, rgba(243,236,227,0.86) 0%, rgba(243,236,227,0.78) 30%, rgba(243,236,227,0.60) 60%, rgba(243,236,227,0.46) 100%);
      z-index: 1;
    }
    .hero > .container { position: relative; z-index: 2; }
    .hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 96px; align-items: start; }
    .hero h1, .hero .lead, .hero .trust {
      text-shadow: 0 1px 2px rgba(243,236,227,0.6), 0 0 20px rgba(243,236,227,0.4);
    }
    .eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: #6B6862; padding: 6px 14px; border: 0.5px solid rgba(0,0,0,0.12); border-radius: 100px; margin-bottom: 32px; background: rgba(255,255,255,0.6); }
    .eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: #5F7355; }
    h1 { font-size: 64px; line-height: 1.04; font-weight: 500; letter-spacing: -0.03em; margin: 0 0 28px; }
    h1 em { font-style: normal; color: #8A857B; font-weight: 400; }
    .lead { font-size: 19px; line-height: 1.55; color: #55585C; margin: 0 0 36px; max-width: 90%; }
    .cta-row { display: flex; gap: 12px; margin-bottom: 36px; flex-wrap: wrap; }
    .cta { font-size: 15px; padding: 13px 22px; border-radius: 8px; font-weight: 500; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; transition: all 0.15s; border: 0; font-family: inherit; }
    .cta-primary { background: #3D3F43; color: #fff; }
    .cta-primary:hover { background: #4D5054; }
    .cta-ghost { background: transparent; color: #3D3F43; border: 0.5px solid rgba(0,0,0,0.2); }
    .cta-ghost:hover { background: rgba(0,0,0,0.04); }
    .trust { display: flex; gap: 22px; font-size: 13px; color: #6B6862; flex-wrap: wrap; }
    .trust-item { display: flex; align-items: center; gap: 6px; }

    /* === TL;DR jako sekcja pod hero (Apple key features style) === */
    .tldr-section { padding: 64px 0; background: #fff; border-bottom: 0.5px solid rgba(0,0,0,0.06); }
    .tldr-section-grid { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: start; }
    .tldr-section-label { font-size: 13px; color: #8A857B; letter-spacing: 0.1em; text-transform: uppercase; margin: 0 0 4px; font-weight: 500; }
    .tldr-section-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .tldr-fact { display: flex; flex-direction: column; gap: 6px; background: #F3ECE3; border: 1px solid rgba(0,0,0,0.06); border-radius: 12px; padding: 20px 22px; transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease, background .28s ease; }
    .tldr-fact:hover { transform: translateY(-3px); background: #fff; border-color: rgba(95,115,85,0.45); box-shadow: 0 14px 30px -14px rgba(61,63,67,0.20); }
    .tldr-fact-label { font-size: 12px; color: #8A857B; letter-spacing: 0.02em; transition: color .28s ease; }
    .tldr-fact:hover .tldr-fact-label { color: #5F7355; }
    .tldr-fact-value { font-size: 16px; font-weight: 500; color: #3D3F43; line-height: 1.4; letter-spacing: -0.005em; }

    /* === KARTA DIAGNOSTYCZNA === */
    .card { background: #fff; border-radius: 18px; border: 0.5px solid rgba(0,0,0,0.08); padding: 32px; box-shadow: 0 1px 0 rgba(0,0,0,0.02), 0 32px 64px -32px rgba(0,0,0,0.12); }
    .card-step { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
    .card-step-dots { display: flex; gap: 4px; }
    .card-step-dot { width: 22px; height: 2px; border-radius: 1px; background: rgba(0,0,0,0.1); }
    .card-step-dot.is-active { background: #3D3F43; }
    .card-label { font-size: 12px; color: #8A857B; letter-spacing: 0.02em; }
    .card-title { font-size: 22px; font-weight: 500; margin: 10px 0 24px; letter-spacing: -0.015em; }
    .option { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border: 0.5px solid rgba(0,0,0,0.1); border-radius: 10px; margin-bottom: 8px; cursor: pointer; transition: all 0.15s; background: #fff; text-decoration: none; color: inherit; }
    .option:hover { border-color: #3D3F43; background: #F3ECE3; }
    .option-text { font-size: 15px; color: #3D3F43; font-weight: 500; }
    .option-sub { font-size: 13px; color: #8A857B; margin-top: 3px; }
    .option-arrow { font-size: 15px; color: #8A857B; }
    .card-foot { font-size: 13px; color: #6B6862; text-align: center; margin-top: 20px; padding-top: 18px; border-top: 0.5px solid rgba(0,0,0,0.08); }

    /* === SECTIONS === */
    section.s { padding: 128px 0; }
    section.s-alt { background: #fff; }
    section.s-dark { background: #3D3F43; color: #fff; }
    section.s-tight { padding: 88px 0; }
    .section-head { max-width: 760px; margin: 0 auto 72px; text-align: center; }
    .section-head-left { text-align: left; margin: 0 0 56px; max-width: 720px; }
    .kicker { font-size: 13px; color: #6B6862; letter-spacing: 0.1em; text-transform: uppercase; margin: 0 0 18px; font-weight: 500; }
    .s-dark .kicker { color: #8A857B; }
    h2 { font-size: 48px; line-height: 1.12; font-weight: 500; letter-spacing: -0.025em; margin: 0 0 20px; }
    .section-lead { font-size: 19px; line-height: 1.55; color: #6B6862; margin: 0; }
    .s-dark .section-lead { color: #B8B0A2; }

    /* === SEO INTRO === */
    .intro-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 96px; align-items: start; }
    .intro-h2 { font-size: 40px; line-height: 1.15; font-weight: 500; letter-spacing: -0.022em; margin: 0 0 24px; }
    .intro-body { font-size: 17px; line-height: 1.7; color: #55585C; }
    .intro-body p { margin: 0 0 18px; }
    .intro-body strong { font-weight: 500; color: #3D3F43; }
    .intro-aside { background: #F3ECE3; border-radius: 14px; padding: 32px; border: 0.5px solid rgba(0,0,0,0.06); margin-top: 64px; }
    .intro-aside-title { font-size: 14px; font-weight: 500; color: #8A857B; letter-spacing: 0.05em; text-transform: uppercase; margin: 0 0 18px; }
    .intro-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; }
    .intro-fact { padding: 16px 0; border-bottom: 0.5px solid rgba(0,0,0,0.08); display: grid; grid-template-columns: 160px 1fr; gap: 16px; align-items: start; }
    .intro-fact:nth-last-child(-n+2) { border: 0; }
    .intro-fact-label { font-size: 13px; color: #8A857B; }
    .intro-fact-value { font-size: 15px; font-weight: 500; line-height: 1.4; }

    /* === JAK TO DZIAŁA - 3 kroki === */
    .steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
    .step3 { padding: 44px 36px; background: #F3ECE3; border-radius: 16px; border: 0.5px solid rgba(0,0,0,0.06); }
    .step3-num { font-size: 14px; color: #8A857B; font-weight: 500; letter-spacing: 0.02em; margin: 0 0 18px; }
    .step3-title { font-size: 24px; font-weight: 500; margin: 0 0 14px; letter-spacing: -0.015em; }
    .step3-text { font-size: 16px; line-height: 1.6; color: #6B6862; margin: 0; }

    /* === TIMELINE === */
    .timeline { position: relative; padding: 20px 0 0; }
    .timeline-track { position: absolute; left: 0; right: 0; top: 60px; height: 1px; background: rgba(0,0,0,0.1); }
    .timeline-progress { position: absolute; left: 0; top: 60px; height: 1px; background: #5F7355; width: 28%; }
    .timeline-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; position: relative; }
    .tl-dot { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 1.5px solid #3D3F43; margin: 0 auto 28px; position: relative; z-index: 2; box-shadow: 0 0 0 6px #F3ECE3; }
    .tl-dot.is-progress { background: #5F7355; border-color: #5F7355; box-shadow: 0 0 0 6px #F3ECE3, 0 0 0 9px rgba(95,115,85,0.2); }
    .tl-time { font-size: 13px; color: #5F7355; font-weight: 500; letter-spacing: 0.02em; margin: 0 0 8px; text-align: center; }
    .tl-title { font-size: 17px; font-weight: 500; margin: 0 0 8px; letter-spacing: -0.01em; text-align: center; line-height: 1.3; }
    .tl-text { font-size: 13px; line-height: 1.55; color: #6B6862; margin: 0; text-align: center; }
    .tl-footnote { margin-top: 56px; padding: 24px; background: #F3ECE3; border-radius: 12px; border-left: 2px solid #5F7355; font-size: 14px; line-height: 1.6; color: #55585C; max-width: 900px; }
    .tl-footnote strong { font-weight: 500; color: #3D3F43; }

    /* === TWOJA SYTUACJA === */
    .sit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
    .sit-card { background: #F3ECE3; padding: 32px; border-radius: 14px; border: 0.5px solid rgba(0,0,0,0.06); cursor: pointer; text-decoration: none; color: inherit; transition: all 0.15s; display: block; }
    .sit-card:hover { border-color: #3D3F43; transform: translateY(-2px); }
    .sit-quote { font-size: 20px; font-weight: 500; margin: 0 0 12px; line-height: 1.32; letter-spacing: -0.012em; }
    .sit-tag { font-size: 13px; color: #8A857B; margin: 0 0 22px; }
    .sit-link { font-size: 14px; color: #5F7355; font-weight: 500; display: inline-flex; align-items: center; gap: 4px; }

    /* === CASE STUDIES === */
    .cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
    .case { background: #fff; padding: 40px 32px; border-radius: 14px; border: 0.5px solid rgba(0,0,0,0.08); display: flex; flex-direction: column; }
    .case-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; padding-bottom: 24px; border-bottom: 0.5px solid rgba(0,0,0,0.08); }
    .case-ident { display: flex; align-items: center; gap: 14px; }
    .case-avatar { width: 44px; height: 44px; border-radius: 50%; background: #E9DECF; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 500; letter-spacing: -0.01em; }
    .case-name { font-size: 15px; font-weight: 500; }
    .case-meta { font-size: 12px; color: #8A857B; }
    .case-status { font-size: 11px; padding: 4px 10px; border-radius: 100px; background: rgba(95,115,85,0.08); color: #47553F; font-weight: 500; letter-spacing: 0.02em; }
    .case-q { font-size: 17px; line-height: 1.5; margin: 0 0 24px; font-weight: 500; letter-spacing: -0.005em; }
    .case-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 12px; margin-top: auto; padding-top: 24px; border-top: 0.5px solid rgba(0,0,0,0.08); }
    .case-fact-label { font-size: 11px; color: #8A857B; letter-spacing: 0.04em; text-transform: uppercase; margin: 0 0 4px; }
    .case-fact-val { font-size: 14px; font-weight: 500; }

    /* === DLACZEGO MY === */
    .why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(0,0,0,0.08); border: 0.5px solid rgba(0,0,0,0.08); border-radius: 16px; overflow: hidden; }
    .why-item { background: #F3ECE3; padding: 48px; }
    .why-icon { width: 44px; height: 44px; border-radius: 11px; background: rgba(95,115,85,0.08); display: flex; align-items: center; justify-content: center; color: #5F7355; margin-bottom: 22px; font-size: 22px; }
    .why-title { font-size: 20px; font-weight: 500; margin: 0 0 12px; letter-spacing: -0.012em; }
    .why-text { font-size: 16px; line-height: 1.6; color: #6B6862; margin: 0; }

    /* === ZESPÓŁ === */
    .team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
    .team-card { background: #F3ECE3; padding: 32px 28px; border-radius: 14px; border: 0.5px solid rgba(0,0,0,0.06); }
    .team-avatar { width: 56px; height: 56px; border-radius: 50%; background: #3D3F43; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 17px; font-weight: 500; margin-bottom: 22px; letter-spacing: -0.01em; }
    .team-name { font-size: 17px; font-weight: 500; margin: 0 0 4px; letter-spacing: -0.01em; }
    .team-role { font-size: 13px; color: #8A857B; margin: 0 0 18px; }
    .team-spec { font-size: 13px; line-height: 1.55; color: #6B6862; margin: 0; }
    .team-foot { margin-top: 56px; text-align: center; }
    .team-foot-cta { font-size: 14px; font-weight: 500; display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border: 0.5px solid rgba(0,0,0,0.2); border-radius: 8px; cursor: pointer; text-decoration: none; color: inherit; }
    .team-foot-cta:hover { background: rgba(0,0,0,0.04); }

    /* === LICZBY === */
    .stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px; }
    .stat-num { font-size: 60px; font-weight: 500; letter-spacing: -0.03em; line-height: 1; margin: 0 0 14px; color: #fff; }
    .stat-label { font-size: 15px; color: #8A857B; line-height: 1.5; margin: 0; }

    /* === STREFA EKSPERTA === */
    .expert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .expert-card { background: #F3ECE3; padding: 30px; border-radius: 14px; border: 0.5px solid rgba(0,0,0,0.06); cursor: pointer; display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: inherit; transition: border-color 0.15s; }
    .expert-card:hover { border-color: #3D3F43; }
    .expert-kicker { font-size: 12px; color: #8A857B; letter-spacing: 0.08em; text-transform: uppercase; }
    .expert-title { font-size: 20px; font-weight: 500; margin: 0; letter-spacing: -0.012em; }
    .expert-text { font-size: 15px; line-height: 1.55; color: #6B6862; margin: 0; flex: 1; }
    .expert-link { font-size: 14px; font-weight: 500; display: inline-flex; align-items: center; gap: 4px; color: #3D3F43; }

    /* === FAQ (z formularzem) === */
    .faq-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 64px; align-items: start; }
    .faq { display: flex; flex-direction: column; }
    .faq-item { border-bottom: 0.5px solid rgba(0,0,0,0.1); }
    .faq-item:first-child { border-top: 0.5px solid rgba(0,0,0,0.1); }
    .faq-q { padding: 24px 0; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: start; cursor: pointer; user-select: none; }
    .faq-q-text { font-size: 17px; font-weight: 500; letter-spacing: -0.01em; }
    .faq-q-icon { color: #8A857B; font-size: 17px; margin-top: 3px; transition: transform 0.2s; }
    .faq-item.is-open .faq-q-icon { transform: rotate(45deg); }
    .faq-a { font-size: 15px; line-height: 1.65; color: #6B6862; padding: 0 60px 24px 0; display: none; }
    .faq-item.is-open .faq-a { display: block; }

    .faq-form { background: #F3ECE3; border-radius: 14px; padding: 32px; border: 0.5px solid rgba(0,0,0,0.08); position: sticky; top: 96px; }
    .faq-form-eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: #5F7355; padding: 4px 12px; background: rgba(95,115,85,0.08); border-radius: 100px; margin-bottom: 16px; font-weight: 500; letter-spacing: 0.02em; }
    .faq-form-eb-dot { width: 5px; height: 5px; border-radius: 50%; background: #5F7355; }
    .faq-form-title { font-size: 20px; font-weight: 500; margin: 0 0 10px; letter-spacing: -0.015em; line-height: 1.3; }
    .faq-form-lead { font-size: 14px; color: #6B6862; margin: 0 0 22px; line-height: 1.55; }
    .faq-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
    .faq-label { font-size: 12px; color: #6B6862; font-weight: 500; letter-spacing: 0.01em; }
    .faq-input, .faq-textarea { font-family: inherit; font-size: 14px; padding: 11px 14px; background: #fff; border: 0.5px solid rgba(0,0,0,0.15); border-radius: 7px; color: #3D3F43; outline: none; transition: border-color 0.15s; }
    .faq-input:focus, .faq-textarea:focus { border-color: #3D3F43; }
    .faq-textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
    .faq-submit { font-family: inherit; font-size: 14px; padding: 12px 18px; background: #3D3F43; color: #fff; border: 0; border-radius: 7px; font-weight: 500; cursor: pointer; margin-top: 4px; display: flex; align-items: center; justify-content: center; gap: 6px; transition: background 0.15s; }
    .faq-submit:hover { background: #4D5054; }
    .faq-form-meta { font-size: 12px; color: #8A857B; text-align: center; margin: 14px 0 0; line-height: 1.5; }

    /* === FINAL CTA === */
    .final { padding: 128px 0; background: #3D3F43; color: #fff; text-align: center; }
    .final-h2 { font-size: 56px; font-weight: 500; letter-spacing: -0.028em; margin: 0 auto 20px; line-height: 1.08; max-width: 860px; color: #fff; }
    .final-h2 em { font-style: normal; color: #8A857B; font-weight: 400; }
    .final-lead { font-size: 18px; color: #B8B0A2; max-width: 620px; margin: 0 auto 40px; line-height: 1.55; }
    .final-cta { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
    /* CTA 2-kolumny + karta zaufania (2026-05-31) */
    .final-inner { display: grid; grid-template-columns: 1fr 340px; gap: 72px; align-items: center; text-align: left; }
    .final-inner .final-h2 { max-width: none; margin: 0 0 16px; }
    .final-inner .final-lead { max-width: 520px; margin: 0 0 32px; }
    .final-inner .final-cta { justify-content: flex-start; }
    .final-trust { border: 1px solid rgba(255,255,255,0.14); border-radius: 14px; padding: 24px; background: rgba(255,255,255,0.03); }
    .final-trust-row { display: flex; align-items: flex-start; gap: 11px; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
    .final-trust-row:first-child { padding-top: 0; }
    .final-trust-row:last-child { border-bottom: 0; padding-bottom: 0; }
    .final-trust-icon { color: #A4B29B; font-size: 18px; flex-shrink: 0; margin-top: 1px; }
    .final-trust-row span { font-size: 14px; color: #E7E3DB; line-height: 1.4; }
    @media (max-width: 768px) {
      .final-inner { grid-template-columns: 1fr; gap: 28px; text-align: center; }
      .final-inner .final-h2 { margin-left: auto; margin-right: auto; }
      .final-inner .final-lead { margin-left: auto; margin-right: auto; }
      .final-inner .final-cta { justify-content: center; }
    }
    .cta-light { background: #fff; color: #3D3F43; }
    .cta-light:hover { background: #E9DECF; }
    .cta-ghost-dark { background: transparent; color: #fff; border: 0.5px solid rgba(255,255,255,0.25); }
    .cta-ghost-dark:hover { background: rgba(255,255,255,0.06); }

    /* === FOOTER === */
    .foot-link:hover { color: #3D3F43; }

    /* === RESPONSIVE === */
    @media (max-width: 1024px) {
      .container { padding: 0 32px; }
      .hero, section.s, .final { padding: 64px 0; }
      h1 { font-size: 44px; }
      h2 { font-size: 30px; }
      .intro-h2 { font-size: 26px; }
      .final-h2 { font-size: 34px; }
      .hero-grid { grid-template-columns: 1fr; gap: 40px; }
      .intro-grid { grid-template-columns: 1fr; gap: 40px; }
      .tldr-section { padding: 48px 0; }
      .tldr-section-grid { grid-template-columns: 1fr; gap: 24px; }
      .tldr-section-facts { grid-template-columns: repeat(2, 1fr); gap: 12px; }
      .timeline-grid { grid-template-columns: repeat(2, 1fr); }
      .timeline-track, .timeline-progress { display: none; }
      .tl-dot { margin: 0 0 16px; }
      .tl-time, .tl-title, .tl-text { text-align: left; }
      .steps3, .sit-grid, .cases, .expert-grid, .stats { grid-template-columns: repeat(2, 1fr); }
      .why-grid, .team { grid-template-columns: repeat(2, 1fr); }
      .faq-layout { grid-template-columns: 1fr; gap: 40px; }
      .faq-form { position: static; }
    }
    @media (max-width: 720px) {
      .container { padding: 0 20px; }
      h1 { font-size: 34px; }
      h2 { font-size: 26px; }
      .stat-num { font-size: 42px; }
      .final-h2 { font-size: 30px; }
      .tldr-section-facts { grid-template-columns: 1fr; gap: 20px; }
      .steps3, .sit-grid, .cases, .expert-grid, .stats { grid-template-columns: 1fr; }
      .why-grid, .team { grid-template-columns: 1fr; }
      .case-facts { grid-template-columns: 1fr; }
    }
  
/* === STOPKA (brand) === */
.footer { background: #F3ECE3; padding: 72px 0 32px; border-top: 0.5px solid rgba(0,0,0,0.07); }
.foot-grid { display: grid; grid-template-columns: 1.7fr 1fr 1.15fr 1fr 0.9fr; gap: 44px; margin-bottom: 0; padding-bottom: 52px; border-bottom: 0.5px solid rgba(0,0,0,0.09); }
.foot-brand { padding-right: 12px; }
.foot-logo-link { display: inline-block; }
.foot-logo { height: 50px; width: auto; display: block; margin-bottom: 18px; }
.foot-claim { font-size: 13px; color: #6B6862; margin: 0 0 20px; line-height: 1.6; max-width: 280px; }
.foot-contact { display: flex; flex-direction: column; gap: 6px; }
.foot-contact a { font-size: 13px; color: #6B6862; text-decoration: none; }
.foot-contact a:hover { color: #3D3F43; }
.foot-title { font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.07em; color: #8A857B; margin: 0 0 16px; }
.foot-links { display: flex; flex-direction: column; gap: 10px; }
.foot-link { font-size: 14px; color: #6B6862; text-decoration: none; transition: color 0.15s; }
.foot-link:hover { color: #3D3F43; }
.foot-bottom { padding-top: 26px; display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: #8A857B; }
.foot-bottom-links a { color: #8A857B; text-decoration: none; margin-left: 22px; }
.foot-bottom-links a:hover { color: #3D3F43; }



/* ============================================================
   WARSTWA 3 — STRONA KONTAKT (+ breadcrumb globalny)
   Przeniesione z inline <style> posprawie_kontakt.html.
   .crumb* jest wspólny dla wszystkich podstron.
   ============================================================ */

    *, *::before, *::after { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body { font-family: 'Inter', system-ui, -apple-system, sans-serif; color: #3D3F43; background: #F3ECE3; margin: 0; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
    .container { max-width: 1440px; margin: 0 auto; padding: 0 56px; }

    .crumb { padding: 0; margin-bottom: 16px; font-size: 13px; color: #8A857B; }
    .crumb a { color: #8A857B; text-decoration: none; }
    .crumb-sep { margin: 0 8px; color: #B8B0A2; }
    .crumb-curr { color: #3D3F43; }

    /* === HERO === */
    .hero {
      min-height: 640px;
      padding: 24px 0 64px;
      position: relative;
      overflow: hidden;
      background: linear-gradient(180deg, #F3ECE3 0%, #E9DECF 100%);
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
    }
    .hero::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(90deg, rgba(243,236,227,0.86) 0%, rgba(243,236,227,0.78) 30%, rgba(243,236,227,0.60) 60%, rgba(243,236,227,0.46) 100%);
      z-index: 1;
    }
    .hero > .container { position: relative; z-index: 2; }
    .hero h1, .hero .lead, .hero .trust {
      text-shadow: 0 1px 2px rgba(243,236,227,0.6), 0 0 20px rgba(243,236,227,0.4);
    }
    .hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 80px; align-items: start; margin-top: 0; }
    .hero-content { display: flex; flex-direction: column; }
    h1 { font-size: 52px; line-height: 1.06; font-weight: 500; letter-spacing: -0.028em; margin: 0 0 24px; }
    h1 em { font-style: normal; color: #8A857B; font-weight: 400; }
    .lead { font-size: 19px; line-height: 1.55; color: #55585C; margin: 0 0 32px; max-width: 95%; }
    .trust { display: flex; gap: 22px; font-size: 13px; color: #6B6862; flex-wrap: wrap; }
    .trust-item { display: flex; align-items: center; gap: 6px; }

    /* === KONTAKT METODY (w hero) === */
    .contact-methods { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
    .contact-method { display: grid; grid-template-columns: 44px 1fr; gap: 18px; align-items: center; padding: 18px 22px; background: rgba(255,255,255,0.7); backdrop-filter: blur(8px); border-radius: 12px; border: 0.5px solid rgba(0,0,0,0.08); text-decoration: none; color: inherit; transition: all 0.15s; }
    .contact-method:hover { background: #fff; border-color: rgba(0,0,0,0.18); transform: translateX(4px); }
    .contact-method-icon { width: 44px; height: 44px; border-radius: 10px; background: rgba(95,115,85,0.1); color: #5F7355; display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
    .contact-method-label { font-size: 12px; color: #8A857B; letter-spacing: 0.04em; text-transform: uppercase; font-weight: 500; margin: 0 0 4px; }
    .contact-method-value { font-size: 17px; font-weight: 500; color: #3D3F43; letter-spacing: -0.01em; }

    /* === FORMULARZ - karta po prawej === */
    .contact-form { background: #fff; border-radius: 18px; border: 0.5px solid rgba(0,0,0,0.08); padding: 32px; box-shadow: 0 1px 0 rgba(0,0,0,0.02), 0 32px 64px -32px rgba(0,0,0,0.12); }
    .form-eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: #5F7355; padding: 3px 10px; background: rgba(95,115,85,0.08); border-radius: 100px; margin-bottom: 14px; font-weight: 500; letter-spacing: 0.02em; }
    .form-eyebrow-dot { width: 5px; height: 5px; border-radius: 50%; background: #5F7355; }
    .form-title { font-size: 22px; font-weight: 500; margin: 0 0 8px; letter-spacing: -0.015em; line-height: 1.3; }
    .form-sub { font-size: 14px; color: #6B6862; margin: 0 0 22px; line-height: 1.55; }
    .form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
    .form-label { font-size: 12px; color: #6B6862; font-weight: 500; letter-spacing: 0.01em; }
    .form-input, .form-textarea, .form-select { font-family: inherit; font-size: 14px; padding: 12px 14px; background: #F3ECE3; border: 0.5px solid rgba(0,0,0,0.12); border-radius: 8px; color: #3D3F43; outline: none; transition: all 0.15s; }
    .form-input:focus, .form-textarea:focus, .form-select:focus { border-color: #3D3F43; background: #fff; }
    .form-textarea { min-height: 100px; resize: vertical; line-height: 1.5; }
    .form-submit { font-family: inherit; font-size: 14px; padding: 13px 18px; background: #3D3F43; color: #fff; border: 0; border-radius: 8px; font-weight: 500; cursor: pointer; margin-top: 6px; display: flex; align-items: center; justify-content: center; gap: 6px; }
    .form-submit:hover { background: #4D5054; }
    .form-meta { font-size: 12px; color: #8A857B; text-align: center; margin: 12px 0 0; line-height: 1.5; }

    /* === SECTIONS === */
    section.s { padding: 112px 0; }
    section.s-alt { background: #fff; }
    section.s-dark { background: #3D3F43; color: #fff; }
    .section-head { max-width: 760px; margin: 0 auto 64px; text-align: center; }
    .kicker { font-size: 13px; color: #6B6862; letter-spacing: 0.1em; text-transform: uppercase; margin: 0 0 16px; font-weight: 500; }
    .s-dark .kicker { color: #8A857B; }
    h2 { font-size: 44px; line-height: 1.13; font-weight: 500; letter-spacing: -0.022em; margin: 0 0 18px; }
    .section-lead { font-size: 18px; line-height: 1.55; color: #6B6862; margin: 0; }

    /* === GODZINY + INFORMACJE === */
    .info-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 32px; }
    .info-card { background: #fff; border-radius: 14px; padding: 36px 32px; border: 0.5px solid rgba(0,0,0,0.06); }
    .info-icon { width: 44px; height: 44px; border-radius: 10px; background: rgba(95,115,85,0.08); color: #5F7355; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 20px; }
    .info-title { font-size: 18px; font-weight: 500; margin: 0 0 12px; letter-spacing: -0.012em; line-height: 1.3; }
    .info-text { font-size: 14px; line-height: 1.65; color: #6B6862; margin: 0; }
    .info-text strong { color: #3D3F43; font-weight: 500; }
    .info-list { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
    .info-li { display: grid; grid-template-columns: 100px 1fr; font-size: 13px; gap: 12px; }
    .info-li-label { color: #8A857B; }
    .info-li-val { color: #3D3F43; font-weight: 500; }

    /* === FAQ KONTAKTOWE - 2 kolumny: lista + formularz sticky === */
    .faq-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 64px; align-items: start; }
    .faq-list { }
    .faq-item { border-bottom: 0.5px solid rgba(0,0,0,0.1); }
    .faq-item:first-child { border-top: 0.5px solid rgba(0,0,0,0.1); }
    .faq-q { padding: 24px 0; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: start; cursor: pointer; user-select: none; }
    .faq-q-text { font-size: 17px; font-weight: 500; letter-spacing: -0.01em; }
    .faq-q-icon { color: #8A857B; font-size: 17px; margin-top: 3px; transition: transform 0.2s; }
    .faq-item.is-open .faq-q-icon { transform: rotate(45deg); }
    .faq-a { font-size: 15px; line-height: 1.65; color: #6B6862; padding: 0 60px 24px 0; display: none; }
    .faq-item.is-open .faq-a { display: block; }

    .faq-form-side { background: #F3ECE3; border-radius: 14px; padding: 32px; border: 0.5px solid rgba(0,0,0,0.08); position: sticky; top: 96px; }
    .faq-form-eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: #5F7355; padding: 4px 12px; background: rgba(95,115,85,0.08); border-radius: 100px; margin-bottom: 16px; font-weight: 500; letter-spacing: 0.02em; }
    .faq-form-eb-dot { width: 5px; height: 5px; border-radius: 50%; background: #5F7355; }
    .faq-form-title { font-size: 20px; font-weight: 500; margin: 0 0 10px; letter-spacing: -0.015em; line-height: 1.3; }
    .faq-form-lead { font-size: 14px; color: #6B6862; margin: 0 0 22px; line-height: 1.55; }
    .faq-form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
    .faq-form-label { font-size: 12px; color: #6B6862; font-weight: 500; letter-spacing: 0.01em; }
    .faq-form-input, .faq-form-textarea { font-family: inherit; font-size: 14px; padding: 11px 14px; background: #fff; border: 0.5px solid rgba(0,0,0,0.15); border-radius: 7px; color: #3D3F43; outline: none; transition: border-color 0.15s; }
    .faq-form-input:focus, .faq-form-textarea:focus { border-color: #3D3F43; }
    .faq-form-textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
    .faq-form-submit { font-family: inherit; font-size: 14px; padding: 12px 18px; background: #3D3F43; color: #fff; border: 0; border-radius: 7px; font-weight: 500; cursor: pointer; margin-top: 4px; display: flex; align-items: center; justify-content: center; gap: 6px; }
    .faq-form-submit:hover { background: #4D5054; }
    .faq-form-meta { font-size: 12px; color: #8A857B; text-align: center; margin: 14px 0 0; line-height: 1.5; }

    /* === FINAL CTA === */
    .final { padding: 112px 0; background: #3D3F43; color: #fff; text-align: center; }
    .final-h2 { font-size: 48px; font-weight: 500; letter-spacing: -0.025em; margin: 0 auto 18px; line-height: 1.1; max-width: 780px; color: #fff; }
    .final-h2 em { font-style: normal; color: #8A857B; font-weight: 400; }
    .final-lead { font-size: 17px; color: #B8B0A2; max-width: 580px; margin: 0 auto 36px; line-height: 1.55; }
    .final-cta { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
    /* CTA 2-kolumny + karta zaufania (2026-05-31) */
    .final-inner { display: grid; grid-template-columns: 1fr 340px; gap: 72px; align-items: center; text-align: left; }
    .final-inner .final-h2 { max-width: none; margin: 0 0 16px; }
    .final-inner .final-lead { max-width: 520px; margin: 0 0 32px; }
    .final-inner .final-cta { justify-content: flex-start; }
    .final-trust { border: 1px solid rgba(255,255,255,0.14); border-radius: 14px; padding: 24px; background: rgba(255,255,255,0.03); }
    .final-trust-row { display: flex; align-items: flex-start; gap: 11px; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
    .final-trust-row:first-child { padding-top: 0; }
    .final-trust-row:last-child { border-bottom: 0; padding-bottom: 0; }
    .final-trust-icon { color: #A4B29B; font-size: 18px; flex-shrink: 0; margin-top: 1px; }
    .final-trust-row span { font-size: 14px; color: #E7E3DB; line-height: 1.4; }
    @media (max-width: 768px) {
      .final-inner { grid-template-columns: 1fr; gap: 28px; text-align: center; }
      .final-inner .final-h2 { margin-left: auto; margin-right: auto; }
      .final-inner .final-lead { margin-left: auto; margin-right: auto; }
      .final-inner .final-cta { justify-content: center; }
    }
    .cta { font-size: 15px; padding: 13px 22px; border-radius: 8px; font-weight: 500; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; transition: all 0.15s; border: 0; font-family: inherit; }
    .cta-light { background: #fff; color: #3D3F43; }
    .cta-light:hover { background: #E9DECF; }
    .cta-ghost-dark { background: transparent; color: #fff; border: 0.5px solid rgba(255,255,255,0.25); }
    .cta-ghost-dark:hover { background: rgba(255,255,255,0.06); }

    /* === FOOTER === */
    .foot-link:hover { color: #3D3F43; }

    /* === RESPONSIVE === */
    @media (max-width: 1024px) {
      .container { padding: 0 32px; }
      .hero { height: auto; min-height: auto; padding: 24px 0 64px; }
      section.s, .final { padding: 64px 0; }
      h1 { font-size: 40px; }
      h2 { font-size: 28px; }
      .final-h2 { font-size: 32px; }
      .hero-grid { grid-template-columns: 1fr; gap: 40px; }
      .info-grid { grid-template-columns: 1fr; gap: 20px; }
      .faq-layout { grid-template-columns: 1fr; gap: 40px; }
      .faq-form-side { position: static; }
    }
    @media (max-width: 720px) {
      .container { padding: 0 20px; }
      h1 { font-size: 32px; }
      h2 { font-size: 24px; }
    }
  
/* === STOPKA (brand) === */
.footer { background: #F3ECE3; padding: 72px 0 32px; border-top: 0.5px solid rgba(0,0,0,0.07); }
.foot-grid { display: grid; grid-template-columns: 1.7fr 1fr 1.15fr 1fr 0.9fr; gap: 44px; margin-bottom: 0; padding-bottom: 52px; border-bottom: 0.5px solid rgba(0,0,0,0.09); }
.foot-brand { padding-right: 12px; }
.foot-logo-link { display: inline-block; }
.foot-logo { height: 50px; width: auto; display: block; margin-bottom: 18px; }
.foot-claim { font-size: 13px; color: #6B6862; margin: 0 0 20px; line-height: 1.6; max-width: 280px; }
.foot-contact { display: flex; flex-direction: column; gap: 6px; }
.foot-contact a { font-size: 13px; color: #6B6862; text-decoration: none; }
.foot-contact a:hover { color: #3D3F43; }
.foot-title { font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.07em; color: #8A857B; margin: 0 0 16px; }
.foot-links { display: flex; flex-direction: column; gap: 10px; }
.foot-link { font-size: 14px; color: #6B6862; text-decoration: none; transition: color 0.15s; }
.foot-link:hover { color: #3D3F43; }
.foot-bottom { padding-top: 26px; display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: #8A857B; }
.foot-bottom-links a { color: #8A857B; text-decoration: none; margin-left: 22px; }
.foot-bottom-links a:hover { color: #3D3F43; }



/* ============================================================
   WARSTWA 4 — FORMULARZE (honeypot, zgoda RODO, status)
   Dodane przy module form-handler. Reszta stylów formularzy
   (pola, przyciski) jest w warstwach 2-3 z layoutu.
   ============================================================ */

/* Honeypot — ukryty przed ludźmi, widoczny dla botów. Nie display:none
   (część botów to wykrywa) — wypychamy poza ekran. */
.posprawie-hp {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Zgoda RODO */
.posprawie-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.5;
  color: #6B6862;
  cursor: pointer;
}
.posprawie-consent input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  accent-color: #5F7355;
  cursor: pointer;
}

/* Status wysyłki formularza */
.posprawie-form-status {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.45;
  min-height: 1em;
}
.posprawie-form-status.is-pending { color: #6B6862; }
.posprawie-form-status.is-ok      { color: #5F7355; font-weight: 500; }
.posprawie-form-status.is-error   { color: #B0463C; }

/* Disabled state przycisku w trakcie wysyłki */
.posprawie-form button[type="submit"]:disabled {
  opacity: 0.6;
  cursor: progress;
}

/* ============================================================
   MENU MOBILNE — hamburger + drawer (renderowany w stopce)
   Hamburger widoczny ≤1024px (gdy znika .nav-menu). Drawer wysuwa
   się z prawej, overlay przyciemnia tło, sekcje rozwijane (accordion).
   ============================================================ */

/* Hamburger — domyślnie ukryty (desktop), widoczny na mobile */
.nav-burger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 42px; height: 42px; padding: 0; border: none; background: transparent; cursor: pointer; flex-shrink: 0; }
.nav-burger-bar { display: block; width: 22px; height: 2px; background: #3D3F43; border-radius: 2px; transition: transform 0.25s, opacity 0.2s; margin: 0 auto; }
body.mobile-nav-open .nav-burger-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.mobile-nav-open .nav-burger-bar:nth-child(2) { opacity: 0; }
body.mobile-nav-open .nav-burger-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Drawer — kontener (ukryty, nad wszystkim) */
.m-drawer { position: fixed; inset: 0; z-index: 1000; visibility: hidden; pointer-events: none; }
.m-drawer[aria-hidden="false"], body.mobile-nav-open .m-drawer { visibility: visible; pointer-events: auto; }

.m-drawer-overlay { position: absolute; inset: 0; background: rgba(61,63,67,0.45); opacity: 0; transition: opacity 0.28s; }
body.mobile-nav-open .m-drawer-overlay { opacity: 1; }

.m-drawer-panel { position: absolute; top: 0; right: 0; height: 100%; width: min(86vw, 360px); background: #FAFAF7; box-shadow: -8px 0 40px rgba(0,0,0,0.18); transform: translateX(100%); transition: transform 0.3s cubic-bezier(0.4,0,0.2,1); display: flex; flex-direction: column; overflow-y: auto; }
body.mobile-nav-open .m-drawer-panel { transform: translateX(0); }

.m-drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid rgba(0,0,0,0.07); }
.m-drawer-brand { font-size: 18px; font-weight: 500; color: #3D3F43; }
.m-drawer-close { width: 38px; height: 38px; border: none; background: transparent; cursor: pointer; color: #4D5054; font-size: 22px; display: flex; align-items: center; justify-content: center; }

.m-drawer-body { flex: 1; padding: 12px 0; }

/* Accordion sekcji */
.m-acc { border-bottom: 1px solid rgba(0,0,0,0.05); }
.m-acc-trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 16px 22px; border: none; background: transparent; font-size: 16px; font-weight: 500; color: #3D3F43; cursor: pointer; text-align: left; font-family: inherit; }
.m-acc-trigger i { transition: transform 0.25s; color: #8A857B; font-size: 18px; }
.m-acc-trigger[aria-expanded="true"] i { transform: rotate(180deg); }
.m-acc-panel { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.m-acc-panel.is-open { max-height: 600px; }
.m-acc-panel a { display: block; padding: 11px 22px 11px 34px; color: #4D5054; text-decoration: none; font-size: 15px; }
.m-acc-panel a:hover { color: #5F7355; background: rgba(95,115,85,0.05); }

/* Pojedyncze linki (O nas, Kontakt) */
.m-drawer-link { display: block; padding: 16px 22px; font-size: 16px; font-weight: 500; color: #3D3F43; text-decoration: none; border-bottom: 1px solid rgba(0,0,0,0.05); }
.m-drawer-link:hover { color: #5F7355; }

.m-drawer-foot { padding: 20px 22px; border-top: 1px solid rgba(0,0,0,0.07); }
.m-drawer-cta { display: block; text-align: center; width: 100%; }

@media (max-width: 1024px) {
  .nav-burger { display: flex; }
}

/* Na wąskich ekranach CTA w nagłówku zabiera miejsce hamburgerowi —
   ukrywamy je (CTA jest dostępne w drawerze). Logo + hamburger zostają. */
@media (max-width: 640px) {
  .nav-cta { display: none; }
}

/* ============================================================
   BANER ZGÓD (cookies) — Consent Mode v2
   Układ wzorowany na amer-cars: pływająca karta, przyciski-pigułki,
   okno ustawień, pływający przycisk powrotu. Paleta posprawie.
   ============================================================ */

/* Atrybut hidden musi wygrać z własnym display elementu */
.pc-banner[hidden],
.pc-modal[hidden],
.pc-fab[hidden] { display: none !important; }

/* --- Pływająca karta na dole --- */
.pc-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 10000;
  background: rgba(46, 48, 51, 0.97);
  backdrop-filter: saturate(140%) blur(16px);
  -webkit-backdrop-filter: saturate(140%) blur(16px);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.42);
  padding: 18px 24px;
  animation: pc-slide-in 0.35s ease-out;
}
@keyframes pc-slide-in { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.pc-banner-inner { max-width: 1180px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.pc-banner-text { flex: 1; min-width: 0; }
.pc-banner-title { font-size: 15px; font-weight: 600; color: #F5F2ED; margin: 0 0 4px; letter-spacing: -0.005em; }
.pc-banner-text p { font-size: 13.5px; line-height: 1.5; color: #ADA79D; margin: 0; max-width: 720px; }
.pc-banner-text a { color: #A4B29B; text-decoration: none; border-bottom: 1px solid rgba(164,178,155,0.35); transition: border-color 0.15s ease; }
.pc-banner-text a:hover { border-bottom-color: #A4B29B; }
.pc-banner-actions { display: flex; gap: 8px; flex-shrink: 0; }

/* --- Przyciski-pigułki --- */
.pc-btn {
  appearance: none; -webkit-appearance: none; border: none; background: none;
  padding: 10px 18px; border-radius: 999px; font-family: inherit;
  font-size: 13.5px; font-weight: 600; letter-spacing: -0.005em;
  cursor: pointer; transition: all 0.18s ease; white-space: nowrap;
}
.pc-btn-primary { background: linear-gradient(135deg, #6E8763 0%, #5F7355 100%); color: #fff; box-shadow: 0 4px 12px rgba(95,115,85,0.32); }
.pc-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(95,115,85,0.46); }
.pc-btn-ghost { background: rgba(255,255,255,0.05); color: #E4DFD6; border: 1px solid rgba(255,255,255,0.12); }
.pc-btn-ghost:hover { background: rgba(255,255,255,0.09); border-color: rgba(255,255,255,0.2); }

/* --- Okno ustawień --- */
.pc-modal { position: fixed; inset: 0; z-index: 10001; display: flex; align-items: center; justify-content: center; padding: 20px; }
.pc-modal-overlay { position: absolute; inset: 0; background: rgba(20,21,23,0.62); backdrop-filter: blur(3px); }
.pc-modal-dialog {
  position: relative; background: #2E3033; border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px; max-width: 560px; width: 100%; max-height: 86vh;
  display: flex; flex-direction: column; box-shadow: 0 24px 70px rgba(0,0,0,0.5);
  animation: pc-slide-in 0.28s ease-out;
}
.pc-modal-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.pc-modal-head h3 { font-size: 17px; font-weight: 600; color: #F5F2ED; margin: 0; }
.pc-modal-close { background: none; border: none; font-size: 26px; line-height: 1; color: #8A857B; cursor: pointer; padding: 0 4px; transition: color 0.15s; }
.pc-modal-close:hover { color: #F5F2ED; }
.pc-modal-body { padding: 20px 24px; overflow-y: auto; }
.pc-modal-intro { font-size: 13.5px; color: #ADA79D; line-height: 1.55; margin: 0 0 18px; }
.pc-modal-foot { display: flex; gap: 8px; justify-content: flex-end; padding: 16px 24px; border-top: 1px solid rgba(255,255,255,0.08); flex-wrap: wrap; }

/* --- Kategorie --- */
.pc-cat { display: flex; gap: 18px; align-items: flex-start; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.pc-cat:last-child { border-bottom: none; }
.pc-cat-name { font-size: 14.5px; font-weight: 600; color: #F5F2ED; margin: 0 0 4px; }
.pc-cat-desc { font-size: 13px; line-height: 1.5; color: #9B958B; margin: 0; }

.pc-toggle { position: relative; display: inline-block; width: 44px; height: 24px; flex-shrink: 0; cursor: pointer; }
.pc-toggle input { opacity: 0; width: 0; height: 0; }
.pc-toggle-slider { position: absolute; inset: 0; background: rgba(255,255,255,0.16); border-radius: 24px; transition: background 0.2s; }
.pc-toggle-slider::before { content: ""; position: absolute; height: 18px; width: 18px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: transform 0.2s; }
.pc-toggle input:checked + .pc-toggle-slider { background: #5F7355; }
.pc-toggle input:checked + .pc-toggle-slider::before { transform: translateX(20px); }
.pc-toggle-locked { cursor: not-allowed; opacity: 0.55; }

/* --- Pływający przycisk powrotu (po dokonaniu wyboru) --- */
.pc-fab {
  position: fixed; left: 16px; bottom: 16px; z-index: 9999;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(46,48,51,0.94);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.12); color: #A4B29B;
  cursor: pointer; display: grid; place-items: center; font-size: 19px;
  transition: all 0.18s ease; box-shadow: 0 6px 20px rgba(0,0,0,0.28);
}
.pc-fab:hover { border-color: rgba(164,178,155,0.45); transform: translateY(-2px); }

@media (max-width: 860px) {
  .pc-banner { left: 10px; right: 10px; bottom: 10px; padding: 16px 18px; }
  .pc-banner-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .pc-banner-actions { width: 100%; }
  .pc-btn { flex: 1; min-width: 0; padding: 11px 12px; }
  .pc-modal-foot .pc-btn { flex: 1; }
}

/* Strona główna i pozostałe hero bez osobnej warstwy — tło z pola hero_bg_image */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-image: var(--hero-bg, none);
  background-size: cover; background-position: right center; background-repeat: no-repeat;
}
.hero:has(.hero-bg)::before { background-image: none; }

/* Karty interaktywne w hero — lekki prześwit (reguła bliźniacza do subpages.css;
   strona główna nie ładuje subpages.css, więc musi mieć własną). */
.hero .hero-grid > aside {
  background-color: rgba(255,255,255,0.90);
  backdrop-filter: saturate(115%) blur(10px);
  -webkit-backdrop-filter: saturate(115%) blur(10px);
}
