/* ============================================================
   INERIS — PASTEL 3D DESIGN SYSTEM (css/pastel.css)
   Sekcje stron. Nagłówek, stopka, preloader, cookie notice
   i panel dostępności mają własne style w includes/*.php
   ============================================================ */

:root {
  --ink: #211d33;
  --muted: #5c567a;
  --faint: #8a84a8;
  --paper: #fffbf7;
  --dark: #171233;
  --dark-2: #120e26;
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Manrope', sans-serif;

  --violet: #7c3aed; --violet-dark: #4c1d95; --violet-soft: #f5f3ff; --violet-badge: #ede9fe; --violet-ball: radial-gradient(circle at 30% 25%, #ede9fe 0%, #a78bfa 48%, #6d28d9 100%);
  --orange: #ea580c; --orange-dark: #c2410c; --orange-soft: #fff7ed; --orange-badge: #ffedd5; --orange-ball: radial-gradient(circle at 30% 25%, #ffedd5 0%, #fb923c 48%, #c2410c 100%);
  --green: #16a34a;  --green-dark: #15803d;  --green-soft: #f0fdf4;  --green-badge: #dcfce7;  --green-ball: radial-gradient(circle at 30% 25%, #dcfce7 0%, #4ade80 48%, #15803d 100%);
  --blue: #2563eb;   --blue-dark: #1d4ed8;   --blue-soft: #eff6ff;   --blue-badge: #dbeafe;   --blue-ball: radial-gradient(circle at 30% 25%, #dbeafe 0%, #60a5fa 48%, #1d4ed8 100%);
  --pink: #db2777;   --pink-dark: #be185d;   --pink-soft: #fdf2f8;   --pink-badge: #fce7f3;   --pink-ball: radial-gradient(circle at 30% 25%, #fce7f3 0%, #f472b6 48%, #be185d 100%);
  --yellow: #ca8a04; --yellow-dark: #a16207; --yellow-soft: #fefce8; --yellow-badge: #fef08a; --yellow-ball: radial-gradient(circle at 30% 25%, #fef9c3 0%, #facc15 48%, #a16207 100%);
  --mint: #0d9488;   --mint-dark: #0f766e;   --mint-soft: #f0fdfa;   --mint-badge: #ccfbf1;   --mint-ball: radial-gradient(circle at 30% 25%, #ccfbf1 0%, #2dd4bf 48%, #0f766e 100%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, .font-display { font-family: var(--font-display); }
::selection { background: #fdba74; color: #7c2d12; }
img { max-width: 100%; height: auto; }

.container { max-width: 80rem; margin: 0 auto; padding: 0 1.5rem; }
.section { position: relative; padding: 6.5rem 0; overflow: hidden; }

.eyebrow {
  display: inline-block;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: .9rem;
}
.h2 {
  font-size: clamp(1.6rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.1;
  margin: 0 0 1rem;
}
.lead { color: var(--muted); font-size: 1.05rem; line-height: 1.75; margin: 0; }
.grad-text {
  background: linear-gradient(90deg, #ea580c, #db2777 50%, #ca8a04);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Kulki ---------- */
.ball {
  position: relative;
  border-radius: 50%;
  box-shadow: inset -10px -14px 28px rgba(15,10,40,.16), inset 8px 10px 22px rgba(255,255,255,.5), 0 22px 44px -14px rgba(76,29,149,.25);
}
.ball::after {
  content: "";
  position: absolute;
  top: 12%; left: 16%;
  width: 34%; height: 22%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(255,255,255,.95), rgba(255,255,255,0) 70%);
  filter: blur(1px);
  transform: rotate(-18deg);
}
@keyframes floaty { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-16px) rotate(3deg); } }
.animate-floaty { animation: floaty 6s ease-in-out infinite; }
.animate-floaty-slow { animation: floaty 9s ease-in-out infinite, morph-soft 13s ease-in-out infinite alternate; }

.blob { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; }

/* ---------- Przyciski ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  border-radius: 999px;
  padding: .95rem 1.9rem;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: .98rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.btn:active { transform: scale(.96); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 18px 35px -12px rgba(234,88,12,.5); }
.btn-primary:hover { background: #c2410c; transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,.75); color: var(--orange-dark); border: 2px solid #fed7aa; backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: #fdba74; transform: translateY(-2px); }
.btn-yellow { background: #fde047; color: #171233; box-shadow: 0 18px 35px -12px rgba(250,204,21,.4); }
.btn-yellow:hover { background: #facc15; transform: translateY(-2px); }
.btn-outline-white { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.28); }
.btn-outline-white:hover { background: rgba(255,255,255,.1); }

/* ---------- Reveal on scroll ---------- */
.rv { opacity: 0; transform: translateY(36px); transition: opacity .8s ease, transform .8s cubic-bezier(.16,1,.3,1); }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .1s; } .rv-d2 { transition-delay: .2s; } .rv-d3 { transition-delay: .3s; }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero-canvas { position: absolute; inset: 0; }
.hero-canvas canvas { display: block; }
.hero-inner { position: relative; z-index: 5; width: 100%; padding: 8.5rem 0 6rem; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(10px);
  border: 1px solid var(--orange-badge);
  padding: .55rem 1.1rem;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--orange);
  box-shadow: 0 4px 14px -6px rgba(124,58,237,.25);
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
}
body.loaded .hero-badge { opacity: 1; transform: none; }
.hero-badge .dot { width: .55rem; height: .55rem; border-radius: 50%; background: var(--orange); animation: pulse-dot 2s ease-in-out infinite; }
@keyframes pulse-dot { 50% { opacity: .5; transform: scale(.8); } }

