/* ═══════════════════════════════════════════════════════════
   SIEĆ SUKCESU — Design System
   Display: Bricolage Grotesque · Body: Hanken Grotesk
   ═══════════════════════════════════════════════════════════ */

/* ---------- Tokens ---------- */
:root {
  /* Light theme (default) */
  --paper:      #F7F2E8;   /* ciepła kość słoniowa */
  --surface:    #FFFDF8;   /* ciepła biel (karty) */
  --surface-2:  #F1E8D7;   /* piaskowy */
  --ink:        #221A12;   /* głęboki espresso (nagłówki) */
  --ink-2:      #34383500;
  --text:       #463C2E;   /* ciepły brąz (tekst) */
  --muted:      #8A7C66;   /* taupe */
  --line:       rgba(34, 26, 16, .14);
  --line-2:     rgba(34, 26, 16, .07);

  --accent:     #9A6F2C;   /* antyczne złoto (akcent/linki) */
  --accent-2:   #D9B978;   /* szampańskie złoto (poświaty/gradienty) */
  --accent-ink: #5E441A;   /* głęboki brąz (ciemny koniec gradientu) */
  --accent-deep:#6F4F1C;   /* złoto pod tekst na ciemnym/jasnym */
  --glow:       rgba(201, 162, 75, .24);
  --gold-grad:  linear-gradient(120deg, #B98F3E 0%, #ECD89B 48%, #9A6F2C 100%);

  --dark-bg:    #1A140D;   /* espresso (stopka / akcenty) */
  --dark-surface: #221A11;

  /* Type */
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body:    "Jost", "Hanken Grotesk", system-ui, -apple-system, sans-serif;

  /* Spacing / radius */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 26px;
  --container: 1200px;
  --gutter: clamp(20px, 5vw, 64px);

  --shadow-sm: 0 1px 2px rgba(60,42,18,.05), 0 6px 18px rgba(60,42,18,.06);
  --shadow-md: 0 12px 34px rgba(60,42,18,.10), 0 3px 10px rgba(60,42,18,.06);
  --shadow-lg: 0 36px 80px rgba(60,42,18,.16), 0 10px 28px rgba(60,42,18,.10);

  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-out: cubic-bezier(.22, .61, .36, 1);
}

[data-theme="dark"] {
  --paper:      #0B0C0B;
  --surface:    #131614;
  --surface-2:  #181B19;
  --ink:        #F3F3EC;
  --text:       #EAEBE6;
  --muted:      #9AA09A;
  --line:       rgba(255, 255, 255, .12);
  --line-2:     rgba(255, 255, 255, .06);

  --accent:     #34C77E;
  --accent-2:   #5FE0A0;
  --accent-ink: #BFF4D6;
  --glow:       rgba(52, 199, 126, .26);

  --shadow-sm: 0 1px 2px rgba(0,0,0,.4), 0 4px 14px rgba(0,0,0,.3);
  --shadow-md: 0 10px 30px rgba(0,0,0,.5), 0 2px 8px rgba(0,0,0,.4);
  --shadow-lg: 0 30px 80px rgba(0,0,0,.6), 0 8px 24px rgba(0,0,0,.5);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--text);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background .5s var(--ease), color .5s var(--ease);
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }

svg { stroke: currentColor; stroke-width: 1.7; fill: none; stroke-linecap: round; stroke-linejoin: round; }

::selection { background: var(--accent); color: #fff; }

:focus-visible {
  outline: 2.5px solid var(--accent-2);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: fixed; top: -100px; left: 16px; z-index: 1000;
  background: var(--ink); color: var(--paper);
  padding: 12px 20px; border-radius: var(--r-sm);
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 16px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.section { padding-block: clamp(64px, 11vw, 140px); position: relative; }
.section--alt { background: var(--surface-2); }
.section--dark {
  background: var(--dark-bg);
  --text: #EAEBE6; --muted: #9AA09A; --ink: #F3F3EC;
  --line: rgba(255,255,255,.12); --surface: #15181600; --accent: #34C77E; --accent-2: #5FE0A0;
  color: #EAEBE6;
}

.section__head { max-width: 760px; margin: 0 auto clamp(40px, 6vw, 72px); text-align: center; }
.section__head .section__lead { margin-inline: auto; }
.section--dark .section__head { color: #EAEBE6; }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--accent-deep); margin-bottom: 22px;
}
.eyebrow__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent-2); box-shadow: 0 0 0 4px var(--glow);
}
.eyebrow--light { color: rgba(255,255,255,.7); }

