/* =========================================================
   Kolory i czcionki: zmiana w tym jednym miejscu zmienia całą stronę
   ========================================================= */
:root {
  --bg: #F5EFE7;
  --bg-2: #EDE4D8;
  --surface: #FFFDFA;
  --ink: #1F1B17;
  --muted: #6B625A;
  --line: rgba(31, 27, 23, .12);
  --accent: #C65A3E;
  --accent-2: #A9472E;
  --accent-soft: #F3D9CF;
  --dark: #1E211D;
  --dark-2: #2A2E28;
  --on-dark: #F5EFE7;
  --sage: #B7C2A6;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r: 22px;
  --r-lg: 32px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --shadow: 0 20px 50px -24px rgba(48, 32, 20, .28);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
h1, h2, h3 { margin: 0; font-weight: 500; }
p { margin: 0 0 1em; }
em { font-style: italic; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
[id] { scroll-margin-top: 80px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(80px, 11vw, 140px) 0; }
.section__head { max-width: 640px; margin-bottom: clamp(40px, 6vw, 64px); }
.section__head--split { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.section__lead { color: var(--muted); font-size: 18px; margin-top: 16px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.hero__eyebrow::before { display: none; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(198, 90, 62, .5); animation: pulse 2.4s infinite; }

.h2 {
  font-family: var(--serif);
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.08;
  letter-spacing: -.02em;
  font-variation-settings: "opsz" 144;
}
.h2 em, .hero__title em { color: var(--accent); font-weight: 400; }

.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.link { color: var(--accent); border-bottom: 1px solid currentColor; }

/* ---------- Przyciski ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px;
  background: var(--accent); color: #fff;
  font-weight: 700; font-size: 15px; letter-spacing: .01em;
  overflow: hidden; isolation: isolate;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), color .35s;
  box-shadow: 0 10px 24px -12px rgba(198, 90, 62, .7);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--ink); border-radius: inherit;
  transform: translateY(101%); transition: transform .45s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(31, 27, 23, .55); }
.btn:hover::before { transform: translateY(0); }
.btn .ico { transition: transform .35s var(--ease); }
.btn:hover .ico { transform: translateX(4px); }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--lg { padding: 18px 30px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--ghost:hover { color: #fff; }
.btn--light { background: var(--bg); color: var(--ink); box-shadow: none; }
.btn--light::before { background: var(--accent); }
.btn--light:hover { color: #fff; }

.round {
  width: 52px; height: 52px; border-radius: 50%; display: inline-grid; place-items: center;
  box-shadow: inset 0 0 0 1.5px var(--line); transition: background .3s, color .3s, transform .3s var(--ease);
}
.round:hover { background: var(--ink); color: var(--bg); transform: scale(1.06); }
.round--accent { background: var(--accent); color: #fff; box-shadow: none; flex: none; }

/* ---------- Nawigacja ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .4s, box-shadow .4s, backdrop-filter .4s;
}
.nav__inner { display: flex; align-items: center; gap: 28px; height: 84px; transition: height .4s var(--ease); }
.nav.is-scrolled { background: rgba(245, 239, 231, .82); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 1px 0 var(--line); }
.nav.is-scrolled .nav__inner { height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 12px; margin-right: auto; }
.logo__mark {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: var(--accent); color: #fff; font: italic 500 22px/1 var(--serif);
  transition: transform .5s var(--ease);
}
.logo:hover .logo__mark { transform: rotate(-8deg) scale(1.05); }
.logo__text { font: 600 18px/1.1 var(--serif); letter-spacing: -.01em; }
.logo__text small { display: block; font: 600 11px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.nav__links { display: none; gap: 30px; font-size: 15px; font-weight: 600; }
.nav__links a { position: relative; padding: 6px 0; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--accent);
  transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__phone { display: none; font-size: 15px; font-weight: 700; }
.nav__cta { display: none; }

.burger { width: 48px; height: 48px; display: grid; place-content: center; gap: 7px; margin-right: -10px; position: relative; z-index: 60; }
.burger span { display: block; width: 26px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .45s var(--ease); }
.menu-open .burger span:first-child { transform: translateY(4.5px) rotate(45deg); }
.menu-open .burger span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 45; background: var(--bg);
  display: flex; flex-direction: column; justify-content: center; gap: 40px; padding: 100px var(--gutter) 40px;
  clip-path: circle(0 at calc(100% - 40px) 42px); visibility: hidden;
  transition: clip-path .7s var(--ease), visibility 0s .7s;
}
.menu-open .menu { clip-path: circle(150% at calc(100% - 40px) 42px); visibility: visible; transition: clip-path .8s var(--ease), visibility 0s; }
.menu-open { overflow: hidden; }
.menu__links { display: flex; flex-direction: column; gap: 6px; }
.menu__links a {
  font: 500 clamp(36px, 10vw, 52px)/1.2 var(--serif); letter-spacing: -.02em;
  opacity: 0; transform: translateY(24px); transition: opacity .5s, transform .6s var(--ease);
}
.menu-open .menu__links a { opacity: 1; transform: none; }
.menu-open .menu__links a:nth-child(1) { transition-delay: .15s; }
.menu-open .menu__links a:nth-child(2) { transition-delay: .2s; }
.menu-open .menu__links a:nth-child(3) { transition-delay: .25s; }
.menu-open .menu__links a:nth-child(4) { transition-delay: .3s; }
.menu-open .menu__links a:nth-child(5) { transition-delay: .35s; }
.menu-open .menu__links a:nth-child(6) { transition-delay: .4s; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 120px 0 72px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; width: 720px; height: 720px; right: -260px; top: -200px; border-radius: 50%;
  background: radial-gradient(circle, var(--accent-soft) 0%, rgba(243, 217, 207, 0) 70%); z-index: -1;
}
.hero__inner { display: grid; gap: 56px; align-items: center; }
.hero__title {
  font-family: var(--serif); font-size: clamp(44px, 6.4vw, 84px); line-height: 1; letter-spacing: -.035em;
  font-variation-settings: "opsz" 144; margin-bottom: 28px;
}
.line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.line > span { display: inline-block; }
.hero__lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); max-width: 520px; margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.hero__proof { display: flex; align-items: center; gap: 16px; }
.hero__proof p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.5; }
.hero__proof strong { color: var(--ink); }
.stars { color: #E2A33B; letter-spacing: 1px; }
.avatars { display: flex; }
.avatars span {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  margin-left: -10px; border: 3px solid var(--bg); font-size: 12px; font-weight: 700; color: #fff;
}
.avatars span:first-child { margin-left: 0; background: #C65A3E; }
.avatars span:nth-child(2) { background: #7D8B6A; }
.avatars span:nth-child(3) { background: #3B3530; }
.avatars span:nth-child(4) { background: var(--accent-soft); color: var(--accent-2); font-size: 18px; }

.hero__media { position: relative; max-width: 480px; width: 100%; margin: 0 auto; }
.hero__img {
  position: relative; aspect-ratio: 4 / 5; border-radius: 999px 999px var(--r-lg) var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow); background: var(--bg-2);
}
.hero__img img { width: 100%; height: 115%; object-fit: cover; will-change: transform; }
.float {
  position: absolute; display: flex; align-items: center; gap: 12px;
  background: var(--surface); border-radius: 18px; padding: 14px 18px; box-shadow: var(--shadow);
  font-size: 13px; line-height: 1.35;
}
.float strong { display: block; font-size: 14px; }
.float span { color: var(--muted); }
.float--a { left: -12px; bottom: 15%; animation: bob 6s ease-in-out infinite; }
.float__ico { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); font-size: 18px; }
.float--b { right: -8px; top: 22%; flex-direction: column; align-items: flex-start; gap: 0; animation: bob 7s ease-in-out -2s infinite; }
.float--b strong { font: 500 30px/1 var(--serif); color: var(--accent); }
.hero__ring { position: absolute; width: 132px; top: -24px; left: -24px; animation: spin 26s linear infinite; }
.hero__ring text { font: 700 12.5px var(--sans); letter-spacing: .2em; text-transform: uppercase; fill: var(--ink); }

/* ---------- Pasek przewijany ---------- */
.marquee-clip { overflow: hidden; padding: 14px 0 4px; margin-top: -4px; }
.marquee { background: var(--dark); color: var(--on-dark); padding: 22px 0; overflow: hidden; transform: rotate(-1.2deg); margin: 0 -20px; }
.marquee__track { display: flex; align-items: center; gap: 30px; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font: italic 400 clamp(20px, 2.4vw, 28px)/1 var(--serif); white-space: nowrap; }
.marquee i { font-style: normal; color: var(--accent); font-size: 18px; }

/* ---------- Dla kogo ---------- */
.for__grid { display: grid; gap: 16px; }
.goal {
  position: relative; display: flex; flex-direction: column; padding: 30px 28px; border-radius: var(--r);
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .5s;
}
.goal::after {
  content: ""; position: absolute; inset: auto 0 0; height: 4px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease);
}
.goal:hover { transform: translateY(-6px); box-shadow: var(--shadow), inset 0 0 0 1px transparent; }
.goal:hover::after { transform: scaleX(1); }
.goal__emoji { font-size: 30px; width: 60px; height: 60px; display: grid; place-items: center; border-radius: 18px; background: var(--bg); margin-bottom: 22px; transition: transform .5s var(--ease); }
.goal:hover .goal__emoji { transform: rotate(-8deg) scale(1.08); }
.goal h3 { font: 500 23px/1.2 var(--serif); margin-bottom: 10px; }
.goal p { color: var(--muted); font-size: 15.5px; flex: 1; }
.goal__more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: var(--accent); }
.goal__more .ico { width: 18px; transition: transform .4s var(--ease); }
.goal:hover .goal__more .ico { transform: translateX(5px); }

/* ---------- O mnie ---------- */
.about { background: var(--surface); }
.about__grid { display: grid; gap: 56px; align-items: center; }
.about__media { position: relative; max-width: min(500px, calc(100% - 24px)); margin: 0 auto; width: 100%; }
.about__media img { width: 100%; aspect-ratio: 9 / 11; object-fit: cover; border-radius: var(--r-lg); }
.about__media::before {
  content: ""; position: absolute; inset: 24px -18px -18px 24px; border: 1.5px solid var(--accent); border-radius: var(--r-lg); z-index: 0;
}
.about__media img { position: relative; z-index: 1; }
.about__badge {
  position: absolute; z-index: 2; right: -10px; bottom: 40px; width: 128px; height: 128px; border-radius: 50%;
  background: var(--accent); color: #fff; display: grid; place-content: center; text-align: center; gap: 4px;
  box-shadow: var(--shadow); animation: bob 7s ease-in-out infinite;
}
.about__badge strong { font: 500 26px/1 var(--serif); }
.about__badge span { font-size: 12px; line-height: 1.3; font-weight: 600; }
.about__text p { color: var(--muted); }
.about__text .h2 { margin-bottom: 26px; }
.checks { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; font-size: 15.5px; }
.checks .ico { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-2); stroke-width: 2.6; margin-top: 1px; }
.signature { font: italic 400 46px/1 var(--serif); color: var(--accent) !important; margin: 0; }

/* ---------- Liczby ---------- */
.stats { background: var(--dark); color: var(--on-dark); padding: clamp(56px, 8vw, 88px) 0; }
.stats__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
.stat strong { display: block; font: 500 clamp(42px, 5.6vw, 68px)/1 var(--serif); letter-spacing: -.03em; color: var(--on-dark); margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.stat > span { font-size: 14px; color: rgba(245, 239, 231, .65); }
.stat:nth-child(odd) strong { color: var(--sage); }

/* ---------- Jak pracuję ---------- */
.steps__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 40px; counter-reset: s; }
.step { position: relative; padding-top: 30px; }
.step::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1.5px; background: var(--line); }
.step::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1.5px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease) calc(var(--d, 0s) + .2s);
}
.step.is-in::after { transform: scaleX(1); }
.step__num { display: block; font: italic 400 46px/1 var(--serif); color: var(--accent); margin-bottom: 18px; }
.step h3 { font: 500 24px/1.2 var(--serif); margin-bottom: 12px; }
.step p { color: var(--muted); font-size: 15.5px; margin: 0; }

