/* Emitha - podpis odręczny Agnieszki. Krój licencjonowany, plik lokalny:
   assets/fonts/Emitha.woff2. Zapas: Great Vibes, gdyby plik nie doszedł. */
@font-face {
  font-family: "Emitha";
  src: url("../assets/fonts/Emitha.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ============================================================
   Centrum Transformacji — Agnieszka Wójtowicz
   Wspólny arkusz stylów · 3 motywy · designed & engine by FQM
   ============================================================ */

/* ---------- Reset / baza ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: "Lato", "Segoe UI", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  transition: background .5s ease, color .5s ease;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
  color: var(--heading);
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: var(--gold); text-decoration: none; transition: color .25s; }
a:hover { color: var(--gold-strong); text-decoration: underline; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--gold); color: #fff; }

/* ---------- Motywy ---------- */
/* Motyw 2 — żywy (domyślny): kolory sukni z sesji + złoto */
:root, html[data-theme="vivid"] {
  --bg: #241026;
  --bg-soft: #301636;
  --surface: rgba(255,255,255,.055);
  --surface-solid: #391b40;
  --border: rgba(255,255,255,.14);
  --text: #efe9f4;
  --muted: #b6abcc;
  --heading: #ffffff;
  --gold: #e3b877;
  --gold-strong: #f4d59d;
  --cta-grad: linear-gradient(135deg, #f2cd8d, #cf9a4f 55%, #b07c33);
  --cta-text: #241503;
  --blob1: #e0218a; --blob2: #d9252e; --blob3: #e8720c;
  --blob4: #b0186e; --blob5: #79b7e8;
  --blob-opacity: .5;
  --nav-bg: rgba(36,16,38,.72);
  --card-shadow: 0 18px 50px rgba(0,0,0,.35);
  --hero-grad: linear-gradient(100deg, #f2cd8d, #e0218a 30%, #e8a34c 55%, #e8720c 80%, #f2cd8d);
  --logo-filter: brightness(1.35) saturate(.85);
}
/* Motyw 1 — elegancki: beż, pudrowy róż, złoto, czekolada, ecru */
html[data-theme="elegant"] {
  --bg: #f7f0e7;
  --bg-soft: #f1e6d9;
  --surface: rgba(255,255,255,.72);
  --surface-solid: #fffaf3;
  --border: rgba(90,58,40,.16);
  --text: #4a3428;
  --muted: #8a6f5f;
  --heading: #33221a;
  --gold: #a97a4b;
  --gold-strong: #7e5430;
  --cta-grad: linear-gradient(135deg, #d9b48f, #b98a5e 55%, #8a5a4a);
  --cta-text: #fff8ef;
  --blob1: #eccfc0; --blob2: #e3ba9b; --blob3: #d9b48f;
  --blob4: #c99a7e; --blob5: #f3e2d6;
  --blob-opacity: .8;
  --nav-bg: rgba(247,240,231,.78);
  --card-shadow: 0 14px 40px rgba(90,58,40,.12);
  --hero-grad: linear-gradient(100deg, #8a5a4a, #c08a52 40%, #a97a4b 70%, #8a5a4a);
  --logo-filter: none;
}
/* Motyw 3 — biały */
html[data-theme="white"] {
  --bg: #ffffff;
  --bg-soft: #f7f6f4;
  --surface: #fbfaf8;
  --surface-solid: #ffffff;
  --border: rgba(30,30,30,.12);
  --text: #2c2a27;
  --muted: #77716a;
  --heading: #171512;
  --gold: #a9803f;
  --gold-strong: #7c5c2a;
  --cta-grad: linear-gradient(135deg, #d9bc7e, #b78f43 55%, #96702c);
  --cta-text: #fffdf7;
  --blob1: #f1ece3; --blob2: #ece2d1; --blob3: #f5efe6;
  --blob4: #e9dfd0; --blob5: #f8f4ec;
  --blob-opacity: .9;
  --nav-bg: rgba(255,255,255,.8);
  --card-shadow: 0 12px 34px rgba(20,20,20,.08);
  --hero-grad: linear-gradient(100deg, #96702c, #cfa75a 45%, #a9803f 75%, #96702c);
  --logo-filter: none;
}

/* ---------- Animowane tło ---------- */
.bg-anim {
  position: fixed; inset: 0; z-index: -1; overflow: hidden;
  background: var(--bg);
  transition: background .5s ease;
}
/* dodatkowe warstwy ruchu: wirująca poświata + pulsująca aura */
.bg-anim::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 160vmax; height: 160vmax;
  margin: -80vmax 0 0 -80vmax; border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 12%, var(--blob1) 18%, transparent 30%, var(--blob4) 48%, transparent 60%, var(--blob2) 78%, transparent 90%);
  opacity: calc(var(--blob-opacity) * .18);
  filter: blur(60px);
  animation: bgspin 48s linear infinite;
}
.bg-anim::after {
  content: ""; position: absolute; inset: -20%;
  background:
    radial-gradient(38vw 38vw at 78% 22%, var(--blob5), transparent 70%),
    radial-gradient(30vw 30vw at 18% 78%, var(--blob3), transparent 70%);
  opacity: calc(var(--blob-opacity) * .35);
  filter: blur(70px);
  animation: bgpulse 11s ease-in-out infinite alternate;
}
@keyframes bgspin { to { transform: rotate(360deg); } }
@keyframes bgpulse {
  from { transform: translate(0,0) scale(1); opacity: calc(var(--blob-opacity) * .22); }
  to   { transform: translate(3vw,-3vh) scale(1.12); opacity: calc(var(--blob-opacity) * .5); }
}
.bg-anim span {
  position: absolute; border-radius: 50%;
  filter: blur(110px);
  opacity: var(--blob-opacity);
  will-change: transform;
}
.bg-anim .b1 { width: 46vw; height: 46vw; left: -12vw; top: -14vh; background: var(--blob1); animation: drift1 17s ease-in-out infinite alternate; }
.bg-anim .b2 { width: 40vw; height: 40vw; right: -10vw; top: 4vh;  background: var(--blob2); animation: drift2 21s ease-in-out infinite alternate; }
.bg-anim .b3 { width: 36vw; height: 36vw; left: 22vw; bottom: -18vh; background: var(--blob3); animation: drift3 15s ease-in-out infinite alternate; }
.bg-anim .b4 { width: 30vw; height: 30vw; right: 8vw; bottom: -8vh; background: var(--blob4); animation: drift1 24s ease-in-out infinite alternate-reverse; }
.bg-anim .b5 { width: 26vw; height: 26vw; left: 40vw; top: 10vh; background: var(--blob5); animation: drift2 19s ease-in-out infinite alternate-reverse; }
.bg-anim .b6 { width: 22vw; height: 22vw; left: 4vw; top: 48vh; background: var(--blob2); animation: drift3 13s ease-in-out infinite alternate-reverse; }
.bg-anim .b7 { width: 24vw; height: 24vw; right: 24vw; bottom: 22vh; background: var(--blob1); animation: drift1 16s ease-in-out infinite alternate; }
/* powolna wędrówka barw całego tła (tylko motyw żywy) */
html[data-theme="vivid"] .bg-anim { animation: bghue 22s ease-in-out infinite alternate; }
@keyframes bghue { from { filter: hue-rotate(0deg); } to { filter: hue-rotate(50deg); } }
@keyframes drift1 { from { transform: translate(0,0) scale(1) rotate(0deg); }   to { transform: translate(11vw, 9vh) scale(1.22) rotate(12deg); } }
@keyframes drift2 { from { transform: translate(0,0) scale(1.12) rotate(0deg); } to { transform: translate(-10vw, 11vh) scale(.9) rotate(-10deg); } }
@keyframes drift3 { from { transform: translate(0,0) scale(.92) rotate(0deg); } to { transform: translate(9vw, -10vh) scale(1.18) rotate(8deg); } }
@media (prefers-reduced-motion: reduce) {
  .bg-anim span, .bg-anim::before, .bg-anim::after { animation: none !important; }
  html[data-theme="vivid"] .bg-anim { animation: none !important; }
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--gold); color: #fff; padding: 10px 18px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Nawigacja ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: background .5s ease;
}
.nav-inner {
  max-width: 1180px; margin: 0 auto; padding: 10px 22px;
  display: flex; align-items: center; gap: 18px;
}
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.brand img { height: 46px; width: auto; max-width: none; flex-shrink: 0; filter: var(--logo-filter); transition: filter .5s; }
.brand-name {
  font-family: "Cormorant Garamond", Georgia, serif; font-weight: 600;
  font-size: 1.16rem; letter-spacing: .05em; color: var(--heading); white-space: nowrap;
}
.brand:hover { text-decoration: none; }
@media (max-width: 500px) { .brand-name { font-size: .98rem; letter-spacing: .02em; } }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: 9px 13px; border-radius: 8px;
  color: var(--text); font-size: .95rem; letter-spacing: .02em;
}
.nav-links a:hover { color: var(--gold-strong); background: var(--surface); text-decoration: none; }
.nav-links a[aria-current="page"] { color: var(--gold); font-weight: 700; }
.nav-cta {
  background: var(--cta-grad); color: var(--cta-text) !important; font-weight: 700;
  padding: 10px 18px !important; border-radius: 999px; white-space: nowrap;
  position: relative; overflow: hidden;
  box-shadow:
    inset 0 2px 3px rgba(255,255,255,.5),
    inset 0 -3px 6px rgba(0,0,0,.25),
    0 6px 18px rgba(0,0,0,.22);
  transition: transform .2s, box-shadow .2s;
}
.nav-cta:hover {
  text-decoration: none !important;
  transform: translateY(-2px) scale(1.05);
  color: var(--cta-text) !important;
  background-size: 220% 100%;
  animation: btnsweep 1.6s linear infinite;
  box-shadow: inset 0 2px 3px rgba(255,255,255,.5), inset 0 -3px 6px rgba(0,0,0,.25), 0 10px 24px rgba(0,0,0,.3), 0 0 20px rgba(227,184,119,.5);
}
.nav-cta:active {
  transform: translateY(1px) scale(.98);
  color: #17c94f !important;
  text-shadow: 0 1px 2px rgba(0,0,0,.35), 0 0 12px rgba(30,220,100,.55);
}
/* błysk przechodzący po złotych przyciskach — stale widoczny w każdym motywie */
.nav-cta::after, .btn-primary::after {
  content: ""; position: absolute; top: -6px; bottom: -6px; left: -80%; width: 55%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.75), transparent);
  transform: skewX(-20deg); pointer-events: none;
  animation: btnglint 3.4s ease-in-out infinite;
}
.nav-cta:hover::after, .btn-primary:hover::after { animation-duration: 1.1s; }
.nav-cta:hover, .btn-primary:hover { filter: brightness(1.12); }
@keyframes btnglint {
  0%   { left: -80%; }
  55%  { left: 135%; }
  100% { left: 135%; }
}
@media (prefers-reduced-motion: reduce) {
  .nav-cta::after, .btn-primary::after { animation: none; }
}

/* ---------- Menu rozwijane „Oferta" ---------- */
.has-sub { position: relative; }
.sub-toggle {
  display: flex; align-items: center; gap: 7px; width: 100%;
  background: none; border: 0; cursor: pointer; font-family: inherit;
  padding: 9px 13px; border-radius: 8px;
  color: var(--text); font-size: .95rem; letter-spacing: .02em; line-height: inherit;
}
.sub-toggle:hover { color: var(--gold-strong); background: var(--surface); }
.has-sub.is-current > .sub-toggle { color: var(--gold); font-weight: 700; }
.sub-toggle .caret { font-size: .72em; transition: transform .25s ease; }
.has-sub.open > .sub-toggle .caret { transform: rotate(180deg); }
.sub-menu {
  list-style: none; margin: 0; padding: 10px;
  position: absolute; top: calc(100% + 10px); left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 240px; z-index: 120;
  background: var(--nav-bg);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border); border-radius: 14px;
  box-shadow: var(--card-shadow);
  opacity: 0; visibility: hidden;
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.sub-menu a { white-space: nowrap; }
@media (min-width: 1121px) {
  .has-sub:hover > .sub-menu,
  .has-sub.open > .sub-menu {
    opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
  }
  .has-sub:hover > .sub-toggle .caret { transform: rotate(180deg); }
}

/* przełącznik motywu — pływający, prawy dolny róg, szklane wypukłe kule */
.theme-switch {
  position: fixed; right: 16px; bottom: 16px; z-index: 140;
  display: flex; gap: 6px; align-items: center;
  padding: 6px 8px; border: 1px solid var(--border); border-radius: 999px;
  background: var(--surface); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 1px rgba(255,255,255,.3), var(--card-shadow);
}
.theme-switch button {
  width: 26px; height: 26px; border-radius: 50%; border: 2px solid transparent;
  cursor: pointer; padding: 0; transition: transform .2s, border-color .2s;
  position: relative;
  box-shadow:
    inset 0 2px 3px rgba(255,255,255,.8),
    inset 0 -2px 4px rgba(0,0,0,.3),
    0 3px 6px rgba(0,0,0,.25);
}
.theme-switch button::after {
  content: ""; position: absolute; left: 20%; top: 8%; width: 45%; height: 35%;
  border-radius: 50%; background: rgba(255,255,255,.75); filter: blur(1px);
  pointer-events: none;
}
.theme-switch button:hover { transform: scale(1.15); }
.theme-switch button[aria-pressed="true"] { border-color: var(--gold); box-shadow: 0 0 0 2px var(--surface-solid); }
.ts-elegant { background: linear-gradient(135deg, #f3e2d6 50%, #c99a7e 50%); }
.ts-vivid   { background: conic-gradient(#e0218a, #2743c8, #e8720c, #e0218a); }
.ts-white   { background: linear-gradient(135deg, #ffffff 50%, #d9bc7e 50%); border: 1px solid #ccc !important; }

/* hamburger */
.nav-toggle { display: none; background: none; border: 1px solid var(--border); border-radius: 8px; padding: 8px 10px; cursor: pointer; color: var(--text); font-size: 1.2rem; line-height: 1; }
@media (max-width: 1250px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--nav-bg); backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 10px 18px 18px; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 10px; font-size: 1.05rem; }
  .nav-cta { text-align: center; margin-top: 8px; }
  /* podmenu w wersji mobilnej: rozwijane w pionie, wcięte */
  .sub-toggle { padding: 13px 10px; font-size: 1.05rem; justify-content: space-between; }
  .sub-menu {
    position: static; transform: none; opacity: 1; visibility: visible;
    min-width: 0; background: transparent; border: 0; box-shadow: none;
    backdrop-filter: none; -webkit-backdrop-filter: none;
    padding: 0 0 4px 18px; display: none;
  }
  .has-sub.open > .sub-menu { display: block; }
}

/* ---------- Layout ---------- */
main { display: block; }
.section { max-width: 1180px; margin: 0 auto; padding: 84px 22px; }
.section--tight { padding-top: 40px; }
.eyebrow {
  font-size: .82rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); font-weight: 700; margin-bottom: 14px;
}
.lead { font-size: 1.18rem; color: var(--muted); max-width: 62ch; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* ---------- Hero ---------- */
.hero { min-height: 92vh; display: flex; align-items: center; padding-top: 110px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; max-width: 1180px; margin: 0 auto; padding: 0 22px; }
.hero h1 .grad {
  background: var(--hero-grad);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: gradslide 9s ease-in-out infinite;
}
@keyframes gradslide { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@media (prefers-reduced-motion: reduce) { .hero h1 .grad { animation: none; } }
.hero-photo { position: relative; }
.hero-photo img {
  border-radius: 22px; box-shadow: var(--card-shadow);
  aspect-ratio: 4 / 5; object-fit: cover; width: 100%;
}
.hero-photo::after {
  content: ""; position: absolute; inset: 14px -14px -14px 14px; z-index: -1;
  border: 1px solid var(--gold); border-radius: 22px; opacity: .55;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
@media (max-width: 860px) {
  .hero { min-height: 0; padding-top: 96px; }
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
}

/* ---------- Przyciski ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border-radius: 999px; font-weight: 700; font-size: 1.02rem;
  border: 1px solid transparent; cursor: pointer; text-decoration: none !important;
  transition: transform .2s, box-shadow .2s, filter .2s;
  font-family: inherit;
  position: relative; overflow: hidden;
}
/* szklany połysk 3D — górna połowa przycisku */
.btn::before {
  content: ""; position: absolute; left: 6%; right: 6%; top: 2px; height: 48%;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,.06));
  pointer-events: none;
}
.btn-primary {
  background: var(--cta-grad); color: var(--cta-text) !important;
  box-shadow:
    inset 0 2px 3px rgba(255,255,255,.55),
    inset 0 -3px 6px rgba(0,0,0,.28),
    0 10px 26px rgba(0,0,0,.28),
    0 2px 6px rgba(0,0,0,.2);
}
/* błysk przechodzący po klawiszu przy najechaniu / klikaniu */
.btn::after {
  content: ""; position: absolute; top: -6px; bottom: -6px; left: -80%; width: 55%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.65), transparent);
  transform: skewX(-20deg); pointer-events: none; transition: left .55s ease;
}
.btn:hover::after, .btn:active::after { left: 135%; }
@keyframes btnsweep { from { background-position: 0% 50%; } to { background-position: 200% 50%; } }
.btn-primary:hover {
  transform: translateY(-3px) scale(1.05);
  color: var(--cta-text) !important;
  background-size: 220% 100%;
  animation: btnsweep 1.6s linear infinite;
  box-shadow:
    inset 0 2px 3px rgba(255,255,255,.55),
    inset 0 -3px 6px rgba(0,0,0,.28),
    0 16px 36px rgba(0,0,0,.32),
    0 0 24px rgba(227,184,119,.55);
}
.btn-primary:active {
  transform: translateY(1px) scale(.98);
  color: #17c94f !important;
  text-shadow: 0 1px 2px rgba(0,0,0,.35), 0 0 12px rgba(30,220,100,.55);
  box-shadow: inset 0 3px 8px rgba(0,0,0,.3), 0 4px 12px rgba(0,0,0,.2), 0 0 20px rgba(30,220,100,.4);
}
.btn-ghost {
  border-color: var(--gold); color: var(--gold) !important;
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.02));
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  box-shadow:
    inset 0 1px 2px rgba(255,255,255,.35),
    inset 0 -2px 4px rgba(0,0,0,.12),
    0 6px 16px rgba(0,0,0,.14);
}
.btn-ghost::before { background: linear-gradient(180deg, rgba(255,255,255,.28), rgba(255,255,255,.03)); }
.btn-ghost:hover {
  transform: translateY(-3px) scale(1.05);
  background: var(--cta-grad); background-size: 220% 100%;
  animation: btnsweep 1.6s linear infinite;
  color: var(--cta-text) !important;
  border-color: transparent;
  box-shadow: inset 0 2px 3px rgba(255,255,255,.5), inset 0 -3px 6px rgba(0,0,0,.25), 0 12px 28px rgba(0,0,0,.26), 0 0 20px rgba(227,184,119,.45);
}
.btn-ghost:active {
  transform: translateY(1px) scale(.98);
  color: #17c94f !important;
  text-shadow: 0 1px 2px rgba(0,0,0,.35), 0 0 12px rgba(30,220,100,.55);
  box-shadow: inset 0 2px 6px rgba(0,0,0,.18), 0 0 20px rgba(30,220,100,.4);
}
.btn.soon { opacity: .55; cursor: not-allowed; pointer-events: none; }

/* ---------- Karty ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 18px; padding: 30px 26px;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--card-shadow); border-color: var(--gold); }
/* karty kontaktu: przyciski równo przy dolnej krawędzi */
.card.center { display: flex; flex-direction: column; }
.card.center .btn { margin-top: auto; align-self: center; }
.card h3 { margin-top: .3em; }
.card .num {
  font-family: "Cormorant Garamond", serif; font-size: 2.6rem; line-height: 1;
  color: var(--gold); font-weight: 700;
}
.pillar-bar { height: 4px; width: 52px; border-radius: 4px; margin: 14px 0 4px; background: var(--cta-grad); }
html[data-theme="vivid"] .pillar-relacje .pillar-bar { background: #e0218a; }
html[data-theme="vivid"] .pillar-rozwoj  .pillar-bar { background: #e8a34c; }
html[data-theme="vivid"] .pillar-praca   .pillar-bar { background: #e8720c; }
html[data-theme="vivid"] .pillar-finanse .pillar-bar { background: #d9252e; }

/* ---------- Cennik ---------- */
.price-card { display: flex; flex-direction: column; }
.price-card .price {
  font-family: "Cormorant Garamond", serif; font-size: 2.3rem; font-weight: 700;
  color: var(--heading); margin: 8px 0 2px;
}
.price-card .per { color: var(--muted); font-size: .92rem; margin-bottom: 14px; }
.price-card ul { margin: 0 0 22px; padding-left: 20px; color: var(--text); }
.price-card ul li { margin-bottom: 7px; }
.price-card .btn { margin-top: auto; }
.price-card.featured { border-color: var(--gold); position: relative; }
.badge {
  position: absolute; top: -13px; left: 24px;
  background: var(--cta-grad); color: var(--cta-text);
  font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 13px; border-radius: 999px;
}

/* ---------- Wideo / rolki ---------- */
.video-frame {
  position: relative; border-radius: 20px; overflow: hidden;
  background: var(--bg-soft); border: 1px solid var(--border);
  aspect-ratio: 16 / 9; box-shadow: var(--card-shadow);
}
.video-frame iframe, .video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px; text-align: center; padding: 24px;
  color: var(--muted);
}
.video-placeholder .play {
  width: 74px; height: 74px; border-radius: 50%;
  background: var(--cta-grad); display: grid; place-items: center;
  color: var(--cta-text); font-size: 1.5rem;
}
.video-overlay {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.4));
  cursor: pointer; transition: opacity .3s;
}
.video-frame.playing .video-overlay { opacity: 0; pointer-events: none; }
.video-overlay .play {
  width: 74px; height: 74px; border-radius: 50%;
  background: var(--cta-grad); display: grid; place-items: center;
  color: var(--cta-text); font-size: 1.5rem;
}
.reel { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 9 / 16; background: var(--bg-soft); border: 1px solid var(--border); }
.reel video { width: 100%; height: 100%; object-fit: cover; display: block; }
.reel .reel-overlay {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.45));
  color: #fff; cursor: pointer; transition: opacity .3s;
}
.reel.playing .reel-overlay { opacity: 0; pointer-events: none; }
.reel .reel-overlay .play {
  width: 62px; height: 62px; border-radius: 50%; background: rgba(255,255,255,.92);
  color: #333; display: grid; place-items: center; font-size: 1.3rem;
}
.reel-card { display: flex; flex-direction: column; gap: 14px; }
.reel-card .btn { width: 100%; }

/* ---------- Opinie (slider) ---------- */
.slider { position: relative; overflow: hidden; }
.slider-track { display: flex; transition: transform .55s cubic-bezier(.4,0,.2,1); }
@media (prefers-reduced-motion: reduce) { .slider-track { transition: none; } }
.slide { flex: 0 0 100%; padding: 6px; }
.quote-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 20px;
  padding: 42px 40px; max-width: 780px; margin: 0 auto; text-align: center;
  backdrop-filter: blur(8px);
}
.quote-card blockquote {
  margin: 0 0 18px; font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.25rem, 2.4vw, 1.65rem); font-style: italic; line-height: 1.45;
  color: var(--heading);
}
.quote-card cite { font-style: normal; color: var(--gold); font-weight: 700; letter-spacing: .06em; }
.quote-card cite span { display: block; color: var(--muted); font-weight: 400; font-size: .85rem; letter-spacing: 0; }
.slider-nav { display: flex; gap: 12px; justify-content: center; margin-top: 26px; align-items: center; }
.slider-nav button {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--gold);
  background: transparent; color: var(--gold); font-size: 1.1rem; cursor: pointer;
  transition: background .2s, color .2s;
}
.slider-nav button:hover { background: var(--gold); color: var(--bg); }
.slider-dots { display: flex; gap: 8px; }
.slider-dots button { width: 10px; height: 10px; padding: 0; border-radius: 50%; border: 1px solid var(--gold); background: transparent; cursor: pointer; }
.slider-dots button[aria-current="true"] { background: var(--gold); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-list details {
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  padding: 4px 24px; margin-bottom: 12px;
}
.faq-list summary {
  cursor: pointer; font-weight: 700; font-size: 1.06rem; padding: 16px 0;
  color: var(--heading); list-style: none; position: relative; padding-right: 34px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  color: var(--gold); font-size: 1.5rem; font-weight: 400; transition: transform .25s;
}
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list details p { color: var(--text); padding-bottom: 16px; margin: 0; }

/* ---------- Newsletter ---------- */
.newsletter-box {
  background: var(--surface); border: 1px solid var(--gold); border-radius: 22px;
  padding: 48px 40px; text-align: center; max-width: 760px; margin: 0 auto;
  backdrop-filter: blur(8px);
}
.newsletter-form { display: flex; gap: 12px; max-width: 520px; margin: 22px auto 0; }
.newsletter-form input[type="email"] {
  flex: 1; padding: 14px 20px; border-radius: 999px; border: 1px solid var(--border);
  background: var(--surface-solid); color: var(--text); font-size: 1rem; font-family: inherit;
}
.newsletter-form input::placeholder { color: var(--muted); }
.form-note { font-size: .8rem; color: var(--muted); margin-top: 14px; }
@media (max-width: 560px) { .newsletter-form { flex-direction: column; } }

/* ---------- Galeria ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery img { border-radius: 16px; aspect-ratio: 3 / 4; object-fit: cover; width: 100%; transition: transform .3s; }
.gallery img:hover { transform: scale(1.02); }
@media (max-width: 700px) { .gallery { grid-template-columns: 1fr 1fr; } }

/* ---------- Sekcja dwukolumnowa ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split img { border-radius: 20px; box-shadow: var(--card-shadow); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 30px; } }

/* ---------- Banner CTA ---------- */
.cta-banner {
  text-align: center; border-radius: 26px; padding: 70px 34px;
  background: var(--surface); border: 1px solid var(--gold);
  position: relative; overflow: hidden; backdrop-filter: blur(8px);
}
.cta-banner::before {
  content: ""; position: absolute; inset: -60%; z-index: -1; opacity: .18;
  background: conic-gradient(from 0deg, var(--blob1), var(--blob2), var(--blob4), var(--blob1));
  animation: spin 24s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .cta-banner::before { animation: none; } }

/* ---------- Stopka ---------- */
.site-footer {
  border-top: 1px solid var(--border); background: var(--bg-soft);
  padding: 56px 22px 30px; margin-top: 40px;
}
.footer-grid { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.site-footer h3.footer-h, .site-footer h4 { font-size: 1.15rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: var(--text); }
.site-footer a:hover { color: var(--gold); }
.footer-brand-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.footer-logo { height: 58px; width: auto; max-width: none; filter: var(--logo-filter); flex-shrink: 0; }
.footer-brand { font-size: 1.25rem; font-weight: 600; letter-spacing: .01em; margin: 0; }
.social-row { display: flex; gap: 12px; margin-top: 14px; }
.social-row a {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--gold);
  display: grid; place-items: center; color: var(--gold); transition: background .2s, color .2s;
}
.social-row a:hover { background: var(--gold); color: var(--bg); text-decoration: none; }
.social-row svg { width: 19px; height: 19px; fill: currentColor; }
.footer-bottom {
  max-width: 1180px; margin: 40px auto 0; padding-top: 22px;
  border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  color: var(--muted); font-size: .85rem;
}
.footer-bottom a { color: var(--muted); }
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr; gap: 30px; } }