.section__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: -.02em;
  color: var(--ink);
  text-wrap: balance;
}
.section--dark .section__title { color: #F3F3EC; }

.section__lead {
  margin-top: 20px;
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  color: var(--muted);
  max-width: 60ch;
}
.section__lead a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

.grad {
  background: linear-gradient(105deg, var(--accent) 0%, var(--accent-2) 50%, var(--accent) 100%);
  background-size: 220% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
/* Animacja 1 (początek strony): płynący gradient na haśle hero */
@media (prefers-reduced-motion: no-preference) {
  .grad { animation: gradFlow 7s ease-in-out infinite; }
  @keyframes gradFlow { 0% { background-position: 0% center; } 50% { background-position: 100% center; } 100% { background-position: 0% center; } }
}

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--paper);
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 22px; border-radius: 100px;
  font-weight: 600; font-size: .98rem; letter-spacing: -.01em;
  background: var(--bg); color: var(--fg);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s var(--ease), opacity .3s;
  will-change: transform;
}
.btn--lg { padding: 16px 28px; font-size: 1.02rem; }
.btn--block { width: 100%; }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(12,13,12,.22); }
[data-theme="dark"] .btn--primary:hover { box-shadow: 0 12px 30px rgba(0,0,0,.5); }
.btn--primary:active { transform: translateY(0); }

.btn--ghost {
  --bg: transparent; --fg: var(--ink);
  border: 1.5px solid var(--line);
  background: var(--surface);
}
.section--dark .btn--ghost { --fg: #F3F3EC; background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.18); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn__arrow { transition: transform .35s var(--ease); }
.btn--ghost:hover .btn__arrow { transform: translateX(4px); }

.btn__spinner { display: none; width: 17px; height: 17px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; animation: spin .7s linear infinite; }
.btn.is-loading .btn__label { opacity: .6; }
.btn.is-loading .btn__spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ═══════════ NAV ═══════════ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding-block: 16px;
  transition: padding .4s var(--ease), background .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  padding-block: 9px;
  background: color-mix(in srgb, var(--paper) 80%, transparent);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom-color: var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; letter-spacing: -.01em; color: var(--ink); }
.brand__logo { height: 55px; width: auto; display: block; mix-blend-mode: multiply; transition: height .4s var(--ease); }
.nav.is-stuck .brand__logo { height: 45px; }
.brand__mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: var(--ink); }
.brand__net line { stroke: var(--accent-2); stroke-opacity: .55; stroke-width: 1.4; }
.brand__net circle { stroke: var(--accent-2); fill: var(--accent-2); }
.brand--footer .brand__mark { background: rgba(255,255,255,.06); }

.nav__links { display: flex; gap: 30px; }
.nav__links a { font-weight: 500; color: var(--text); font-size: .98rem; position: relative; padding-block: 4px; transition: color .25s; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1.5px; background: var(--accent); transition: width .3s var(--ease); }
.nav__links a:hover { color: var(--accent); }
.nav__links a:hover::after { width: 100%; }

.nav__actions { display: flex; align-items: center; gap: 12px; }

/* (przełącznik motywu usunięty — strona tylko w trybie jasnym) */

.nav__burger { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; align-items: center; justify-content: center; }
.nav__burger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .35s var(--ease), opacity .25s; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu { display: flex; flex-direction: column; gap: 4px; padding: 12px var(--gutter) 28px; background: var(--paper); border-bottom: 1px solid var(--line); }
.mobile-menu[hidden] { display: none; }
.mobile-menu a { padding: 14px 6px; font-size: 1.1rem; font-weight: 500; border-bottom: 1px solid var(--line-2); }
.mobile-menu a.btn { margin-top: 14px; border-bottom: none; justify-content: center; }

