/* =========================================================
   Tulecki — AR i wizualizacje produktów (landing)
   Ciepła, „wnętrzarska” paleta: len · ciepła czerń · terakota · dąb
   ========================================================= */
/* czcionki z własnego serwera (bez Google Fonts — szybciej i bez wysyłania IP odwiedzających do Google) */
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url(assets/instrument-serif-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url(assets/instrument-serif-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url(assets/instrument-serif-latin-400-italic.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url(assets/instrument-serif-latin-ext-400-italic.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(assets/inter-latin-wght-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(assets/inter-latin-ext-wght-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

:root {
  --linen: #f3eee6;
  --linen-2: #eae2d5;
  --card: #fbf8f3;
  --ink: #1e1b17;
  --ink-2: #3a342d;
  --muted: #7a7065;
  --line: rgba(30, 27, 23, .10);
  --line-2: rgba(30, 27, 23, .18);
  --terra: #a9532f;
  --terra-d: #8c4224;
  --terra-soft: #f1ddd2;
  --oak: #c9a27e;
  --olive: #4b5232;
  --night: #221e19;
  --night-2: #2c2721;
  --sand: #e9c9a8;
  --r: 18px;
  --r-lg: 28px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --serif: "Instrument Serif", "Times New Roman", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; overflow-x: clip; background: var(--linen); color: var(--ink);
  font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
h1, h2 { font-family: var(--serif); letter-spacing: -0.015em; line-height: 1.02; }
h1 em, h2 em { font-style: italic; color: var(--terra); }
h3 { font: 600 20px/1.3 var(--sans); letter-spacing: -0.01em; }
p { margin: 0; }
button, input, textarea { font: inherit; color: inherit; }
::selection { background: var(--sand); color: var(--ink); }
:focus-visible { outline: 3px solid var(--terra); outline-offset: 3px; border-radius: 8px; }

.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.section { padding: clamp(84px, 11vw, 144px) 0; position: relative; }
.section-soft { background: var(--linen-2); }
.section-dark { background: var(--night); color: #efe7dc; }

.eyebrow, .kicker {
  font: 600 12.5px/1 var(--sans); text-transform: uppercase; letter-spacing: .16em; color: var(--terra);
}
.eyebrow { display: inline-flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--terra); }
.kicker { margin-bottom: 20px; }
.kicker-light { color: var(--sand); }
.sec-head { max-width: 780px; margin-bottom: clamp(44px, 6vw, 68px); }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head h2, .demo-copy h2, .case-copy h2, .final h2 { font-size: clamp(40px, 5.4vw, 68px); }
.sec-sub { margin-top: 20px; font-size: 19px; color: var(--muted); max-width: 600px; }

/* ---------- przyciski ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px; border-radius: 99px; border: 1px solid transparent; cursor: pointer;
  font: 600 15.5px/1.2 var(--sans); text-decoration: none; text-align: center;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn:active { transform: scale(.97); }
.btn .ico { flex: 0 0 auto; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.btn:hover .ico { transform: translateX(4px); }
.btn-lg { padding: 18px 28px; font-size: 16.5px; }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--terra); color: #fff; box-shadow: 0 12px 26px -12px rgba(169,83,47,.8); }
.btn-primary:hover { background: var(--terra-d); transform: translateY(-2px); box-shadow: 0 18px 32px -14px rgba(169,83,47,.85); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); transform: translateY(-2px); }
.btn-ghost { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); background: var(--card); }
.btn-light { background: var(--linen); color: var(--ink); }
.btn-light:hover { background: #fff; transform: translateY(-2px); }
.btn-lime { background: var(--sand); color: var(--ink); }
.btn-lime:hover { background: #f3d9bd; }
.link-btn { background: none; border: 0; padding: 0; margin-top: 6px; color: var(--sand); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ---------- nawigacja ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; border-bottom: 1px solid transparent; transition: background .3s, border-color .3s; }
.nav.scrolled { background: rgba(243,238,230,.94); backdrop-filter: blur(14px) saturate(150%); -webkit-backdrop-filter: blur(14px) saturate(150%); border-bottom-color: var(--line); }
.nav-in { display: flex; align-items: center; gap: 30px; height: 74px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; margin-right: auto; min-width: 0; }
.brand-mark { flex: 0 0 36px; height: 36px; border-radius: 10px; background: var(--ink); display: grid; place-items: center; }
.brand-mark svg { width: 22px; height: 22px; fill: none; stroke: var(--sand); stroke-width: 2; stroke-linejoin: round; }
.brand-name { font: 600 16px/1.1 var(--sans); white-space: nowrap; }
.brand-name em { font: italic 400 17px var(--serif); color: var(--muted); }
.nav-links { display: flex; gap: 28px; }
.nav-links a { text-decoration: none; font-size: 15px; color: var(--ink-2); position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 1.5px; background: var(--terra); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav-links a:hover::after { transform: scaleX(1); }
.burger { display: none; flex: 0 0 44px; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }
.mobile-menu { display: none; }

/* ---------- hero ---------- */
.hero { padding: 136px 0 44px; position: relative; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(700px 480px at 88% 25%, rgba(233,201,168,.55), transparent 70%), radial-gradient(600px 400px at 0% 0%, rgba(201,162,126,.18), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(48px, 6.4vw, 88px); margin: 24px 0 0; }
.lead { margin-top: 26px; font-size: clamp(17.5px, 1.5vw, 19.5px); color: var(--ink-2); max-width: 560px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-points { list-style: none; padding: 26px 0 0; margin: 34px 0 0; border-top: 1px solid var(--line-2); display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.hero-points b { display: block; font: 400 24px/1.1 var(--serif); }
.hero-points span { font-size: 13.5px; color: var(--muted); }

/* suwak przed / po */
.compare {
  position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; user-select: none;
  box-shadow: 0 50px 90px -40px rgba(60,40,20,.45), 0 0 0 1px var(--line);
  background: var(--linen-2);
}
.cmp-img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.compare > .cmp-img { position: absolute; inset: 0; }
.cmp-after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); }
.cmp-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 1px rgba(30,27,23,.08); pointer-events: none; }
.cmp-handle span {
  position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%;
  background: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(30,27,23,.45); transition: transform .3s var(--spring);
}
.cmp-handle svg { width: 24px; height: 24px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.compare:hover .cmp-handle span, .compare.dragging .cmp-handle span { transform: scale(1.08); }
.cmp-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; -webkit-appearance: none; appearance: none; }
.cmp-tag {
  position: absolute; top: 16px; padding: 7px 12px; border-radius: 99px; font: 600 12px/1 var(--sans); letter-spacing: .04em;
  background: rgba(251,248,243,.88); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); pointer-events: none;
}
.cmp-tag-l { left: 16px; }
.cmp-tag-r { right: 16px; background: var(--ink); color: var(--sand); }
.cmp-cap { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); padding: 5px 12px; border-radius: 99px; background: rgba(251,248,243,.86); white-space: nowrap; font-size: 12.5px; color: var(--ink-2); pointer-events: none; }

.platforms { margin-top: clamp(56px, 7vw, 88px); display: flex; align-items: baseline; gap: 22px; flex-wrap: wrap; color: var(--muted); font-size: 14.5px; }
.platforms > span { font-weight: 600; text-transform: uppercase; letter-spacing: .14em; font-size: 12px; }
.platforms ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 26px; }
.platforms li { font: italic 400 22px/1.2 var(--serif); color: var(--ink-2); }
.platforms li:last-child { font: 400 14.5px/1.4 var(--sans); color: var(--muted); align-self: center; }

/* ---------- problem ---------- */
.doubts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.doubt { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 34px 30px 36px; overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.doubt:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -34px rgba(60,40,20,.45); }
.doubt .q { position: absolute; top: 18px; right: 24px; font: 400 120px/.8 var(--serif); color: var(--terra-soft); pointer-events: none; }
.doubt h3 { position: relative; font: 400 30px/1.12 var(--serif); margin: 54px 0 14px; }
.doubt p { position: relative; color: var(--muted); font-size: 15.5px; }

/* ---------- demo AR ---------- */
.demo-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.demo-copy > p:not(.kicker) { margin-top: 22px; font-size: 18px; color: #cbbfb0; max-width: 480px; }
.demo-steps { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 12px; }
.demo-steps li { display: flex; align-items: center; gap: 14px; font-weight: 500; }
.demo-steps span { flex: 0 0 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(233,201,168,.4); display: grid; place-items: center; font: italic 400 18px var(--serif); color: var(--sand); }
.desk-hint { margin-top: 32px; display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--r); background: var(--night-2); border: 1px solid rgba(255,255,255,.06); }
.desk-hint svg { flex: 0 0 26px; height: 26px; fill: none; stroke: var(--sand); stroke-width: 1.6; }
.desk-hint b { display: block; }
.desk-hint span { display: block; color: #b4a898; font-size: 14.5px; }
.desk-hint .copied { color: #a7c49a; text-decoration: none; }
.is-mobile .desk-hint { display: none; }

.viewer { position: relative; }
model-viewer {
  width: 100%; height: clamp(380px, 46vw, 560px); border-radius: var(--r-lg);
  background: radial-gradient(circle at 50% 40%, #f6f0e6, #e7dccb 75%); --poster-color: transparent;
  --progress-bar-color: var(--terra); --progress-bar-height: 3px;
}
.mv-loading { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: 14px; }
.dim {
  border: 0; padding: 5px 10px; border-radius: 99px; background: rgba(30,27,23,.82); color: #fff;
  font: 600 12px/1 var(--sans); white-space: nowrap; pointer-events: none; transition: opacity .3s;
}
.dim[data-visible="false"] { opacity: 0; }
.ar-btn { white-space: nowrap; position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); box-shadow: 0 14px 30px -12px rgba(0,0,0,.6); }
.ar-btn:active { transform: translateX(-50%) scale(.97); }
.viewer-cap { margin-top: 14px; text-align: center; font-size: 13px; color: #9d917f; }

/* ---------- usługi ---------- */
.services { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.service { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px 20px 34px; }
.service > :not(.svc-visual) { margin-inline: 14px; }
.svc-visual { height: 270px; border-radius: 20px; background: var(--linen-2); margin-bottom: 30px; position: relative; overflow: hidden; display: grid; place-items: center; }
.svc-n { font: italic 400 20px var(--serif); color: var(--terra); }
.service h3 { font: 400 36px/1.08 var(--serif); margin: 6px 0 14px; }
.service > p:not(.svc-n) { color: var(--ink-2); }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; color: var(--ink-2); font-size: 15.5px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 9px; width: 16px; height: 1.5px; background: var(--terra); }

/* wizualka AR: telefon z meblem */
.svc-ar { background: linear-gradient(160deg, #e9dccb, #d9c6ad); }
.phone { width: 150px; height: 300px; border-radius: 30px; background: var(--ink); padding: 8px; box-shadow: 0 30px 50px -24px rgba(30,27,23,.7); transform: rotate(-6deg) translateY(18px); }
.phone-screen { position: relative; height: 100%; border-radius: 23px; overflow: hidden; background: linear-gradient(#efe6d9 0 58%, #c9a27e 58%); }
.ar-floor { position: absolute; left: -20%; right: -20%; bottom: 0; height: 42%; background: repeating-linear-gradient(90deg, rgba(120,80,40,.18) 0 2px, transparent 2px 26px); transform: perspective(160px) rotateX(48deg); transform-origin: bottom; }
.ar-box { position: absolute; left: 22px; right: 22px; top: 44%; height: 58px; border-radius: 3px; background: linear-gradient(90deg, #b25a35 0 32%, #9b4a2a 32% 34%, #b25a35 34% 66%, #9b4a2a 66% 68%, #b25a35 68%); box-shadow: 0 -6px 0 #c49162, 0 18px 16px -10px rgba(40,25,10,.5); animation: arBob 4s var(--ease) infinite; }
.ar-ring { position: absolute; left: 50%; top: 74%; width: 120px; height: 34px; margin-left: -60px; border: 2px solid #fff; border-radius: 50%; opacity: .8; animation: ring 2.4s ease-out infinite; }
.ar-chip { position: absolute; top: 16px; left: 50%; transform: translateX(-50%); background: rgba(30,27,23,.8); color: #fff; font: 600 10px var(--sans); padding: 5px 9px; border-radius: 99px; white-space: nowrap; }
@keyframes arBob { 50% { transform: translateX(6px); } }
@keyframes ring { from { transform: scale(.7); opacity: .9; } to { transform: scale(1.25); opacity: 0; } }

/* wizualka AI: zdjęcie + produkt = wizualizacja */
.svc-ai { background: linear-gradient(160deg, #e3d9cb, #d3c3ae); }
.ai-flow { display: flex; align-items: center; gap: 10px; padding: 0 14px; }
.ai-card { background: var(--card); border-radius: 12px; padding: 7px; box-shadow: 0 18px 30px -20px rgba(30,27,23,.6); }
.ai-lbl { display: block; font: 600 10px var(--sans); color: var(--muted); margin: 0 2px 6px; white-space: nowrap; }
.ai-ph { width: 92px; height: 80px; border-radius: 7px; background-size: cover; background-position: center; }
.ph-room { background-image: url("assets/przed.jpg"); }
.ph-out { background-image: url("assets/po.jpg"); }
.ph-prod { width: 72px; background-image: url("assets/produkt.jpg"); }
.ai-out { transform: scale(1.12); margin-left: 4px; outline: 2px solid var(--terra); outline-offset: 2px; }
.ai-out .ai-ph { width: 110px; height: 96px; }
.ai-plus, .ai-arrow { font: 400 28px var(--serif); color: var(--ink-2); }
.ai-arrow { color: var(--terra); }

/* ---------- realizacja ---------- */
.case { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.case-copy > p:not(.kicker) { margin-top: 22px; font-size: 18px; color: var(--ink-2); max-width: 600px; }
.case-list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 14px; }
.case-list li { padding: 16px 0 16px 0; border-top: 1px solid var(--line-2); color: var(--ink-2); }
.case-list b { color: var(--ink); }
.case-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 30px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 24px 26px; }
.stat { padding: 18px 18px; }
.stat b { display: block; font: 400 clamp(32px, 3.4vw, 42px)/1 var(--serif); color: var(--terra); white-space: nowrap; }
.stat b small { font-size: .6em; color: var(--muted); }
.stat span { display: block; margin-top: 6px; color: var(--muted); font-size: 13.5px; }
.case-note { font-size: 13.5px; color: var(--muted); font-style: italic; }

/* ---------- proces ---------- */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-2); }
.timeline li { padding: 30px 26px 0 0; position: relative; }
.timeline li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--terra); box-shadow: 0 0 0 6px var(--linen); }
.t-n { display: block; font: italic 400 54px/1 var(--serif); color: var(--oak); margin-bottom: 16px; }
.timeline h3 { margin-bottom: 10px; }
.timeline p { color: var(--muted); font-size: 15.5px; }

/* ---------- pakiety ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 34px 30px 30px; }
.plan h3 { font: 400 32px/1.1 var(--serif); }
.plan-price { margin: 16px 0 6px; font: 400 54px/1 var(--serif); color: var(--terra); }
.plan-price.small { font: 600 17px/1.3 var(--sans); color: var(--ink); margin-top: 20px; }
.plan-desc { color: var(--muted); }
.plan .ticks { flex: 1; margin-bottom: 30px; }
.plan-main { background: var(--night); color: #efe7dc; border-color: var(--night); transform: translateY(-14px); box-shadow: 0 40px 80px -40px rgba(30,27,23,.7); }
.plan-main .plan-price.small { color: var(--sand); }
.plan-main .plan-desc, .plan-main .ticks li { color: #cbbfb0; }
.plan-main .ticks li::before { background: var(--sand); }
.plan-badge { position: absolute; top: -13px; left: 30px; background: var(--sand); color: var(--ink); font: 600 11.5px var(--sans); text-transform: uppercase; letter-spacing: .1em; padding: 7px 12px; border-radius: 99px; }
.plans-note { margin-top: 28px; text-align: center; color: var(--muted); font-size: 14.5px; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.faq-grid .sec-head { position: sticky; top: 110px; }
.faq { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 24px 0; font: 400 24px/1.25 var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.plus { position: relative; flex: 0 0 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); transition: background .3s, border-color .3s, transform .4s var(--spring); }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: var(--ink); transition: transform .4s var(--spring), background .3s; }
.plus::after { transform: rotate(90deg); }
.faq details[open] .plus { background: var(--terra); border-color: var(--terra); transform: rotate(180deg); }
.faq details[open] .plus::before, .faq details[open] .plus::after { background: #fff; }
.faq details[open] .plus::after { transform: rotate(0); }
.faq details p { padding: 0 50px 26px 0; color: var(--ink-2); animation: rise .4s var(--ease); }

/* ---------- kontakt ---------- */
.final { position: relative; overflow: hidden; background: var(--night); color: #efe7dc; padding: clamp(90px, 12vw, 150px) 0; }
.final::before { content: ""; position: absolute; right: -10%; bottom: -40%; width: 760px; height: 760px; border-radius: 50%; background: radial-gradient(circle, rgba(169,83,47,.32), transparent 65%); pointer-events: none; }
.final-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.final h2 em { color: var(--sand); }
.final-copy > p:not(.kicker) { margin: 22px 0 32px; font-size: 18.5px; color: #cbbfb0; max-width: 520px; }
.final-copy > p.final-mail { margin: 22px 0 0; font-size: 15px; color: #9d917f; }
.final-mail a { color: #fff; }
.form { background: var(--linen); color: var(--ink); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 36px); display: grid; gap: 14px; }
.form h3 { font: 400 32px/1.1 var(--serif); margin-bottom: 4px; }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.form textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
.form .opt { font-weight: 400; color: var(--muted); }
.form input, .form textarea { width: 100%; background: #fff; border: 1px solid var(--line-2); border-radius: 12px; padding: 13px 14px; font-size: 16px; font-weight: 400; transition: border-color .2s, box-shadow .2s; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--terra); box-shadow: 0 0 0 4px rgba(169,83,47,.15); }
.form .invalid { border-color: #c0392b; box-shadow: 0 0 0 4px rgba(192,57,43,.12); }
.form-note { font-size: 13px; color: var(--muted); text-align: center; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form.sent { text-align: center; padding-block: clamp(40px, 6vw, 64px); }
.form-ok { color: var(--ink-2); font-size: 17px; }
.form button:disabled { opacity: .7; cursor: wait; }
.form-fallback { display: grid; gap: 6px; justify-items: center; text-align: center; font-size: 13px; color: var(--muted); }
.form-fallback .link-btn { color: var(--terra); margin: 0; }

/* ---------- kto to robi ---------- */
.about { display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; max-width: 980px; }
.about-mark { width: 132px; height: 132px; border-radius: 50%; display: grid; place-items: center; background: var(--terra-soft); color: var(--terra); font: italic 400 52px/1 var(--serif); }
.about h2 { margin-bottom: 20px; font-size: clamp(36px, 4.6vw, 56px); }
.about p:not(.kicker) { color: var(--ink-2); font-size: 18px; max-width: 640px; }
.about p:not(.kicker) + p { margin-top: 14px; }
.about-link { display: inline-block; margin-top: 22px; color: var(--terra); font-weight: 600; text-underline-offset: 4px; }
@media (max-width: 560px) { .about { grid-template-columns: 1fr; } .about-mark { width: 88px; height: 88px; font-size: 36px; } }

.footer { background: var(--night); color: #9d917f; border-top: 1px solid rgba(255,255,255,.06); font-size: 14px; }
.footer-in { display: flex; justify-content: space-between; gap: 16px; padding: 26px 0; flex-wrap: wrap; }
.footer a { color: #cbbfb0; text-decoration: none; }
.footer a:hover { color: #fff; }

.sticky-cta { display: none; }

/* ---------- animacje wejścia ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* =========================================================
   Responsywność
   ========================================================= */
@media (max-width: 1060px) {
  .doubts { grid-template-columns: 1fr; }
  .doubt h3 { margin-top: 34px; }
  .timeline { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
}
@media (max-width: 920px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: block; }
  .mobile-menu {
    display: grid; gap: 4px; padding: 0 20px; max-height: 0; overflow: hidden; background: rgba(243,238,230,.98);
    transition: max-height .45s var(--ease), padding .45s var(--ease);
  }
  .mobile-menu.open { max-height: 520px; padding: 8px 20px 22px; border-bottom: 1px solid var(--line); }
  .mobile-menu a:not(.btn) { padding: 13px 2px; font: 400 26px var(--serif); text-decoration: none; border-bottom: 1px solid var(--line); }
  .mobile-menu .btn { margin-top: 14px; }
  .nav.menu-open { background: rgba(243,238,230,.98); }

  .hero { padding-top: 112px; }
  .hero-grid, .demo-grid, .services, .case, .faq-grid, .final-grid { grid-template-columns: minmax(0, 1fr); }
  .faq-grid .sec-head { position: static; }
  .demo-copy { display: contents; }
  .demo-copy .kicker { order: 1; margin-bottom: -16px; }
  .demo-copy h2 { order: 2; }
  .viewer { order: 3; }
  .demo-copy > p:not(.kicker) { order: 4; margin-top: 0; }
  .demo-steps { order: 5; margin-top: 0; }
  .desk-hint { order: 6; margin-top: 0; }
  .plans { grid-template-columns: minmax(0, 1fr); max-width: 500px; margin-inline: auto; }
  .plan-main { transform: none; order: -1; }
  .sticky-cta {
    display: block; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 40;
    transform: translateY(140%); transition: transform .45s var(--spring);
  }
  .sticky-cta .btn { padding: 16px; box-shadow: 0 16px 40px -10px rgba(30,27,23,.5); }
  .sticky-cta.show { transform: none; }
  .footer { padding-bottom: 80px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .brand-name em { display: none; }
  .eyebrow { font-size: 11px; letter-spacing: .12em; }
  .eyebrow::before { width: 18px; }
  .hero-ctas .btn { width: 100%; }
  .hero-points { grid-template-columns: 1fr; gap: 12px; }
  .hero-points li { display: flex; align-items: baseline; gap: 10px; }
  .hero-points b { font-size: 22px; flex: 0 0 auto; }
  .compare { aspect-ratio: 1 / 1; border-radius: 22px; }
  .platforms li { font-size: 19px; }
  .timeline { grid-template-columns: 1fr; }
  .svc-visual { height: 220px; }
  .ai-flow { gap: 6px; padding: 0 8px; }
  .ai-ph { width: 64px; height: 60px; }
  .ph-prod { width: 72px; background-image: url("assets/produkt.jpg"); }
  .ai-out .ai-ph { width: 78px; height: 70px; }
  .ai-plus, .ai-arrow { font-size: 22px; }
  .service h3 { font-size: 31px; }
  .faq summary { font-size: 21px; }
  .faq details p { padding-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- podglądy 3D: przycisk AR, komunikaty ---------- */
.mv-wrap { position: relative; }
.mv-light model-viewer { background: radial-gradient(circle at 50% 35%, #fbf8f3, #ece3d5 78%); height: clamp(420px, 44vw, 560px); }
.mv-msg {
  position: absolute; left: 16px; right: 16px; top: 50%; transform: translateY(-50%); padding: 18px 20px; border-radius: 16px;
  background: rgba(251,248,243,.96); color: var(--ink-2); font-size: 14.5px; line-height: 1.5; text-align: center; box-shadow: 0 16px 40px -20px rgba(30,27,23,.5);
}
.mv-msg[hidden] { display: none; }
.hero-proof { margin-top: 22px; font-size: 14.5px; color: var(--muted); }
.hero-proof a { color: var(--terra); font-weight: 600; text-decoration-thickness: 1px; text-underline-offset: 3px; }

.case { align-items: start; grid-template-columns: 1fr 1fr; }
.case-link { display: inline-flex; gap: 8px; margin-top: 26px; font-weight: 600; color: var(--terra); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.case-link:hover { color: var(--terra-d); }
.case-media { position: sticky; top: 100px; }
.case-photo { position: absolute; top: 16px; left: 16px; width: clamp(96px, 24%, 150px); margin: 0; background: #fff; padding: 6px 6px 8px; border-radius: 12px; box-shadow: 0 16px 30px -16px rgba(30,27,23,.55); transform: rotate(-4deg); }
.case-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 7px; }
.case-photo figcaption { font-size: 10.5px; color: var(--muted); text-align: center; margin-top: 5px; }
.viewer-cap-dark { color: var(--muted); }

/* ---------- okno z kodem QR ---------- */
.ar-modal { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 20px; background: rgba(30,27,23,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .25s; }
.ar-modal[hidden] { display: none; }
.ar-modal.show { opacity: 1; }
.qr-box { position: relative; width: 100%; max-width: 380px; background: var(--card); border-radius: 26px; padding: 30px 28px 24px; text-align: center; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); transform: translateY(14px) scale(.97); transition: transform .4s var(--spring); }
.ar-modal.show .qr-box { transform: none; }
.qr-box h3 { font: 400 32px/1.1 var(--serif); }
.qr-box p { margin: 10px 0 18px; color: var(--ink-2); font-size: 15px; }
.ar-close { position: absolute; top: 12px; right: 14px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--linen-2); font-size: 22px; line-height: 1; cursor: pointer; }
.qr { width: 210px; height: 210px; margin: 0 auto 16px; padding: 12px; background: #fff; border-radius: 16px; border: 1px solid var(--line); }
.qr[hidden] { display: none; }
.qr svg { width: 100%; height: 100%; }
.qr-box .link-btn { color: var(--terra); }

@media (max-width: 920px) {
  .case { grid-template-columns: minmax(0, 1fr); }
  .case-media { position: static; }
}
@media (max-width: 560px) {
  .case-stats { grid-template-columns: minmax(0, 1fr); }
  .stat { display: flex; align-items: baseline; gap: 12px; }
  .stat span { margin-top: 0; }
}