/* ---------- Baner cookies ---------- */
.cookie-banner {
  position: fixed; left: 18px; right: 84px; bottom: 18px; z-index: 150;
  max-width: 640px; margin: 0 auto;
  background: var(--surface-solid); border: 1px solid var(--border); border-radius: 18px;
  padding: 22px 26px; box-shadow: var(--card-shadow);
  display: none;
}
.cookie-banner.visible { display: block; }
.cookie-banner p { font-size: .92rem; margin-bottom: 14px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-actions .btn { padding: 10px 22px; font-size: .92rem; }

/* ---------- Animacje wejścia przy scrollu ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Strona-zapowiedź / uśpione ---------- */
.soon-frame {
  border: 1px dashed var(--gold); border-radius: 18px; padding: 26px; text-align: center;
  color: var(--muted); background: var(--surface);
}
.page-hero { padding: 170px 22px 30px; max-width: 1180px; margin: 0 auto; }

/* ---------- Podpis odręczny (Agnieszka Wójtowicz) ---------- */
.signature {
  font-family: "Emitha", "Great Vibes", "Segoe Script", cursive;
  font-weight: 400;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  line-height: 1.25;
  color: var(--gold);
  margin: 6px 0 14px;
  transform: rotate(-2.5deg); transform-origin: left center;
  text-shadow: 0 1px 8px rgba(0,0,0,.12);
}
.hero .signature {
  background: var(--hero-grad);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: gradslide 9s ease-in-out infinite;
  display: inline-block; padding-right: .4em;
}
@media (prefers-reduced-motion: reduce) { .hero .signature { animation: none; } }
.signature--footer { font-size: 2rem; margin: 0 0 8px; }

/* ---------- Tabela / drobne ---------- */
.divider { height: 1px; background: var(--border); border: 0; max-width: 1180px; margin: 0 auto; }
.checklist { list-style: none; padding: 0; margin: 0 0 1.2em; }
.checklist li { padding-left: 32px; position: relative; margin-bottom: 10px; }
.checklist li::before {
  content: "✦"; position: absolute; left: 4px; color: var(--gold); font-size: .9rem; top: 2px;
}

.nav-links a { white-space: nowrap; }

/* przelacznik motywu: chowany, gdy widac stopke */
.theme-switch { transition: opacity .3s, transform .3s; }
.theme-switch--hidden { opacity: 0; pointer-events: none; transform: translateY(20px); }