/* ═══════════ HERO ═══════════ */
.hero { position: relative; padding-top: clamp(120px, 18vw, 180px); padding-bottom: 0; overflow: hidden; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; opacity: .3; }
.hero__glow {
  position: absolute; top: -10%; left: 50%; transform: translateX(-50%);
  width: min(900px, 90vw); height: 560px; z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse at center, var(--glow), transparent 65%);
  filter: blur(20px); opacity: .8;
}

/* ── Animowane tła zdjęciowe (efekt Ken Burns) ── */
.media-bg { position: absolute; inset: 0; overflow: hidden; z-index: 0; pointer-events: none; }
.media-bg__img { position: absolute; inset: -7%; background-size: cover; background-position: center; }
@media (prefers-reduced-motion: no-preference) {
  .media-bg__img { animation: kenburns 32s ease-in-out infinite alternate; }
}
@keyframes kenburns { from { transform: scale(1.06); } to { transform: scale(1.18) translate(-2%, -1.5%); } }
.media-bg::after { content: ""; position: absolute; inset: 0; }
/* nakładki pod czytelność tekstu (motyw jasny) */
.hero .media-bg::after { background: linear-gradient(180deg, rgba(247,242,232,.90) 0%, rgba(247,242,232,.74) 45%, rgba(247,242,232,.62) 100%); }
.section--photo .media-bg::after { background: linear-gradient(180deg, rgba(247,242,232,.88), rgba(247,242,232,.80)); }
.section--photo .about__text { color: var(--text); }
/* treść nad tłem */
.section > .container { position: relative; z-index: 1; }
.hero .marquee { position: relative; z-index: 1; }
.hero__inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; gap: clamp(40px, 6vw, 64px); }
.hero__copy { display: flex; flex-direction: column; align-items: center; max-width: 900px; }

.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.5rem, 6vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -.03em;
  color: var(--ink);
  margin-bottom: 24px;
  text-wrap: balance;
}
.hero__title .grad, .hero__title-line { display: block; }
.hero__sub { font-size: clamp(1.08rem, 1.7vw, 1.28rem); color: var(--muted); max-width: 54ch; margin: 0 auto 34px; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-bottom: 32px; }
.hero__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; }
.hero__chips li { display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; color: var(--muted); font-weight: 500; }
.hero__chips svg { width: 16px; height: 16px; color: var(--accent); }

/* Drewno — wizual hero */
.hero__wood { position: relative; width: 100%; max-width: 940px; margin-inline: auto; display: flex; justify-content: center; }
.hero__wood.is-empty { display: none; }
.hero__wood-img {
  width: 100%; max-width: 900px; height: auto;
  mix-blend-mode: multiply;                 /* białe tło zdjęcia zlewa się z jasnym tłem */
  filter: drop-shadow(0 26px 38px rgba(12,13,12,.18));
}
[data-theme="dark"] .hero__wood-img { mix-blend-mode: normal; filter: drop-shadow(0 26px 44px rgba(0,0,0,.6)); }
@media (prefers-reduced-motion: no-preference) {
  .hero__wood-img { animation: floaty 8s ease-in-out infinite; }
}