/* ---------- Galeria ---------- */
.gallery { padding-bottom: clamp(40px, 6vw, 80px); }
.gallery__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.gallery figure { position: relative; margin: 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; background: var(--bg-2); }
.gallery figure:nth-child(even) { transform: translateY(32px); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gallery figure:hover img { transform: scale(1.07); }
.gallery figcaption {
  position: absolute; left: 14px; bottom: 14px; padding: 7px 14px; border-radius: 999px;
  background: rgba(255, 253, 250, .92); font-size: 13px; font-weight: 700; backdrop-filter: blur(6px);
}

/* ---------- Oferta ---------- */
.offer__grid { display: grid; gap: 20px; align-items: stretch; }
.card {
  position: relative; display: flex; flex-direction: column; padding: 36px 30px; border-radius: var(--r-lg);
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.card h3 { font: 500 26px/1.15 var(--serif); margin-bottom: 10px; }
.card__desc { color: var(--muted); font-size: 15px; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 18px 0 22px; margin: 4px 0 22px; border-bottom: 1px solid var(--line); }
.price strong { font: 500 46px/1 var(--serif); letter-spacing: -.03em; }
.price span { font-size: 14px; color: var(--muted); }
.card__list { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 12px; flex: 1; font-size: 15px; }
.card__list li { position: relative; padding-left: 28px; }
.card__list li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 17px; height: 17px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A9472E' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.card--featured { background: var(--dark); color: var(--on-dark); box-shadow: var(--shadow); }
.card--featured .card__desc, .card--featured .price span { color: rgba(245, 239, 231, .65); }
.card--featured .price { border-color: rgba(245, 239, 231, .14); }
.card--featured .price strong { color: var(--sage); }
.card--featured .card__list li::before { background-color: rgba(183, 194, 166, .2); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B7C2A6' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E"); }
.card--featured .btn::before { background: var(--on-dark); }
.card--featured .btn:hover { color: var(--ink); }
.card__tag {
  position: absolute; top: -14px; left: 30px; padding: 6px 14px; border-radius: 999px;
  background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .04em;
}

/* ---------- Opinie ---------- */
.reviews { background: var(--bg-2); overflow: hidden; }
.reviews__nav { display: none; gap: 10px; }
.reviews__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(86%, 400px); gap: 18px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin: 0 calc(var(--gutter) * -1); padding: 6px var(--gutter) 30px; scroll-padding: 0 var(--gutter);
}
.reviews__track::-webkit-scrollbar { display: none; }
.review {
  scroll-snap-align: start; margin: 0; display: flex; flex-direction: column; padding: 32px 30px;
  border-radius: var(--r-lg); background: var(--surface); box-shadow: 0 1px 0 var(--line);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.review:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.review__result { align-self: flex-start; padding: 7px 14px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-2); font-size: 13px; font-weight: 700; margin-bottom: 22px; }
.review blockquote { margin: 0 0 28px; font: 400 19px/1.5 var(--serif); flex: 1; }
.review figcaption { display: flex; align-items: center; gap: 14px; padding-top: 22px; border-top: 1px solid var(--line); }
.review figcaption strong { display: block; font-size: 15px; }
.review figcaption span:not(.initials) { font-size: 13px; color: var(--muted); }
.initials { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--dark); color: var(--on-dark); font-size: 14px; font-weight: 700; flex: none; }

/* ---------- Wezwanie do działania ---------- */
.cta { position: relative; overflow: hidden; color: var(--on-dark); padding: clamp(100px, 14vw, 180px) 0; text-align: center; isolation: isolate; }
.cta__bg { position: absolute; inset: -15% 0; z-index: -1; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.cta__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30, 33, 29, .78), rgba(30, 33, 29, .88)); }
.cta__inner { max-width: 820px; }
.cta .h2 { margin-bottom: 22px; }
.cta .h2 em { color: var(--sage); }
.cta p { color: rgba(245, 239, 231, .78); font-size: 18px; max-width: 540px; margin: 0 auto 36px; }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; gap: 20px; }
.acc { border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 0; text-align: left; font: 500 clamp(19px, 2vw, 22px)/1.3 var(--serif); transition: color .3s;
}
.acc__q:hover { color: var(--accent); }
.acc__icon { position: relative; width: 36px; height: 36px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 1.5px var(--line); transition: background .4s, transform .5s var(--ease); }
.acc__icon::before, .acc__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform .5s var(--ease); }
.acc__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc__item.is-open .acc__icon { background: var(--accent); color: #fff; box-shadow: none; transform: rotate(180deg); }
.acc__item.is-open .acc__icon::after { transform: translate(-50%, -50%) rotate(0); }
.acc__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.acc__a > div { overflow: hidden; }
.acc__a p { color: var(--muted); padding: 0 52px 26px 0; margin: 0; opacity: 0; transform: translateY(-8px); transition: opacity .4s, transform .5s var(--ease); }
.acc__item.is-open .acc__a { grid-template-rows: 1fr; }
.acc__item.is-open .acc__a p { opacity: 1; transform: none; transition-delay: .1s; }

/* ---------- Kontakt ---------- */
.contact { background: var(--surface); }
.contact__grid { display: grid; gap: 48px; align-items: start; }
.contact__info > p { color: var(--muted); max-width: 460px; }
.contact__info .h2 { margin-bottom: 22px; }
.contact__list { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 18px; }
.contact__list li { display: flex; align-items: center; gap: 16px; }
.contact__list small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact__list a, .contact__list span { font-weight: 600; }
.contact__list a { transition: color .3s; }
.contact__list a:hover { color: var(--accent); }
.contact__ico { width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; background: var(--bg); color: var(--accent); flex: none; }

.form { position: relative; background: var(--bg); border-radius: var(--r-lg); padding: clamp(28px, 4vw, 44px); overflow: hidden; }
.form h3 { font: 500 28px/1.2 var(--serif); margin-bottom: 26px; }
.form__body { transition: opacity .5s, transform .6s var(--ease); }
.field { position: relative; margin-bottom: 16px; }
.field input, .field textarea {
  width: 100%; padding: 26px 18px 10px; border: 1.5px solid var(--line); border-radius: 16px; background: var(--surface);
  font: 500 16px/1.4 var(--sans); color: var(--ink); resize: vertical; transition: border-color .3s, box-shadow .3s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(198, 90, 62, .12); }
.field label { position: absolute; left: 19px; top: 18px; color: var(--muted); font-size: 16px; pointer-events: none; transform-origin: left top; transition: transform .3s var(--ease), color .3s; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-10px) scale(.75); color: var(--accent); }
.field.is-invalid input { border-color: #C0392B; animation: shake .4s; }
.chips { border: 0; padding: 0; margin: 8px 0 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 10px; padding: 0; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 9px 16px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line); font-size: 14px; font-weight: 600; transition: background .3s, color .3s, box-shadow .3s, transform .3s var(--ease); }
.chips label:hover span { box-shadow: inset 0 0 0 1.5px var(--accent); }
.chips input:checked + span { background: var(--accent); color: #fff; box-shadow: none; transform: scale(1.04); }
.chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.chips.is-pulse span { animation: pop .6s var(--ease); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); margin: 6px 0 22px; cursor: pointer; }
.consent input { width: 20px; height: 20px; accent-color: var(--accent); margin: 1px 0 0; flex: none; }
.consent.is-invalid { color: #C0392B; }
.form__note { text-align: center; font-size: 13px; color: var(--muted); margin: 14px 0 0; }
.form__err { color: #C0392B; font-size: 14px; font-weight: 600; text-align: center; margin: 10px 0 0; min-height: 0; }
.form__err:empty { display: none; }
.form__done {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px;
  opacity: 0; visibility: hidden; transform: translateY(20px); transition: opacity .6s .2s, transform .7s var(--ease) .2s, visibility 0s .8s;
}
.form__done p { color: var(--muted); max-width: 320px; }
.form.is-sent .form__body { opacity: 0; transform: translateY(-20px); pointer-events: none; }
.form.is-sent .form__done { opacity: 1; visibility: visible; transform: none; transition-delay: .2s, .2s, 0s; }
.tick svg { width: 84px; height: 84px; fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 20px; }
.tick circle { stroke-dasharray: 151; stroke-dashoffset: 151; }
.tick path { stroke-dasharray: 36; stroke-dashoffset: 36; }
.form.is-sent .tick circle { animation: draw .8s var(--ease) .4s forwards; }
.form.is-sent .tick path { animation: draw .5s var(--ease) 1.05s forwards; }

/* ---------- Stopka ---------- */
.footer { background: var(--dark); color: rgba(245, 239, 231, .6); padding: 44px 0 110px; font-size: 14px; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.footer p { margin: 0; }
.logo--light .logo__text { color: var(--on-dark); }
.logo--light .logo__text small { color: rgba(245, 239, 231, .5); }
.totop { color: var(--on-dark); font-weight: 600; transition: color .3s; }
.totop:hover { color: var(--accent); }

/* ---------- Przypięty pasek na telefonie ---------- */
.sticky-cta {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; display: flex; gap: 10px; padding: 8px;
  border-radius: 999px; background: rgba(255, 253, 250, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 14px 40px -12px rgba(31, 27, 23, .35);
  transform: translateY(140%); transition: transform .6s var(--ease);
}
.sticky-cta.is-shown { transform: none; }
.sticky-cta .btn { padding: 14px 18px; }

/* =========================================================
   Animacje wejścia (działają tylko z włączonym JS)
   ========================================================= */
.js [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
/* Zdjęcia odsłania kurtyna w kolorze tła sekcji */
.js [data-reveal="img"] { opacity: 1; transform: none; }
.js [data-reveal="img"]::after {
  content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; background: var(--curtain, var(--bg));
  transform-origin: top; transition: transform 1.3s var(--ease); transition-delay: var(--d, 0s);
}
.js [data-reveal="img"].is-in::after { transform: scaleY(0); }
.js [data-reveal="img"] img { transform: scale(1.2); transition: transform 1.7s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal="img"].is-in img { transform: none; }
.js .about__media[data-reveal="img"]::after { inset: -2px -24px -24px -2px; }
.js .gallery figure:nth-child(even)[data-reveal="img"] { transform: translateY(32px); }
.about { --curtain: var(--surface); }

/* Hero przy wczytaniu */
.js .hero .line > span { transform: translateY(110%); transition: transform 1.1s var(--ease); }
.js .hero .line:nth-child(2) > span { transition-delay: .1s; }
.js .hero .line:nth-child(3) > span { transition-delay: .2s; }
.js .hero__eyebrow, .js .hero__lead, .js .hero__actions, .js .hero__proof { opacity: 0; transform: translateY(20px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .hero__lead { transition-delay: .35s; }
.js .hero__actions { transition-delay: .45s; }
.js .hero__proof { transition-delay: .55s; }
.js .hero__img { clip-path: inset(100% 0 0 0 round 999px 999px var(--r-lg) var(--r-lg)); transition: clip-path 1.4s var(--ease) .15s; }
.js .hero__img img { scale: 1.2; transition: scale 1.8s var(--ease) .15s; }
.js .float, .js .hero__ring { opacity: 0; transition: opacity .8s .9s; }
.js .float--b { transition-delay: 1.05s; }
.is-loaded .hero .line > span, .is-loaded .hero__eyebrow, .is-loaded .hero__lead, .is-loaded .hero__actions, .is-loaded .hero__proof { opacity: 1; transform: none; }
.is-loaded .hero__img { clip-path: inset(0 0 0 0 round 999px 999px var(--r-lg) var(--r-lg)); }
.is-loaded .hero__img img { scale: 1; }
.is-loaded .float, .is-loaded .hero__ring { opacity: 1; }

@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(198, 90, 62, .5); } 70%, 100% { box-shadow: 0 0 0 10px rgba(198, 90, 62, 0); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }
@keyframes pop { 50% { transform: scale(1.08); } }

/* =========================================================
   Większe ekrany
   ========================================================= */
@media (min-width: 640px) {
  .for__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(4, 1fr); }
  .gallery__grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .steps__list { grid-template-columns: repeat(2, 1fr); gap: 48px 32px; }
}

@media (min-width: 960px) {
  body { font-size: 17.5px; }
  .burger, .menu, .sticky-cta { display: none; }
  .nav__links, .nav__cta { display: flex; }
  .hero { padding: 150px 0 110px; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; }
  .hero__inner { grid-template-columns: 1.1fr .9fr; gap: 64px; }
  .hero__media { margin: 0 0 0 auto; }
  .float--a { left: -64px; }
  .float--b { right: -40px; }
  .for__grid { grid-template-columns: repeat(4, 1fr); }
  .about__grid { grid-template-columns: .95fr 1.05fr; gap: 96px; }
  .about__media { margin: 0; }
  .steps__list { grid-template-columns: repeat(4, 1fr); }
  .offer__grid { grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: center; }
  .card--featured { padding: 48px 34px; }
  .reviews__nav { display: flex; }
  .reviews__track { grid-auto-columns: calc((100% - 36px) / 3); }
  .faq__grid { grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: start; }
  .faq .section__head { position: sticky; top: 120px; }
  .contact__grid { grid-template-columns: 1fr 1fr; gap: 80px; }
  .footer { padding-bottom: 44px; }
}

@media (min-width: 1180px) {
  .nav__phone { display: block; }
}

/* Ograniczony ruch: wyłączamy animacje */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js [data-reveal="img"], .js [data-reveal="img"] img { opacity: 1; transform: none; clip-path: none; }
}
