/* INWE100 — arkusz stylów strony (kolory i font wg księgi znaków 2019) */

@font-face { font-family: "Fira Sans"; src: url("../fonts/fira-sans-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Fira Sans"; src: url("../fonts/fira-sans-medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Fira Sans"; src: url("../fonts/fira-sans-semibold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Fira Sans"; src: url("../fonts/fira-sans-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --granat: #232161;
  --granat-ciemny: #17153f;
  --zloto: #b9a35f;
  --zloto-jasne: #e9e1c8;
  --tlo: #f7f5f0;
  --bialy: #ffffff;
  --tekst: #1b1a33;
  --tekst-2: #4c4b63;
  --linia: #e3dfd4;
  --blad: #b3261e;
  --ok: #2e6b3f;
  --promien: 14px;
  --cien: 0 10px 30px rgba(35, 33, 97, 0.08);
  --szer: 1160px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Fira Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--tekst);
  background: var(--tlo);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--granat); }
a:hover { color: var(--granat-ciemny); }
h1, h2, h3 { color: var(--granat); line-height: 1.15; margin: 0 0 0.5em; font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.05rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.kontener { width: 100%; max-width: var(--szer); margin: 0 auto; padding: 0 20px; }
.sekcja { padding: 88px 0; }
.sekcja--biala { background: var(--bialy); }
.sekcja--granat { background: var(--granat); color: #e8e7f3; }
.sekcja--granat h2, .sekcja--granat h3 { color: var(--bialy); }
.nadtytul { display: inline-block; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--zloto); margin-bottom: 14px; }
.wstep { font-size: 1.15rem; color: var(--tekst-2); max-width: 720px; }
.sekcja--granat .wstep { color: #cfcde4; }
.wycentrowane { text-align: center; }
.wycentrowane .wstep { margin-left: auto; margin-right: auto; }
.pomin { position: absolute; left: -9999px; top: 0; background: var(--bialy); padding: 10px 16px; z-index: 100; }
.pomin:focus { left: 16px; top: 16px; }
:focus-visible { outline: 3px solid var(--zloto); outline-offset: 3px; }

/* Przyciski */
.przycisk {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-size: 1rem; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.przycisk:hover { transform: translateY(-1px); }
.przycisk--glowny { background: var(--zloto); color: var(--granat-ciemny); }
.przycisk--glowny:hover { background: #c8b473; color: var(--granat-ciemny); }
.przycisk--obrys { border-color: var(--granat); color: var(--granat); background: transparent; }
.przycisk--obrys:hover { background: var(--granat); color: var(--bialy); }
.przycisk--jasny-obrys { border-color: rgba(255,255,255,0.6); color: var(--bialy); }
.przycisk--jasny-obrys:hover { background: var(--bialy); color: var(--granat); }
.przycisk[disabled] { opacity: 0.6; cursor: wait; transform: none; }

/* Nagłówek */
.naglowek { position: sticky; top: 0; z-index: 50; background: rgba(247, 245, 240, 0.94); backdrop-filter: saturate(150%) blur(8px); border-bottom: 1px solid var(--linia); }
.naglowek__wnetrze { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.naglowek__logo img { width: 168px; height: auto; }
.menu { display: flex; align-items: center; gap: 26px; }
.menu a { text-decoration: none; font-weight: 500; font-size: 0.98rem; color: var(--tekst); }
.menu a:hover { color: var(--granat); }
.menu .przycisk { min-height: 44px; padding: 10px 20px; color: var(--granat-ciemny); }
.menu-przelacznik { display: none; background: none; border: 0; padding: 10px; cursor: pointer; color: var(--granat); }
.menu-przelacznik svg { width: 28px; height: 28px; }

/* Hero */
.hero { padding: 64px 0 72px; }
.hero__siatka { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 span { color: var(--zloto); display: block; }
.hero__lead { font-size: 1.2rem; color: var(--tekst-2); max-width: 560px; }
.hero__akcje { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 0; }
.hero__zdjecie { position: relative; }
.hero__zdjecie img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px; box-shadow: var(--cien); }
.hero__plakietka {
  position: absolute; left: -22px; bottom: 26px; background: var(--bialy); border-radius: var(--promien);
  box-shadow: var(--cien); padding: 14px 18px; max-width: 270px; font-size: 0.92rem; line-height: 1.4;
}
.hero__plakietka strong { display: block; color: var(--granat); font-size: 1rem; }
.dowody { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--linia); }
.dowod strong { display: block; font-size: 1.45rem; color: var(--granat); line-height: 1.2; }
.dowod span { font-size: 0.95rem; color: var(--tekst-2); }

/* Problem */
.problemy { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 36px; }
.problem { background: var(--tlo); border-radius: var(--promien); padding: 24px 26px; border-left: 4px solid var(--zloto); }
.problem p { margin: 0; font-size: 1.08rem; }

/* Kroki */
.kroki { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: krok; }
.krok { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); border-radius: var(--promien); padding: 26px 22px; counter-increment: krok; }
.krok::before { content: counter(krok); display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--zloto); color: var(--granat-ciemny); font-weight: 700; margin-bottom: 14px; }
.krok h3 { font-size: 1.12rem; }
.krok p { margin: 0; font-size: 0.98rem; color: #d6d4ea; }
.plan-b { margin-top: 28px; padding: 22px 26px; border-radius: var(--promien); background: rgba(185,163,95,0.14); border: 1px solid rgba(185,163,95,0.4); }
.plan-b p { margin: 0; color: #f1edde; }
.plan-b strong { color: var(--bialy); }

/* Przejrzystość */
.przejrzystosc { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 36px; }
.filar { background: var(--bialy); border-radius: var(--promien); padding: 26px 22px; box-shadow: var(--cien); }
.filar h3 { font-size: 1.08rem; }
.filar p { margin: 0; font-size: 0.98rem; color: var(--tekst-2); }
.filar svg { width: 34px; height: 34px; color: var(--zloto); margin-bottom: 12px; }
.obietnica { margin: 44px auto 0; text-align: center; font-size: clamp(1.3rem, 2.6vw, 1.75rem); font-weight: 600; color: var(--granat); max-width: 820px; }

/* Realizacje */
.realizacje { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 40px; }
.realizacja { background: var(--bialy); border-radius: 18px; overflow: hidden; box-shadow: var(--cien); }
.para { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; background: var(--bialy); }
.para[hidden] { display: none; }
.para figure { margin: 0; position: relative; }
.para img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.para figcaption { position: absolute; left: 10px; top: 10px; background: rgba(23,21,63,0.82); color: var(--bialy); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.para figure:last-child figcaption { background: var(--zloto); color: var(--granat-ciemny); }
.realizacja__opis { padding: 20px 22px 22px; }
.realizacja__opis h3 { margin-bottom: 6px; }
.realizacja__opis p { margin: 0 0 12px; color: var(--tekst-2); font-size: 0.98rem; }
.przelacznik-par { display: flex; gap: 8px; flex-wrap: wrap; }
.przelacznik-par button { font: inherit; font-size: 0.88rem; font-weight: 500; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--linia); background: var(--tlo); color: var(--tekst); cursor: pointer; }
.przelacznik-par button[aria-pressed="true"] { background: var(--granat); color: var(--bialy); border-color: var(--granat); }
.uwaga-mala { font-size: 0.85rem; color: var(--tekst-2); margin-top: 18px; }

/* Opinie */
.opinie { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 36px; }
.opinia { margin: 0; background: var(--bialy); border-radius: var(--promien); padding: 28px 28px 24px; box-shadow: var(--cien); position: relative; }
.opinia::before { content: "\201E"; position: absolute; top: -6px; left: 22px; font-size: 4rem; line-height: 1; color: var(--zloto); font-weight: 700; }
.opinia blockquote { margin: 18px 0 16px; font-size: 1.04rem; }
.opinia figcaption { font-size: 0.92rem; color: var(--tekst-2); }
.opinia figcaption strong { color: var(--granat); }

/* O mnie */
.o-mnie { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: center; }
.o-mnie__zdjecie { background: var(--granat); border-radius: 22px; aspect-ratio: 4 / 5; display: grid; place-items: center; overflow: hidden; }
.o-mnie__zdjecie img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.o-mnie__zdjecie .zastepnik { width: 62%; }
.o-mnie ul { padding-left: 1.1em; margin: 0 0 1em; }
.o-mnie li { margin-bottom: 6px; }

/* Dla kogo */
.dla-kogo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 36px; }
.lista-box { border-radius: var(--promien); padding: 28px; background: var(--bialy); box-shadow: var(--cien); }
.lista-box--nie { background: transparent; box-shadow: none; border: 1px solid var(--linia); }
.lista-box ul { list-style: none; padding: 0; margin: 0; }
.lista-box li { position: relative; padding-left: 34px; margin-bottom: 14px; }
.lista-box li::before { content: ""; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%; background: var(--zloto) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23232161' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 14px no-repeat; }
.lista-box--nie li::before { background: #e6e3da url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234c4b63' stroke-width='3'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* FAQ */
.faq { max-width: 860px; margin: 36px auto 0; }
.faq details { background: var(--bialy); border-radius: var(--promien); margin-bottom: 12px; box-shadow: 0 2px 10px rgba(35,33,97,0.05); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 24px; font-weight: 600; color: var(--granat); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; color: var(--zloto); font-weight: 400; }
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding: 0 24px 20px; color: var(--tekst-2); }
.faq details > div p:last-child { margin-bottom: 0; }

/* Formularz */
.rozmowa { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.rozmowa__info ul { padding-left: 1.1em; color: #d6d4ea; }
.karta-formularza { background: var(--bialy); color: var(--tekst); border-radius: 20px; padding: 32px; box-shadow: 0 20px 50px rgba(0,0,0,0.25); }
.postep { display: flex; gap: 6px; margin-bottom: 22px; }
.postep span { flex: 1; height: 5px; border-radius: 3px; background: var(--linia); transition: background 0.3s; }
.postep span.aktywny { background: var(--zloto); }
.krok-form { border: 0; margin: 0; padding: 0; min-width: 0; }
.krok-form[hidden] { display: none; }
.krok-form legend { font-size: 1.25rem; font-weight: 700; color: var(--granat); margin-bottom: 6px; padding: 0; }
.krok-form .podpowiedz { font-size: 0.92rem; color: var(--tekst-2); margin-bottom: 16px; }
.opcje { display: grid; gap: 10px; }
.opcja { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1.5px solid var(--linia); border-radius: 12px; cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.opcja:hover { border-color: var(--zloto); }
.opcja input { width: 20px; height: 20px; accent-color: var(--granat); flex: none; margin: 0; }
.opcja:has(input:checked) { border-color: var(--granat); background: #f3f2f9; }
.pole { margin-bottom: 14px; }
.pole label { display: block; font-weight: 500; font-size: 0.95rem; margin-bottom: 6px; }
.pole input, .pole textarea { width: 100%; font: inherit; font-size: 1rem; padding: 13px 14px; border: 1.5px solid var(--linia); border-radius: 10px; background: var(--bialy); color: var(--tekst); }
.pole input:focus, .pole textarea:focus { border-color: var(--granat); outline: none; box-shadow: 0 0 0 3px rgba(35,33,97,0.12); }
.pole textarea { min-height: 96px; resize: vertical; }
.zgoda { display: flex; gap: 10px; align-items: flex-start; font-size: 0.86rem; color: var(--tekst-2); margin: 8px 0 4px; }
.zgoda input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--granat); flex: none; }
.nawigacja-form { display: flex; justify-content: space-between; gap: 12px; margin-top: 22px; }
.nawigacja-form .przycisk { min-height: 48px; }
.komunikat-bledu { color: var(--blad); font-size: 0.92rem; margin-top: 10px; min-height: 1.2em; }
.miodek { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.wynik h3 { font-size: 1.4rem; }
.wynik p { color: var(--tekst-2); }
.info-odmowa { background: var(--tlo); border-radius: 12px; padding: 16px 18px; margin-bottom: 16px; font-size: 0.97rem; color: var(--tekst-2); }

/* Stopka */
.stopka { background: var(--granat-ciemny); color: #b9b7d3; padding: 56px 0 36px; font-size: 0.92rem; }
.stopka a { color: #e8e7f3; }
.stopka__siatka { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 36px; }
.stopka__logo img { width: 180px; margin-bottom: 14px; }
.stopka h3 { color: var(--bialy); font-size: 1rem; margin-bottom: 10px; }
.stopka p { margin: 0 0 6px; }
.stopka__dol { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 36px; padding-top: 20px; font-size: 0.82rem; color: #8f8db0; }

/* Baner cookies (pojawia się tylko, gdy ustawiony jest piksel Meta) */
.cookies { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80; max-width: 640px; margin: 0 auto; background: var(--bialy); color: var(--tekst); border-radius: 16px; box-shadow: 0 16px 40px rgba(0,0,0,0.2); padding: 20px 22px; font-size: 0.92rem; }
.cookies[hidden] { display: none; }
.cookies__akcje { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.cookies .przycisk { min-height: 42px; padding: 8px 18px; font-size: 0.92rem; }

/* Strony tekstowe */
.tekst-strony { max-width: 820px; margin: 0 auto; padding: 56px 20px 80px; }
.tekst-strony h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.tekst-strony h2 { font-size: 1.35rem; margin-top: 1.6em; }
.tekst-strony li { margin-bottom: 6px; }

/* Responsywność */
@media (max-width: 1020px) {
  .kroki, .przejrzystosc { grid-template-columns: repeat(2, 1fr); }
  .dowody { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  body { font-size: 17px; }
  .sekcja { padding: 64px 0; }
  .menu-przelacznik { display: inline-flex; }
  .menu { display: none; position: absolute; left: 0; right: 0; top: 72px; flex-direction: column; align-items: stretch; gap: 0; background: var(--tlo); border-bottom: 1px solid var(--linia); padding: 8px 20px 20px; box-shadow: 0 12px 24px rgba(0,0,0,0.06); }
  .menu.otwarte { display: flex; }
  .menu a { padding: 14px 0; border-bottom: 1px solid var(--linia); }
  .menu .przycisk { margin-top: 14px; border-bottom: 0; }
  .hero { padding: 36px 0 56px; }
  .hero__siatka, .o-mnie, .rozmowa, .dla-kogo, .realizacje, .opinie, .problemy { grid-template-columns: 1fr; }
  .hero__siatka { gap: 32px; }
  .hero__plakietka { left: 12px; bottom: 12px; right: 12px; max-width: none; }
  .o-mnie { gap: 32px; }
  .o-mnie__zdjecie { max-width: 360px; aspect-ratio: 1 / 1; }
  .stopka__siatka { grid-template-columns: 1fr; }
  .karta-formularza { padding: 24px 20px; }
}
@media (max-width: 560px) {
  .kroki, .przejrzystosc { grid-template-columns: 1fr; }
  .dowod strong { font-size: 1.2rem; }
  .hero__akcje .przycisk { width: 100%; }
  .naglowek__logo img { width: 140px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