/* Browser mock */
.hero__visual { position: relative; perspective: 1400px; }
.mock {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); overflow: hidden;
  transform: rotateY(-9deg) rotateX(4deg) rotate(1deg);
  transition: transform .6s var(--ease);
}
.hero__visual:hover .mock { transform: rotateY(-4deg) rotateX(2deg); }
.mock__bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.mock__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.mock__dot:nth-child(1) { background: #ff5f57; } .mock__dot:nth-child(2) { background: #febc2e; } .mock__dot:nth-child(3) { background: #28c840; }
.mock__url { margin-left: 12px; flex: 1; font-size: .76rem; color: var(--muted); background: var(--paper); padding: 5px 12px; border-radius: 100px; text-align: center; }
.mock__body { padding: 18px; display: grid; gap: 16px; }
.mock__nav { display: flex; align-items: center; gap: 10px; }
.mock__logo { width: 54px; height: 14px; border-radius: 4px; background: var(--ink); }
.mock__links { display: flex; gap: 8px; margin-left: auto; }
.mock__links i { width: 26px; height: 8px; border-radius: 3px; background: var(--line); }
.mock__btn { width: 60px; height: 22px; border-radius: 100px; background: var(--accent); }
.mock__hero { display: grid; gap: 9px; padding: 22px 4px; }
.mock__tag { width: 90px; height: 11px; border-radius: 100px; background: var(--glow); }
.mock__h1 { width: 90%; height: 20px; border-radius: 5px; background: linear-gradient(90deg, var(--ink), color-mix(in srgb, var(--ink) 40%, transparent)); }
.mock__h1.short { width: 60%; }
.mock__p { width: 80%; height: 9px; border-radius: 4px; background: var(--line); }
.mock__cta { width: 110px; height: 30px; border-radius: 100px; background: var(--accent); margin-top: 6px; }
.mock__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock__cards span { height: 60px; border-radius: var(--r-sm); background: var(--surface-2); border: 1px solid var(--line); }

.float-card { position: absolute; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-md); border-radius: var(--r-md); font-size: .82rem; font-weight: 600; }
.float-card--a { top: 8%; left: -7%; padding: 14px 18px; display: grid; gap: 3px; }
.float-card--a .float-card__k { color: var(--muted); font-weight: 500; font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; }
.float-card--a .float-card__v { font-family: var(--font-display); font-size: 1.5rem; color: var(--accent); display: inline-flex; align-items: center; gap: 4px; }
.float-card--a .float-card__v svg { width: 14px; height: 14px; }
.float-card--b { bottom: 9%; right: -6%; padding: 12px 16px; display: inline-flex; align-items: center; gap: 8px; color: var(--text); }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 0 0 var(--glow); animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 var(--glow); } 70% { box-shadow: 0 0 0 9px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

@media (prefers-reduced-motion: no-preference) {
  .float-card--a { animation: floaty 6s ease-in-out infinite; }
  .float-card--b { animation: floaty 7s ease-in-out infinite .5s; }
  @keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
}

/* Marquee */
.marquee { margin-top: clamp(56px, 9vw, 110px); border-block: 1px solid var(--line); padding-block: 18px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 26px; width: max-content; align-items: center; animation: marquee 32s linear infinite; }
.marquee__track span { font-family: var(--font-display); font-size: clamp(1.1rem, 2.4vw, 1.7rem); font-weight: 500; color: var(--muted); white-space: nowrap; }
.marquee__track span:nth-child(even) { color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ═══════════ USŁUGI ═══════════ */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); }
.service {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(26px, 3vw, 38px); position: relative; overflow: hidden; text-align: center;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.service::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.service:hover::before { transform: scaleX(1); }
.service__num { font-family: var(--font-display); font-size: .9rem; color: var(--accent); font-weight: 600; letter-spacing: .05em; }
.service__icon { width: 56px; height: 56px; border-radius: 15px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line); color: var(--accent); margin: 0 auto 22px; transition: transform .4s var(--ease), background .4s; }
.service:hover .service__icon { transform: scale(1.06) rotate(-4deg); background: var(--glow); }
.service__title { font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; letter-spacing: -.02em; color: var(--ink); margin-bottom: 12px; }
.service__desc { color: var(--muted); font-size: 1.02rem; }

.service-banner {
  margin-top: 24px; display: flex; align-items: center; gap: 20px;
  background: color-mix(in srgb, var(--accent) 8%, var(--surface));
  color: var(--text);
  border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--line));
  border-radius: var(--r-lg);
  padding: clamp(22px, 3vw, 34px) clamp(24px, 4vw, 44px);
}
.service-banner__icon { flex: none; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--glow); color: var(--accent); }
.service-banner p { font-size: 1.08rem; color: var(--muted); }
.service-banner strong { color: var(--ink); }