.hero-title { font-size: clamp(2.5rem, 7vw, 4.8rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.02; margin: 0; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
.hero-title .line > span {
  display: block;
  transform: translateY(115%);
  transition: transform 1s cubic-bezier(.16,1,.3,1);
}
body.loaded .hero-title .line:nth-child(1) > span { transform: none; transition-delay: .15s; }
body.loaded .hero-title .line:nth-child(2) > span { transform: none; transition-delay: .3s; }
body.loaded .hero-title .line:nth-child(3) > span { transform: none; transition-delay: .45s; }

.hero-sub { max-width: 34rem; margin: 1.5rem 0 0; color: var(--muted); font-size: 1.1rem; line-height: 1.75; opacity: 0; transform: translateY(20px); transition: opacity .7s ease .65s, transform .7s ease .65s; }
body.loaded .hero-sub { opacity: 1; transform: none; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.25rem; opacity: 0; transform: translateY(20px); transition: opacity .7s ease .8s, transform .7s ease .8s; }
body.loaded .hero-cta { opacity: 1; transform: none; }

.hero-stats { display: flex; flex-wrap: wrap; gap: 2.75rem; margin-top: 3.5rem; opacity: 0; transform: translateY(20px); transition: opacity .7s ease .95s, transform .7s ease .95s; }
body.loaded .hero-stats { opacity: 1; transform: none; }
.stat-num { font-family: var(--font-display); font-size: 2.4rem; font-weight: 800; letter-spacing: -.02em; }
.stat-label { font-size: .68rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--faint); margin-top: .25rem; }

.hero-scroll {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  display: flex; flex-direction: column; align-items: center; gap: .4rem;
  color: var(--faint); text-decoration: none;
  font-size: .66rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
  transition: color .2s;
}
.hero-scroll:hover { color: var(--orange); }
.hero-scroll svg { animation: bounce-y 1.6s ease-in-out infinite; }
@keyframes bounce-y { 0%,100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

/* ---------- Marquee ---------- */
.marquee { border-top: 1px solid var(--orange-badge); border-bottom: 1px solid var(--orange-badge); background: rgba(255,255,255,.65); backdrop-filter: blur(6px); padding: 1.75rem 0; overflow: hidden; }
.marquee-track { display: flex; align-items: center; gap: 3rem; width: max-content; animation: marquee 48s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-item { display: flex; align-items: center; gap: 1.4rem; white-space: nowrap; }
.marquee-word { font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -.02em; text-transform: uppercase; color: rgba(33,29,51,.65); }
.marquee-ball { width: 1.4rem; height: 1.4rem; border-radius: 50%; flex-shrink: 0; box-shadow: inset -3px -4px 8px rgba(15,10,40,.18), inset 2px 3px 6px rgba(255,255,255,.6); }

/* ---------- Usługi: bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.4rem; }
.svc-card {
  position: relative;
  grid-column: span 12;
  overflow: hidden;
  border-radius: 2rem;
  padding: 2.4rem;
  min-height: 17rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-decoration: none;
  transition: transform .3s ease, box-shadow .3s ease;
}
@media (min-width: 768px) {
  .span-7 { grid-column: span 7; } .span-6 { grid-column: span 6; }
  .span-5 { grid-column: span 5; } .span-4 { grid-column: span 4; }
}
.svc-card:hover { transform: translateY(-6px); box-shadow: 0 35px 60px -20px rgba(76,29,149,.28); }
.svc-ball { position: absolute; top: -2.2rem; right: -2.2rem; border-radius: 50%; transition: transform .5s ease; animation: floaty 9s ease-in-out infinite, morph-soft 13s ease-in-out infinite alternate; }
.svc-card:hover .svc-ball { transform: scale(1.1) rotate(-6deg); }
.svc-icon {
  position: relative; z-index: 2;
  width: 3.5rem; height: 3.5rem;
  border-radius: 1.1rem;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 22px -8px rgba(76,29,149,.3);
  margin-bottom: 1.2rem;
}
.svc-icon svg { width: 1.75rem; height: 1.75rem; }
.svc-tag {
  position: relative; z-index: 2;
  align-self: flex-start;
  border-radius: 999px;
  padding: .3rem .85rem;
  font-size: .64rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  margin-bottom: .7rem;
}
.svc-name { position: relative; z-index: 2; font-size: 1.45rem; font-weight: 800; letter-spacing: -.01em; color: #241f3a; margin: 0 0 .5rem; }
.svc-desc { position: relative; z-index: 2; color: var(--muted); font-size: .95rem; line-height: 1.65; margin: 0; max-width: 26rem; }
.svc-link { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.2rem; font-weight: 800; font-size: .9rem; transition: transform .3s ease; }
.svc-card:hover .svc-link { transform: translateX(6px); }

/* ---------- Ekosystem (pinned scroll, styl Apple) ---------- */
.eco { position: relative; height: 420vh; background: var(--dark); }
.eco-stage { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; overflow: hidden; }
.eco-glow { position: absolute; inset: 0; transition: background .8s ease; }
.eco-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr; gap: 2.5rem; width: 100%; align-items: center; }
@media (min-width: 1024px) { .eco-grid { grid-template-columns: 1fr 1fr; } }
.eco-eyebrow { font-size: .72rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.eco-dots { display: flex; gap: .65rem; margin: 1.6rem 0 2.2rem; }
.eco-dots span { height: .4rem; width: .9rem; border-radius: 999px; background: rgba(255,255,255,.18); transition: width .5s ease, background-color .5s ease; }
.eco-step { display: none; }
.eco-step.active { display: block; animation: eco-in .5s cubic-bezier(.16,1,.3,1); }
@keyframes eco-in { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
.eco-head { display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.eco-num { font-family: var(--font-display); font-size: clamp(3.4rem, 7vw, 4.6rem); font-weight: 800; line-height: 1; }
.eco-name { border-radius: 999px; padding: .4rem 1rem; font-size: .68rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.eco-title { color: #fff; font-size: clamp(1.7rem, 4vw, 3rem); font-weight: 800; letter-spacing: -.02em; margin: 1.2rem 0 1rem; max-width: 28rem; }
.eco-desc { color: rgba(255,255,255,.65); font-size: 1.05rem; line-height: 1.75; max-width: 28rem; margin: 0; }
.eco-chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.8rem; }
.eco-chips span { border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.05); backdrop-filter: blur(6px); border-radius: 999px; padding: .45rem 1rem; font-size: .85rem; font-weight: 700; color: rgba(255,255,255,.8); }
.eco-canvas-wrap { display: none; height: 70vh; }
@media (min-width: 1024px) { .eco-canvas-wrap { display: block; } }
.eco-static-ball { display: none; }
html.a11y-no-motion .eco-canvas-wrap canvas { display: none; }
html.a11y-no-motion .eco-static-ball { display: flex; height: 100%; align-items: center; justify-content: center; }
.eco-static-ball .ball { width: 17rem; height: 17rem; transition: background .7s ease; }

/* ---------- Realizacje ---------- */
.case-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.4rem; }
.case-card {
  position: relative;
  grid-column: span 12;
  overflow: hidden;
  border-radius: 2rem;
  min-height: 20rem;
  display: flex;
  align-items: flex-end;
  transition: transform .3s ease, box-shadow .3s ease;
  box-shadow: 0 10px 25px -12px rgba(76,29,149,.25);
}
@media (min-width: 768px) {
  .case-grid .span-7 { grid-column: span 7; }
  .case-grid .span-5 { grid-column: span 5; }
}
.case-card:hover { transform: translateY(-6px); box-shadow: 0 35px 60px -20px rgba(76,29,149,.35); }
.case-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.case-card:hover .case-img { transform: scale(1.05); }
.case-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(23,18,51,.92), rgba(23,18,51,.25) 55%, transparent); }
.case-body { position: relative; z-index: 2; padding: 2rem; }
.case-tag { display: inline-block; border-radius: 999px; padding: .3rem .85rem; font-size: .64rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; margin-bottom: .8rem; }
.case-title { color: #fff; font-size: 1.4rem; font-weight: 800; margin: 0 0 .35rem; }
.case-desc { color: rgba(255,255,255,.72); font-size: .92rem; margin: 0; max-width: 26rem; }
.case-ball { position: absolute; top: -1.5rem; right: -1.5rem; width: 6rem; height: 6rem; border-radius: 50%; opacity: .92; transition: transform .5s ease; }
.case-card:hover .case-ball { transform: scale(1.12); }

/* ---------- O nas ---------- */
.about-grid { display: grid; grid-template-columns: 1fr; gap: 4rem; align-items: center; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1fr 1fr; } }
.about-media { position: relative; }
.about-img-main { border-radius: 2rem; overflow: hidden; box-shadow: 0 35px 60px -20px rgba(76,29,149,.35); }
.about-img-main img { width: 100%; height: 26rem; object-fit: cover; display: block; }
.about-img-sec { position: absolute; bottom: -2rem; right: -1rem; width: 11rem; border-radius: 1.5rem; overflow: hidden; border: 8px solid #fff; box-shadow: 0 20px 40px -12px rgba(76,29,149,.3); }
@media (min-width: 768px) { .about-img-sec { width: 14rem; right: -2rem; } }
.about-img-sec img { width: 100%; height: 9rem; object-fit: cover; display: block; }
@media (min-width: 768px) { .about-img-sec img { height: 11rem; } }
.about-badge { position: absolute; top: -1.5rem; left: -1rem; background: var(--violet); color: #fff; border-radius: 1.5rem; padding: 1rem 1.5rem; transform: rotate(-4deg); box-shadow: 0 20px 40px -12px rgba(124,58,237,.5); }
.about-badge .n { font-family: var(--font-display); font-size: 2rem; font-weight: 800; line-height: 1; }
.about-badge .t { font-size: .62rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #ddd3f8; margin-top: .3rem; }
.about-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 2rem 0; }
.about-feats div { display: flex; align-items: center; gap: .6rem; font-weight: 800; font-size: .9rem; color: #3b3654; }
.about-feats svg { width: 1.25rem; height: 1.25rem; color: var(--green); flex-shrink: 0; }

/* ---------- Opinie ---------- */
.tst-grid { display: grid; grid-template-columns: 1fr; gap: 1.4rem; }
@media (min-width: 768px) { .tst-grid { grid-template-columns: 1fr 1fr; } }
.tst-card { border-radius: 2rem; padding: 2.5rem; transition: transform .3s ease, box-shadow .3s ease; }
.tst-card:hover { transform: translateY(-6px); box-shadow: 0 30px 55px -20px rgba(76,29,149,.25); }
.tst-quote { width: 3rem; height: 3rem; border-radius: 1rem; display: flex; align-items: center; justify-content: center; margin-bottom: 1.4rem; }
.tst-quote svg { width: 1.5rem; height: 1.5rem; }
.tst-text { font-size: 1.02rem; line-height: 1.75; color: #3b3654; margin: 0; }
.tst-foot { display: flex; align-items: center; gap: 1rem; margin-top: 1.8rem; }
.tst-avatar { width: 3rem; height: 3rem; border-radius: 50%; color: #fff; font-weight: 800; font-size: 1.15rem; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); }
.tst-name { font-weight: 800; color: #241f3a; }
.tst-role { font-size: .85rem; color: var(--faint); }
.tst-stars { margin-left: auto; display: flex; gap: .15rem; }
.tst-stars svg { width: 1rem; height: 1rem; fill: currentColor; }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: 1fr; gap: 1.4rem; }
@media (min-width: 768px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }
.blog-card { background: #fff; border: 1px solid #f1edfb; border-radius: 2rem; overflow: hidden; text-decoration: none; display: flex; flex-direction: column; transition: transform .3s ease, box-shadow .3s ease; }
.blog-card:hover { transform: translateY(-6px); box-shadow: 0 30px 55px -20px rgba(76,29,149,.28); }
.blog-img { position: relative; height: 13rem; overflow: hidden; }
.blog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.blog-card:hover .blog-img img { transform: scale(1.05); }
.blog-cat { position: absolute; top: 1rem; left: 1rem; border-radius: 999px; padding: .3rem .85rem; font-size: .64rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.blog-body { padding: 1.75rem; display: flex; flex-direction: column; flex: 1; }
.blog-meta { display: flex; gap: 1rem; font-size: .74rem; font-weight: 700; color: var(--faint); margin-bottom: .7rem; }
.blog-meta svg { width: .85rem; height: .85rem; flex-shrink: 0; }
.blog-title { font-size: 1.1rem; font-weight: 800; color: #241f3a; line-height: 1.35; margin: 0; }
.blog-excerpt { font-size: .88rem; color: var(--muted); line-height: 1.65; margin: .7rem 0 0; flex: 1; }
.blog-link { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.2rem; font-weight: 800; font-size: .88rem; transition: transform .3s ease; }
.blog-link svg { width: 1rem; height: 1rem; flex-shrink: 0; }
.blog-card:hover .blog-link { transform: translateX(6px); }

/* ---------- CTA (ciemna, kulki, szkło) ---------- */
.cta-dark { position: relative; background: var(--dark); overflow: hidden; padding: 7rem 0; }
.cta-glass {
  position: relative; z-index: 2;
  border-radius: 2.5rem;
  background: rgba(255,255,255,.09);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.15);
  padding: 3.5rem;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2.5rem;
}
.cta-title { color: #fff; font-size: clamp(1.8rem, 4.5vw, 3rem); font-weight: 800; letter-spacing: -.02em; margin: 0; }
.cta-text { color: rgba(255,255,255,.7); font-size: 1.05rem; line-height: 1.75; margin: 1rem 0 0; max-width: 34rem; }
.cta-text strong { color: #fff; }
.cta-feats { display: flex; flex-wrap: wrap; gap: 1.4rem; margin-top: 1.5rem; }
.cta-feats span { display: inline-flex; align-items: center; gap: .5rem; color: rgba(255,255,255,.8); font-size: .88rem; font-weight: 700; }
.cta-feats svg { width: 1rem; height: 1rem; color: #4ade80; }
.cta-actions { display: flex; flex-direction: column; gap: .8rem; }
.cta-deco { position: absolute; border-radius: 50%; }

/* ---------- Podstrony: hero ---------- */
.page-hero { position: relative; padding: 11rem 0 6rem; overflow: hidden; }
.page-hero h1 { font-size: clamp(2.2rem, 6vw, 4rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; margin: 0 0 1.2rem; max-width: 46rem; }
.page-hero .lead { max-width: 36rem; }

/* ---------- Usługi: bloki szczegółowe ---------- */
.svc-detail { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; padding: 3rem 0; }
@media (min-width: 1024px) { .svc-detail { grid-template-columns: 1fr 1fr; } .svc-detail.rev .svc-detail-media { order: 2; } }
.svc-detail-media { position: relative; border-radius: 2rem; overflow: hidden; box-shadow: 0 30px 55px -18px rgba(76,29,149,.3); }
.svc-detail-media img { width: 100%; height: 22rem; object-fit: cover; display: block; }
.svc-detail-icon { width: 3.5rem; height: 3.5rem; border-radius: 1.1rem; display: flex; align-items: center; justify-content: center; margin-bottom: 1.2rem; }
.svc-detail-icon svg { width: 1.75rem; height: 1.75rem; }
.svc-detail h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -.02em; margin: 0 0 1rem; }
.svc-feats { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; grid-template-columns: 1fr; gap: .8rem; }
@media (min-width: 640px) { .svc-feats { grid-template-columns: 1fr 1fr; } }
.svc-feats li { display: flex; align-items: flex-start; gap: .6rem; font-weight: 700; font-size: .92rem; color: #3b3654; }
.svc-feats svg { width: 1.1rem; height: 1.1rem; flex-shrink: 0; margin-top: .1rem; }

/* ---------- Cennik ---------- */
.price-grid { display: grid; grid-template-columns: 1fr; gap: 1.4rem; }
@media (min-width: 900px) { .price-grid { grid-template-columns: repeat(3, 1fr); } }
.price-card { position: relative; background: #fff; border: 1px solid #f1edfb; border-radius: 2rem; padding: 2.5rem; transition: transform .3s ease, box-shadow .3s ease; }
.price-card:hover { transform: translateY(-6px); box-shadow: 0 30px 55px -20px rgba(76,29,149,.25); }
.price-card.featured { background: var(--violet-soft); border-color: var(--violet-badge); }
.price-badge { position: absolute; top: -0.9rem; left: 2rem; background: var(--orange); color: #fff; border-radius: 999px; padding: .35rem 1rem; font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.price-name { font-size: 1.25rem; font-weight: 800; margin: 0 0 1rem; }
.price-amount { font-family: var(--font-display); font-size: 3rem; font-weight: 800; letter-spacing: -.03em; }
.price-cur { font-weight: 800; color: var(--faint); }
.price-from { font-size: .85rem; color: var(--faint); font-weight: 700; }
.price-feats { list-style: none; padding: 0; margin: 1.8rem 0; display: grid; gap: .75rem; }
.price-feats li { display: flex; align-items: center; gap: .6rem; font-size: .92rem; font-weight: 600; color: #3b3654; }
.price-feats svg { width: 1rem; height: 1rem; color: var(--green); flex-shrink: 0; }

/* ---------- FAQ ---------- */
.faq-item { background: #fff; border: 1px solid #f1edfb; border-radius: 1.4rem; margin-bottom: .9rem; overflow: hidden; }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; background: none; border: none; cursor: pointer; padding: 1.4rem 1.6rem; font-family: var(--font-body); font-size: 1rem; font-weight: 800; color: #241f3a; text-align: left; }
.faq-q svg { width: 1.1rem; height: 1.1rem; transition: transform .3s ease; flex-shrink: 0; color: var(--orange); }
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-a p { padding: 0 1.6rem 1.4rem; margin: 0; color: var(--muted); line-height: 1.7; font-size: .95rem; }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 5fr 7fr; } }
.contact-card { background: #fff; border: 1px solid #f1edfb; border-radius: 1.6rem; padding: 1.8rem; margin-bottom: 1.2rem; transition: transform .3s ease, box-shadow .3s ease; }
.contact-card:hover { transform: translateY(-4px); box-shadow: 0 25px 45px -18px rgba(76,29,149,.22); }
.contact-card h3 { display: flex; align-items: center; gap: .6rem; font-size: 1.05rem; font-weight: 800; margin: 0 0 1rem; color: #241f3a; }
.contact-card h3 svg { width: 1.2rem; height: 1.2rem; color: var(--orange); }
.contact-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .65rem; }
.contact-card li { font-size: .92rem; color: var(--muted); display: flex; gap: .5rem; align-items: baseline; flex-wrap: wrap; }
.contact-card a { color: var(--orange); font-weight: 800; text-decoration: none; }
.contact-card a:hover { text-decoration: underline; }
.contact-card small { color: var(--faint); }

.form-card { background: #fff; border: 1px solid #f1edfb; border-radius: 2rem; padding: 2.5rem; box-shadow: 0 30px 55px -22px rgba(76,29,149,.25); }
.form-row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-group { margin-bottom: 1rem; }
.form-label { display: block; font-size: .8rem; font-weight: 800; color: #3b3654; margin-bottom: .45rem; }
.form-control {
  width: 100%;
  border: 2px solid var(--orange-badge);
  background: var(--paper);
  border-radius: 1rem;
  padding: .85rem 1.1rem;
  font-family: var(--font-body);
  font-size: .92rem;
  font-weight: 600;
  color: #241f3a;
  transition: border-color .2s ease;
}
.form-control:focus { outline: none; border-color: #fb923c; }
.form-success { background: var(--green-soft); border: 1px solid var(--green-badge); border-radius: 1.4rem; padding: 2rem; text-align: center; }
.form-error { background: #fef2f2; border: 1px solid #fecaca; border-radius: 1rem; padding: 1rem 1.2rem; color: #b91c1c; font-weight: 700; font-size: .92rem; margin-bottom: 1rem; }

/* ---------- Stany dostępności (wspólne) ---------- */
html.a11y-font-115 { font-size: 115%; }
html.a11y-font-130 { font-size: 130%; }
html.a11y-contrast { filter: invert(1) hue-rotate(180deg); background: #000; }
html.a11y-contrast img, html.a11y-contrast canvas, html.a11y-contrast video, html.a11y-contrast svg { filter: invert(1) hue-rotate(180deg); }
html.a11y-grayscale body { filter: grayscale(1); }
html.a11y-underline a, html.a11y-underline button { text-decoration: underline !important; text-underline-offset: 3px; text-decoration-thickness: 2px; }
html.a11y-readable body, html.a11y-readable button, html.a11y-readable input, html.a11y-readable textarea, html.a11y-readable select { font-family: 'Lexend', sans-serif !important; letter-spacing: .03em; word-spacing: .08em; }
html.a11y-no-motion *, html.a11y-no-motion *::before, html.a11y-no-motion *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
html.a11y-no-motion .hero-canvas, html.a11y-no-motion .eco-canvas-wrap canvas { display: none !important; }
html.a11y-no-motion .marquee-track { animation: none !important; }
html.a11y-no-motion .rv, html.a11y-no-motion .hero-sub, html.a11y-no-motion .hero-cta, html.a11y-no-motion .hero-stats, html.a11y-no-motion .hero-badge { opacity: 1 !important; transform: none !important; }
html.a11y-no-motion .hero-title .line > span { transform: none !important; }
html.a11y-big-cursor, html.a11y-big-cursor * { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48'%3E%3Ccircle cx='18' cy='18' r='13' fill='%23FDE047' stroke='%23111' stroke-width='4'/%3E%3C/svg%3E") 18 18, auto !important; }

@media (max-width: 768px) {
  .section { padding: 4.5rem 0; }
  .hero-stats { gap: 1.8rem; }
  .cta-glass { padding: 2.2rem; }
}

/* Miękkie morfowanie kulek — efekt kleksa/plamy */
@keyframes morph-soft {
    0%, 100% { border-radius: 50%; scale: 1 1; }
    33% { border-radius: 55% 45% 52% 48% / 47% 54% 46% 53%; scale: 1.06 .95; }
    66% { border-radius: 46% 54% 45% 55% / 55% 46% 54% 45%; scale: .95 1.07; }
}
.animate-morph { animation: floaty 6s ease-in-out infinite, morph-soft 11s ease-in-out infinite alternate; }
html.a11y-no-motion .animate-morph { animation: none !important; }

/* ============================================================
   KOMPATYBILNOŚĆ ZE STARYMI PODSTRONAMI (.legacy)
   Stare klasy sekcji dostają pastelowy wygląd + kulki w hero
   ============================================================ */
.legacy .page-hero { position: relative; padding: 11rem 0 5.5rem; overflow: hidden; }
.legacy .page-hero::before {
    content: ""; position: absolute; top: 14%; right: 8%;
    width: 9rem; height: 9rem; border-radius: 50%;
    background: var(--orange-ball);
    box-shadow: inset -10px -14px 28px rgba(15,10,40,.14), inset 8px 10px 22px rgba(255,255,255,.5), 0 22px 44px -14px rgba(194,65,12,.25);
    animation: floaty 7s ease-in-out infinite;
}
.legacy .page-hero::after {
    content: ""; position: absolute; bottom: 8%; left: 6%;
    width: 4.5rem; height: 4.5rem; border-radius: 50%;
    background: var(--violet-ball);
    box-shadow: inset -8px -10px 22px rgba(15,10,40,.14), inset 6px 8px 18px rgba(255,255,255,.5), 0 18px 36px -12px rgba(76,29,149,.25);
    animation: floaty 9s ease-in-out infinite reverse;
}
.legacy .page-hero-bg, .legacy .page-hero-gradient, .legacy .page-hero-pattern,
.legacy .page-hero-shapes, .legacy .page-hero-shape,
.legacy .hero-bg, .legacy .hero-gradient, .legacy .hero-pattern,
.legacy .hero-shapes, .legacy .hero-shape, .legacy .cta-bg, .legacy .cta-gradient, .legacy .cta-pattern { display: none !important; }

.legacy .page-tag, .legacy .section-tag {
    display: inline-block; font-size: .72rem; font-weight: 800;
    letter-spacing: .18em; text-transform: uppercase;
    color: var(--orange); margin-bottom: .9rem;
}
.legacy .page-title { font-size: clamp(2.1rem, 5.5vw, 3.6rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.06; margin: 0 0 1.2rem; max-width: 48rem; }
.legacy .page-subtitle, .legacy .section-subtitle { color: var(--muted); font-size: 1.05rem; line-height: 1.75; max-width: 40rem; }
.legacy .section-title { font-size: clamp(1.6rem, 4vw, 2.6rem); font-weight: 800; letter-spacing: -.02em; margin: 0 0 1rem; }
.legacy .section-header { max-width: 44rem; margin-bottom: 3rem; }
.legacy .section-header[style*="center"], .legacy .section-header.center { margin-left: auto; margin-right: auto; }
.legacy .text-gradient { background: linear-gradient(90deg, #ea580c, #db2777 50%, #ca8a04); -webkit-background-clip: text; background-clip: text; color: transparent; }
.legacy section { position: relative; }
.legacy img { border-radius: 1.4rem; }

.legacy .service-card, .legacy .app-card, .legacy .value-card, .legacy .feature-card, .legacy .info-card {
    position: relative; background: #fff; border: 1px solid #f1edfb;
    border-radius: 2rem; padding: 2.2rem;
    transition: transform .3s ease, box-shadow .3s ease;
    display: block; text-decoration: none; color: inherit;
}
.legacy .service-card:hover, .legacy .app-card:hover, .legacy .value-card:hover, .legacy .feature-card:hover, .legacy .info-card:hover {
    transform: translateY(-6px); box-shadow: 0 30px 55px -20px rgba(194,65,12,.18);
}
.legacy .service-icon, .legacy .app-icon, .legacy .service-detail-icon {
    width: 3.5rem; height: 3.5rem; border-radius: 1.1rem;
    background: var(--orange-soft); color: var(--orange);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; margin-bottom: 1.2rem;
}
.legacy .service-title, .legacy .app-title { font-size: 1.25rem; font-weight: 800; color: #241f3a; margin: 0 0 .6rem; }
.legacy .service-desc, .legacy .app-desc { color: var(--muted); font-size: .95rem; line-height: 1.65; }
.legacy .app-url { display: inline-block; margin-top: .8rem; font-size: .8rem; font-weight: 800; color: var(--orange); }
.legacy .app-arrow { position: absolute; top: 1.6rem; right: 1.6rem; color: var(--faint); }
.legacy .service-features, .legacy .pricing-features { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .7rem; }
.legacy .service-features li, .legacy .pricing-features li { display: flex; align-items: flex-start; gap: .6rem; font-weight: 600; font-size: .92rem; color: #3b3654; }
.legacy .service-features li i, .legacy .pricing-features li i { color: var(--green); margin-top: .15rem; }
.legacy .service-link { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.2rem; font-weight: 800; font-size: .9rem; color: var(--orange); text-decoration: none; }

.legacy .service-detail-block { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; padding: 3rem 0; }
@media (min-width: 1024px) {
    .legacy .service-detail-block { grid-template-columns: 1fr 1fr; }
    .legacy .service-detail-block.reverse .service-detail-image { order: 2; }
}
.legacy .service-detail-block h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -.02em; margin: 0 0 1rem; }
.legacy .service-detail-intro { color: var(--muted); font-size: 1.02rem; line-height: 1.75; }
.legacy .service-detail-image img { width: 100%; border-radius: 2rem; box-shadow: 0 30px 55px -18px rgba(76,29,149,.25); }

.legacy .pricing-grid { display: grid; grid-template-columns: 1fr; gap: 1.4rem; }
@media (min-width: 900px) { .legacy .pricing-grid { grid-template-columns: repeat(3, 1fr); } }
.legacy .pricing-card { position: relative; background: #fff; border: 1px solid #f1edfb; border-radius: 2rem; padding: 2.4rem; transition: transform .3s ease, box-shadow .3s ease; }
.legacy .pricing-card:hover { transform: translateY(-6px); box-shadow: 0 30px 55px -20px rgba(194,65,12,.2); }
.legacy .pricing-card.featured { background: var(--orange-soft); border-color: var(--orange-badge); }
.legacy .pricing-badge { position: absolute; top: -0.9rem; left: 2rem; background: var(--orange); color: #fff; border-radius: 999px; padding: .35rem 1rem; font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.legacy .pricing-header h3 { font-size: 1.25rem; font-weight: 800; margin: 0 0 1rem; }
.legacy .price-amount { font-family: var(--font-display); font-size: 3rem; font-weight: 800; letter-spacing: -.03em; }
.legacy .price-currency, .legacy .price-from { font-weight: 800; color: var(--faint); }

.legacy .btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; border-radius: 999px; padding: .95rem 1.9rem; font-weight: 800; font-size: .98rem; text-decoration: none; border: none; cursor: pointer; transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease, border-color .2s ease; }
.legacy .btn-secondary { background: #fff; color: var(--orange-dark); border: 2px solid var(--orange-badge); }
.legacy .btn-secondary:hover { border-color: var(--orange); transform: translateY(-2px); }
.legacy .btn-white { background: #fde047; color: #171233; box-shadow: 0 18px 35px -12px rgba(250,204,21,.4); }
.legacy .btn-white:hover { background: #facc15; transform: translateY(-2px); }
.legacy .btn-outline { background: transparent; color: var(--orange-dark); border: 2px solid var(--orange-badge); }
.legacy .btn-block { width: 100%; }
.legacy .btn-lg { padding: 1.05rem 2.2rem; font-size: 1.05rem; }

.legacy .cta { position: relative; background: var(--dark); padding: 5.5rem 0; overflow: hidden; }
.legacy .cta .cta-title { color: #fff; font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; letter-spacing: -.02em; margin: 0 0 1rem; }
.legacy .cta .cta-text, .legacy .cta-text { color: rgba(255,255,255,.7); font-size: 1.05rem; line-height: 1.75; }
.legacy .cta .cta-text strong, .legacy .cta-text strong { color: #fff; }
.legacy .cta-feature { display: inline-flex; align-items: center; gap: .5rem; color: rgba(255,255,255,.8); font-size: .88rem; font-weight: 700; margin-right: 1.4rem; }
.legacy .cta-feature i { color: #4ade80; }
.legacy .cta-buttons { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.8rem; }

.legacy .faq-item { background: #fff; border: 1px solid #f1edfb; border-radius: 1.4rem; margin-bottom: .9rem; overflow: hidden; }
.legacy .faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; background: none; border: none; cursor: pointer; padding: 1.4rem 1.6rem; font-family: var(--font-body); font-size: 1rem; font-weight: 800; color: #241f3a; text-align: left; }
.legacy .faq-question i { transition: transform .3s ease; color: var(--orange); }
.legacy .faq-item.open .faq-question i { transform: rotate(180deg); }
.legacy .faq-answer { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.legacy .faq-item.open .faq-answer { max-height: 30rem; }
.legacy .faq-answer p { padding: 0 1.6rem 1.4rem; margin: 0; color: var(--muted); line-height: 1.7; font-size: .95rem; }

.legacy .site-announcement { background: var(--orange-soft); border: 1px solid var(--orange-badge); border-radius: 1.2rem; padding: 1rem 1.4rem; margin: 6.5rem auto .8rem; max-width: 80rem; font-size: .92rem; }
.legacy .announcement-link { color: var(--orange); font-weight: 800; }
.legacy .announcement-close { float: right; background: none; border: none; font-size: 1.2rem; cursor: pointer; color: var(--faint); }

/* Komunikaty — lista ogłoszeń */
.legacy .blog-section { padding: 2rem 0 5.5rem; }
.legacy .announcements-list { display: grid; gap: 1.6rem; max-width: 56rem; margin: 0 auto; }
.legacy .announcement-card { background: #fff; border: 1px solid #f1edfb; border-radius: 2rem; overflow: hidden; transition: transform .3s ease, box-shadow .3s ease; }
.legacy .announcement-card:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -22px rgba(76,29,149,.22); }
.legacy .announcement-card-inner { padding: 2.2rem 2.4rem; }
.legacy .announcement-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: .8rem; }
.legacy .announcement-title { font-size: 1.3rem; font-weight: 800; color: #241f3a; margin: 0; letter-spacing: -.01em; }
.legacy .announcement-badge { display: inline-flex; align-items: center; border-radius: 999px; padding: .32rem .9rem; font-size: .66rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; flex-shrink: 0; }
.legacy .announcement-badge.info { background: var(--blue-badge); color: var(--blue-dark); }
.legacy .announcement-badge.warning { background: var(--orange-badge); color: var(--orange-dark); }
.legacy .announcement-badge.danger { background: var(--pink-badge); color: var(--pink-dark); }
.legacy .announcement-badge.success { background: var(--mint-badge); color: var(--mint-dark); }
.legacy .announcement-meta { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem; font-size: .78rem; font-weight: 700; color: var(--faint); margin-bottom: 1.1rem; }
.legacy .announcement-meta i { font-size: .8rem; }
.legacy .announcement-content-text p { color: var(--muted); line-height: 1.75; margin: 0 0 .4rem; }
.legacy .blog-more { text-align: center; }

.legacy .tech-item { display: inline-flex; align-items: center; gap: .5rem; background: #fff; border: 1px solid #f1edfb; border-radius: 999px; padding: .7rem 1.3rem; font-weight: 700; font-size: .92rem; color: #3b3654; }
.legacy .tech-item i { color: var(--orange); font-size: 1.2rem; }

.legacy h2:not(.section-title):not(.cta-title) { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; letter-spacing: -.02em; margin: 0 0 1rem; }
.legacy h3:not(.service-title):not(.app-title) { font-size: 1.2rem; font-weight: 800; color: #241f3a; }
.legacy section:not(.page-hero):not(.cta) p { color: var(--muted); line-height: 1.75; }
.legacy section:not(.page-hero):not(.cta) a:not(.btn) { color: var(--orange); font-weight: 700; }
.legacy .form-control { width: 100%; }
.legacy label { font-weight: 700; color: #3b3654; }
.legacy table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 1.2rem; overflow: hidden; }
.legacy th, .legacy td { padding: .8rem 1rem; border-bottom: 1px solid #f1edfb; text-align: left; font-size: .92rem; }
.legacy th { background: var(--orange-soft); font-weight: 800; }

/* ---------- Strony legacy: brakujące komponenty ---------- */
.legacy .page-hero-content { position: relative; z-index: 2; }
.legacy .page-hero-shape-1, .legacy .page-hero-shape-2 { display: none !important; }
.legacy .cta-content { position: relative; z-index: 2; }
.legacy .hero-buttons { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.legacy .cta-features { margin-top: 1.6rem; }
.legacy .ic { width: 3.2rem; height: 3.2rem; border-radius: 1.1rem; background: var(--orange-soft); color: var(--orange); display: flex; align-items: center; justify-content: center; font-size: 1.25rem; margin-bottom: 1.1rem; flex-shrink: 0; }

/* Partnerzy (partnerzy.php) */
.legacy .ptn-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.3rem; }
.legacy .ptn-card { display: block; background: #fff; border: 1px solid #f1edfb; border-radius: 1.6rem; padding: 1.8rem; text-decoration: none; transition: transform .3s ease, box-shadow .3s ease; }
.legacy .ptn-card:hover { transform: translateY(-5px); box-shadow: 0 26px 50px -22px rgba(194,65,12,.22); }
.legacy .ptn-card h4 { font-size: 1.1rem; font-weight: 800; color: #241f3a; margin: 0 0 .4rem; }
.legacy .ptn-card p { color: var(--muted); font-size: .9rem; margin: 0 0 1rem; }
.legacy .go { display: inline-flex; align-items: center; gap: .4rem; color: var(--orange); font-weight: 800; font-size: .88rem; }

/* Współpraca (wspolpraca.php) */
.legacy .wp-tabs { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2.2rem; }
.legacy .wp-tabs a { border-radius: 999px; padding: .55rem 1.2rem; background: #fff; border: 1px solid #f1edfb; color: #3b3654; font-weight: 800; font-size: .85rem; text-decoration: none; transition: background-color .25s ease, color .25s ease, border-color .25s ease; }
.legacy .wp-tabs a:hover { border-color: var(--orange-badge); color: var(--orange-dark); }
.legacy .wp-tabs a.active { background: var(--orange); border-color: var(--orange); color: #fff; }
.legacy .wp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.3rem; }
.legacy .wp-card { background: #fff; border: 1px solid #f1edfb; border-radius: 1.6rem; padding: 1.8rem; transition: transform .3s ease, box-shadow .3s ease; }
.legacy .wp-card:hover { transform: translateY(-4px); box-shadow: 0 24px 45px -22px rgba(76,29,149,.2); }
.legacy .wp-card h3 { font-size: 1.05rem; font-weight: 800; color: #241f3a; margin: 0 0 .5rem; }
.legacy .wp-card p { color: var(--muted); font-size: .9rem; margin: 0; line-height: 1.65; }
.legacy .wp-sec-title { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; letter-spacing: -.02em; margin: 3.5rem 0 1.6rem; }
.legacy .wp-benefits { display: grid; gap: .8rem; max-width: 46rem; }
.legacy .wp-benefit { display: flex; align-items: flex-start; gap: .7rem; background: #fff; border: 1px solid #f1edfb; border-radius: 1.1rem; padding: 1rem 1.3rem; font-weight: 600; font-size: .95rem; color: #3b3654; }
.legacy .wp-benefit i { color: var(--green); margin-top: .2rem; flex-shrink: 0; }
.legacy .wp-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.3rem; }
.legacy .wp-step { background: #fff; border: 1px solid #f1edfb; border-radius: 1.6rem; padding: 1.8rem; }
.legacy .wp-step .num { width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--orange); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.05rem; margin-bottom: 1rem; }
.legacy .wp-step h4 { margin: 0 0 .5rem; font-size: 1.05rem; font-weight: 800; color: #241f3a; }
.legacy .wp-step p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.65; }

/* Reklamacje (reklamacje.php) */
.legacy .rk-sec-title { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; letter-spacing: -.02em; margin: 3.5rem 0 1.6rem; }
.legacy .rk-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.3rem; }
.legacy .rk-step { background: #fff; border: 1px solid #f1edfb; border-radius: 1.6rem; padding: 1.8rem; transition: transform .3s ease, box-shadow .3s ease; }
.legacy .rk-step:hover { transform: translateY(-4px); box-shadow: 0 24px 45px -22px rgba(76,29,149,.2); }
.legacy .rk-step h4 { margin: 0 0 .5rem; font-size: 1.05rem; font-weight: 800; color: #241f3a; }
.legacy .rk-step p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.65; }
.legacy .rk-need { background: #fff; border: 1px solid #f1edfb; border-radius: 1.6rem; padding: 1.8rem 2rem; }
.legacy .rk-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.6rem; }

/* Zostań partnerem (zostan-partnerem.php) */
.legacy .zp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.3rem; }
.legacy .zp-card { background: #fff; border: 1px solid #f1edfb; border-radius: 1.6rem; padding: 1.8rem; transition: transform .3s ease, box-shadow .3s ease; }
.legacy .zp-card:hover { transform: translateY(-4px); box-shadow: 0 24px 45px -22px rgba(76,29,149,.2); }
.legacy .zp-card h3 { font-size: 1.05rem; font-weight: 800; color: #241f3a; margin: 0 0 .5rem; }
.legacy .zp-card p { color: var(--muted); font-size: .9rem; margin: 0; line-height: 1.65; }
.legacy .zp-steps { display: grid; gap: .9rem; max-width: 46rem; }
.legacy .zp-step { display: flex; align-items: flex-start; gap: 1rem; background: #fff; border: 1px solid #f1edfb; border-radius: 1.2rem; padding: 1.2rem 1.5rem; font-size: .95rem; color: #3b3654; }
.legacy .zp-step b { color: var(--orange); font-size: 1.15rem; flex-shrink: 0; }

/* Strony prawne (regulamin, polityka-prywatnosci, cookies) */
.legacy .legal-content { max-width: 56rem; margin: 0 auto; padding: 2rem 0 5rem; }
.legacy .legal-nav { background: #fff; border: 1px solid #f1edfb; border-radius: 1.4rem; padding: 1.4rem 1.6rem; margin-bottom: 2.5rem; }
.legacy .legal-nav-list { display: flex; flex-wrap: wrap; gap: .6rem; }
.legacy .legal-nav-list a { border-radius: 999px; padding: .5rem 1.1rem; background: var(--orange-soft); color: var(--orange-dark) !important; font-weight: 800; font-size: .82rem; text-decoration: none; transition: background-color .25s ease; }
.legacy .legal-nav-list a:hover { background: var(--orange-badge); }
.legacy .legal-section { background: #fff; border: 1px solid #f1edfb; border-radius: 1.8rem; padding: 2.4rem; margin-bottom: 2rem; }
.legacy .legal-section-header { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.legacy .legal-section-icon { width: 3.2rem; height: 3.2rem; border-radius: 1.1rem; background: var(--orange-soft); color: var(--orange); display: flex; align-items: center; justify-content: center; font-size: 1.25rem; flex-shrink: 0; }
.legacy .legal-section-title { font-size: 1.35rem; font-weight: 800; color: #241f3a; margin: 0; letter-spacing: -.01em; }
.legacy .legal-section-subtitle { color: var(--muted); margin: .25rem 0 0; font-size: .92rem; }
.legacy .legal-date { display: inline-flex; align-items: center; gap: .45rem; font-size: .8rem; font-weight: 700; color: var(--faint); margin-bottom: 1.2rem; }
.legacy .legal-text p { color: var(--muted); line-height: 1.8; }
.legacy .legal-text h3, .legacy .legal-text h4 { color: #241f3a; margin: 1.8rem 0 .7rem; }
.legacy .legal-text ul, .legacy .legal-text ol { color: var(--muted); line-height: 1.8; padding-left: 1.4rem; }
.legacy .legal-contact-box, .legacy .accessibility-box { background: var(--orange-soft); border: 1px solid var(--orange-badge); border-radius: 1.2rem; padding: 1.3rem 1.5rem; margin-top: 1.4rem; font-size: .95rem; }

/* Deklaracja dostępności */
.legacy .da-wrap { max-width: 52rem; margin: 0 auto; padding: 2rem 0 5rem; }
.legacy .da-status { display: flex; align-items: center; gap: 1rem; background: var(--mint-soft); border: 1px solid var(--mint-badge); border-radius: 1.4rem; padding: 1.3rem 1.6rem; margin-bottom: 1.6rem; font-weight: 700; color: var(--mint-dark); }
.legacy .da-box { background: #fff; border: 1px solid #f1edfb; border-radius: 1.6rem; padding: 2rem; margin-bottom: 1.4rem; }

/* Nauczyciel (nauczyciel.php) */
.legacy .app-logo-section { text-align: center; margin-bottom: 2rem; }
.legacy .feature-card-enhanced { position: relative; background: #fff; border: 1px solid #f1edfb; border-radius: 1.6rem; padding: 2rem; transition: transform .3s ease, box-shadow .3s ease; }
.legacy .feature-card-enhanced:hover { transform: translateY(-4px); box-shadow: 0 24px 45px -22px rgba(76,29,149,.2); }
.legacy .feature-badge { position: absolute; top: -0.8rem; right: 1.4rem; border-radius: 999px; padding: .3rem .9rem; font-size: .66rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.legacy .badge-free { background: var(--mint-badge); color: var(--mint-dark); }
.legacy .badge-premium { background: var(--orange-badge); color: var(--orange-dark); }
.legacy .feature-icon-large { width: 4rem; height: 4rem; border-radius: 1.3rem; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; color: #241f3a; margin-bottom: 1.2rem; }
.legacy .menu-structure { background: #fff; border: 1px solid #f1edfb; border-radius: 1.8rem; padding: 2.2rem; }
.legacy .menu-category { margin-bottom: 1.6rem; }
.legacy .menu-category:last-child { margin-bottom: 0; }
.legacy .menu-category-title { font-size: 1.05rem; font-weight: 800; color: #241f3a; margin: 0 0 .8rem; }
.legacy .menu-category-title i { color: var(--orange); margin-right: .5rem; }
.legacy .menu-items { display: grid; gap: .5rem; }
.legacy .menu-item { display: flex; align-items: center; gap: .6rem; padding: .55rem .9rem; border-radius: .8rem; background: #faf9ff; font-size: .9rem; font-weight: 600; color: #3b3654; }

/* Strony usług (serwisant, sms, egzaminzawodowy, nauczyciel) + formularze */
.legacy .services-detail { display: grid; gap: 1.6rem; }
.legacy .service-detail-content { background: #fff; border: 1px solid #f1edfb; border-radius: 1.8rem; padding: 2.2rem; }
.legacy .pricing-price { display: flex; align-items: baseline; gap: .45rem; margin: 1rem 0 1.4rem; }
.legacy .contact-form-wrapper { background: #fff; border: 1px solid #f1edfb; border-radius: 1.8rem; padding: 2.4rem; }
.legacy .faq-category { margin-bottom: 2.5rem; }
.legacy .faq-list { display: grid; gap: 0; }
.legacy .pagination .btn { min-width: 2.8rem; justify-content: center; }