/* ═══════════ BENTO ═══════════ */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.8vw, 22px); }
.bento__cell { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.bento__cell:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.bento__cell--wide { grid-column: span 1; }
.bento__cell--accent { background: linear-gradient(155deg, var(--accent), var(--accent-ink)); border-color: transparent; color: #fff; position: relative; overflow: hidden; }
.bento__cell.bento__cell--accent h3, .bento__cell.bento__cell--accent p { color: #fff; }
.bento__cell--accent .bento__icon { background: rgba(255,255,255,.16); color: #fff; }
.bento__cell--accent > * { position: relative; z-index: 1; }
/* Animacja 3 (środek strony): przesuwający się refleks na zielonym kafelku */
.bento__cell--accent::after { content: ""; position: absolute; top: 0; bottom: 0; left: -45%; width: 35%; z-index: 0; pointer-events: none; transform: skewX(-16deg); background: linear-gradient(100deg, transparent, rgba(255,255,255,.28), transparent); }
@media (prefers-reduced-motion: no-preference) {
  .bento__cell--accent::after { animation: cardShine 5.5s ease-in-out infinite; }
  @keyframes cardShine { 0%, 15% { left: -45%; } 60%, 100% { left: 130%; } }
}
.bento__icon { width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line); color: var(--accent); margin-bottom: 18px; }
.bento__cell h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.28rem; color: var(--ink); margin-bottom: 9px; letter-spacing: -.02em; }
.bento__cell p { color: var(--muted); font-size: 1rem; }

/* Równa siatka 3×2 — zielony kafelek ląduje w rzędzie (prawy dół), nie sam na dole */

/* ═══════════ SHOWCASE ═══════════ */
.showcase { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 28px); }
.shot { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--line); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.shot:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.shot__badge { position: absolute; top: 14px; right: 14px; z-index: 2; font-size: .68rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: 5px 11px; border-radius: 100px; background: color-mix(in srgb, var(--ink) 78%, transparent); color: var(--paper); backdrop-filter: blur(6px); }
.shot__screen { aspect-ratio: 4 / 3.2; padding: 26px 24px; display: flex; flex-direction: column; gap: 14px; background: linear-gradient(160deg, var(--v1), var(--v2)); position: relative; }
.shot[data-variant="resto"]  { --v1: #1c2b22; --v2: #0e1611; --acc: #8fd6a8; }
.shot[data-variant="beauty"] { --v1: #2c2230; --v2: #17121b; --acc: #e7b6d8; }
.shot[data-variant="build"]  { --v1: #2b2618; --v2: #16130c; --acc: #e7cf8f; }
.shot__top { display: flex; align-items: center; gap: 9px; color: #fff; font-family: var(--font-display); font-weight: 600; font-size: .96rem; }
.shot__top span { width: 22px; height: 22px; border-radius: 7px; background: var(--acc); }
.shot__big { margin-top: auto; font-family: var(--font-display); font-weight: 600; font-size: 1.7rem; line-height: 1.08; color: #fff; letter-spacing: -.02em; }
.shot__big em { color: var(--acc); font-style: normal; }
.shot__row { display: flex; gap: 8px; }
.shot__row i { flex: 1; height: 34px; border-radius: 9px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1); }
.shot__pill { align-self: flex-start; padding: 9px 16px; border-radius: 100px; background: var(--acc); color: #15110c; font-weight: 700; font-size: .8rem; }
.shot figcaption { padding: 16px 20px; font-weight: 600; color: var(--ink); font-family: var(--font-display); display: flex; align-items: center; justify-content: space-between; }
.shot figcaption::after { content: "↗"; color: var(--accent); transition: transform .35s var(--ease); }
.shot:hover figcaption::after { transform: translate(3px, -3px); }

/* ═══════════ PROCES ═══════════ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 26px); counter-reset: step; position: relative; }
/* Animacja 2 (środek strony): rysująca się linia postępu nad krokami */
.steps::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease) .15s; z-index: 1; }
.steps.is-drawn::before { transform: scaleX(1); }
.step { padding: 28px 0 0; border-top: 2px solid var(--line); position: relative; }
.step__num { font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; color: var(--accent); letter-spacing: -.03em; display: block; margin-bottom: 16px; }
.step h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.32rem; color: var(--ink); margin-bottom: 10px; letter-spacing: -.02em; }
.step p { color: var(--muted); font-size: 1rem; }
.steps__note { margin-top: clamp(36px, 5vw, 56px); display: inline-flex; align-items: center; gap: 11px; padding: 16px 22px; border-radius: 100px; background: color-mix(in srgb, var(--accent) 8%, var(--surface)); border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--line)); color: var(--muted); font-size: 1rem; }
.steps__note svg { color: var(--accent); flex: none; }
.steps__note strong { color: var(--ink); }

/* ═══════════ O NAS ═══════════ */
.about { max-width: 740px; margin-inline: auto; text-align: center; }
.about__copy { display: flex; flex-direction: column; align-items: center; }
.about__copy .about__text { max-width: 62ch; }
.about__media { position: relative; }
.about__img { width: 100%; max-width: 440px; margin-inline: auto; display: block; border-radius: var(--r-xl); box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.about__net { aspect-ratio: 1; max-width: 420px; margin-inline: auto; border-radius: var(--r-xl); background: radial-gradient(circle at 50% 45%, var(--glow), transparent 60%), var(--surface); border: 1px solid var(--line); display: grid; place-items: center; position: relative; overflow: hidden; box-shadow: var(--shadow-md); }
.about__net[hidden] { display: none; }
.about-net line { stroke: var(--accent); stroke-opacity: .4; stroke-width: 1.4; }
.about-net circle { fill: var(--accent); stroke: none; }
.about-net__core { fill: var(--accent-2); }
@media (prefers-reduced-motion: no-preference) {
  .about-net__core { transform-origin: 110px 110px; animation: corePulse 3s ease-in-out infinite; }
  @keyframes corePulse { 0%,100% { r: 11; opacity: 1; } 50% { r: 14; opacity: .82; } }
  .about-net line { stroke-dasharray: 200; stroke-dashoffset: 200; animation: drawLine 2.2s var(--ease) forwards; }
  @keyframes drawLine { to { stroke-dashoffset: 0; } }
}
.about__caption { position: absolute; bottom: 20px; font-family: var(--font-display); font-weight: 600; color: var(--ink); letter-spacing: -.02em; }
.about__text { color: var(--muted); font-size: 1.08rem; margin-bottom: 18px; }
.about__copy .btn { margin-top: 14px; }

/* ═══════════ FAQ ═══════════ */
.faq { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 5vw, 70px); align-items: start; }
.faq__head { position: sticky; top: 110px; }
.faq__head .section__lead a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.faq__list { display: grid; gap: 12px; }
.faq__item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; transition: border-color .3s, box-shadow .3s; }
.faq__item[open] { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); box-shadow: var(--shadow-sm); }
.faq__item summary { list-style: none; cursor: pointer; padding: 20px 24px; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; color: var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 16px; letter-spacing: -.01em; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__plus { position: relative; flex: none; width: 20px; height: 20px; }
.faq__plus::before, .faq__plus::after { content: ""; position: absolute; top: 50%; left: 50%; width: 13px; height: 2px; background: var(--accent); border-radius: 2px; transform: translate(-50%,-50%); transition: transform .3s var(--ease); }
.faq__plus::after { transform: translate(-50%,-50%) rotate(90deg); }
.faq__item[open] .faq__plus::after { transform: translate(-50%,-50%) rotate(0); }
.faq__answer { padding: 0 24px; max-height: 0; overflow: hidden; transition: max-height .4s var(--ease), padding .4s var(--ease); }
.faq__item[open] .faq__answer { padding: 0 24px 22px; max-height: 320px; }
.faq__answer p { color: var(--muted); }

/* ═══════════ KONTAKT ═══════════ */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 70px); align-items: start; }
.contact__cards { display: grid; gap: 14px; margin-top: 38px; }
.contact__cards li { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 16px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 22px; transition: border-color .3s, transform .3s; }
.contact__cards li:hover { border-color: var(--accent); transform: translateX(4px); }
.contact__ic { grid-row: span 2; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line); color: var(--accent); }
.contact__k { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; }
.contact__cards a, .contact__val { font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: 1.06rem; letter-spacing: -.01em; }
.contact__val em { display: block; font-style: normal; font-family: var(--font-body); font-weight: 400; font-size: .86rem; color: var(--muted); margin-top: 2px; }
.contact__cards a:hover { color: var(--accent); }

/* Form */
.contact__form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(26px, 3.5vw, 40px); box-shadow: var(--shadow-sm); display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { font-weight: 600; font-size: .92rem; color: var(--ink); }
.field label span[aria-hidden] { color: var(--accent); }
.field__opt { color: var(--muted); font-weight: 400; }
.field input, .field textarea { width: 100%; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--paper); color: var(--text); font: inherit; font-size: .98rem; transition: border-color .25s, box-shadow .25s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--glow); }
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: color-mix(in srgb, var(--muted) 75%, transparent); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #e0483a; }
.field__error { color: #e0483a; font-size: .82rem; min-height: 0; }
.field__check { display: flex; gap: 11px; align-items: flex-start; font-size: .9rem; color: var(--muted); cursor: pointer; }
.field__check input { width: 19px; height: 19px; margin-top: 2px; accent-color: var(--accent); flex: none; cursor: pointer; }
.field__check span[aria-hidden] { color: var(--accent); }
.form__status { font-size: .92rem; font-weight: 500; min-height: 1.2em; }
.form__status.is-ok { color: var(--accent); }
.form__status.is-err { color: #e0483a; }

/* ═══════════ FOOTER ═══════════ */
.footer { background: var(--dark-bg); color: #cfd2cd; padding-top: clamp(56px, 8vw, 90px); }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer .brand { color: var(--accent-2); margin-bottom: 16px; font-size: 1.55rem; }
.footer__brand p { color: rgba(255,255,255,.6); max-width: 34ch; }
.footer__col h4 { font-family: var(--font-display); font-size: 1rem; color: #F3F3EC; margin-bottom: 16px; font-weight: 600; }
.footer__col a, .footer__col span { display: block; color: rgba(255,255,255,.6); padding-block: 5px; transition: color .25s; }
.footer__col a:hover { color: var(--accent-2); }
.footer__muted { color: rgba(255,255,255,.4) !important; font-size: .9rem; }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; padding-block: 26px; border-top: 1px solid rgba(255,255,255,.1); font-size: .88rem; color: rgba(255,255,255,.45); }

/* ═══════════ REVEAL ═══════════ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ═══════════ BLOG ═══════════ */
.nav__links a.is-active { color: var(--accent); }
.nav__links a.is-active::after { width: 100%; }

.page-hero { padding-top: clamp(118px, 16vw, 165px); padding-bottom: clamp(8px, 2vw, 20px); text-align: center; }
.breadcrumb { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: .9rem; font-weight: 500; margin-bottom: 20px; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb svg { width: 15px; height: 15px; }
.tag { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, var(--surface)); border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--line)); padding: 6px 14px; border-radius: 100px; }

.article { padding-top: clamp(20px, 3vw, 30px); padding-bottom: clamp(56px, 8vw, 110px); }
.article__header { max-width: 820px; margin: 0 auto; text-align: center; }
.article__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.9rem, 4.2vw, 3rem); line-height: 1.1; letter-spacing: -.02em; color: var(--ink); margin: 18px auto; max-width: 16ch; text-wrap: balance; }
.article__title { max-width: none; }
.article__meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; color: var(--muted); font-size: .92rem; margin-bottom: clamp(30px, 4vw, 44px); }
.article__meta span { display: inline-flex; align-items: center; gap: 7px; }
.article__meta svg { width: 16px; height: 16px; color: var(--accent); }
.article__cover { max-width: 1000px; margin: 0 auto clamp(36px, 5vw, 60px); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.article__cover img { width: 100%; height: auto; display: block; }

.prose { max-width: 720px; margin: 0 auto; }
.prose > p { color: var(--text); font-size: 1.12rem; line-height: 1.78; margin-bottom: 1.4em; text-align: justify; -webkit-hyphens: auto; hyphens: auto; }
.prose > p:first-of-type { font-size: 1.2rem; color: var(--ink); }
.prose h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.45rem, 2.8vw, 1.95rem); line-height: 1.22; letter-spacing: -.02em; color: var(--ink); margin: 1.7em 0 .55em; text-wrap: balance; }
.prose h2::before { content: ""; display: block; width: 42px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); margin-bottom: 18px; }
.prose ul { list-style: none; margin: .2em 0 1.6em; display: grid; gap: .7em; }
.prose ul li { position: relative; padding-left: 1.9em; color: var(--text); font-size: 1.08rem; line-height: 1.6; text-align: justify; -webkit-hyphens: auto; hyphens: auto; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--glow); }
.prose figure { margin: 2.2em 0; }
.prose figure img { width: 100%; height: auto; display: block; border-radius: var(--r-md); border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.prose figcaption { margin-top: 12px; text-align: center; color: var(--muted); font-size: .9rem; }
.prose__quote { margin: 1.1em 0; padding: 16px 22px; border-radius: var(--r-md); background: var(--surface-2); border-left: 4px solid var(--line); color: var(--text); font-size: 1.08rem; line-height: 1.6; }
.prose__quote--bad { border-left-color: #d8896f; color: var(--muted); }
.prose__quote--good { border-left-color: var(--accent); background: color-mix(in srgb, var(--accent) 7%, var(--surface)); color: var(--ink); }
.prose__label { display: block; font-size: .82rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 6px; }
.prose__quote--info { border-left-color: var(--accent-2); background: var(--surface-2); color: var(--ink); }
.prose__quote--info .prose__label { color: var(--accent); }

/* Tabela (np. audyt) */
.table-wrap { margin: 1.8em 0; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); -webkit-overflow-scrolling: touch; }
.audit-table { width: 100%; border-collapse: collapse; font-size: 1rem; min-width: 480px; }
.audit-table th, .audit-table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.audit-table thead th { background: var(--surface-2); font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: .92rem; letter-spacing: -.01em; }
.audit-table tbody td:first-child { font-weight: 600; color: var(--ink); font-family: var(--font-display); }
.audit-table td:last-child { color: var(--accent); font-weight: 500; }
.audit-table tbody tr:last-child td { border-bottom: none; }

.article-cta { max-width: 720px; margin: clamp(44px,6vw,68px) auto 0; background: var(--ink); color: var(--paper); border-radius: var(--r-lg); padding: clamp(30px,4vw,48px); text-align: center; }
.article-cta h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.45rem,2.6vw,1.9rem); color: var(--paper); margin-bottom: 12px; letter-spacing: -.02em; }
.article-cta h2::before { display: none; }
.article-cta p { color: color-mix(in srgb, var(--paper) 82%, transparent); margin-bottom: 24px; font-size: 1.05rem; }
.article-cta .btn { background: var(--paper); color: var(--ink); }
.article-cta .btn:hover { transform: translateY(-2px); }

/* Blog — lista */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.5vw, 30px); }
.post-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.post-card__img { aspect-ratio: 16 / 10; overflow: hidden; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.post-card:hover .post-card__img img { transform: scale(1.05); }
.post-card__img--empty { background: linear-gradient(140deg, var(--accent), var(--accent-ink)); }
.post-card__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post-card__tag { font-size: .76rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.post-card h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; line-height: 1.25; letter-spacing: -.02em; color: var(--ink); margin-bottom: 10px; }
.post-card p { color: var(--muted); font-size: .98rem; margin-bottom: 18px; }
.post-card__more { margin-top: auto; display: inline-flex; align-items: center; gap: 7px; color: var(--accent); font-weight: 600; font-size: .95rem; }
.post-card__more svg { width: 17px; height: 17px; transition: transform .35s var(--ease); }
.post-card:hover .post-card__more svg { transform: translateX(4px); }
@media (max-width: 860px) {
  .blog-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
}

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 1000px) {
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__visual { max-width: 480px; margin-inline: auto; width: 100%; }
  .float-card--a { left: 0; } .float-card--b { right: 0; }
  .about, .faq, .contact { grid-template-columns: 1fr; }
  .faq__head { position: static; }
  .about__media { order: -1; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .services, .bento, .showcase { grid-template-columns: 1fr; }
  .service-banner { flex-direction: column; align-items: flex-start; text-align: left; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .steps { grid-template-columns: 1fr; }
  .hero { padding-top: clamp(104px, 26vw, 140px); }
  .hero__actions { flex-direction: column; width: 100%; max-width: 360px; }
  .hero__actions .btn { width: 100%; }
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; gap: 6px; }
  .float-card { display: none; }
}

/* ═══════════ REDUCED MOTION ═══════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
}
