:root {
  --ink: #14213d;
  --text: #2b3445;
  --muted: #5d6778;
  --bg: #ffffff;
  --alt: #f4f6fa;
  --line: #e2e6ee;
  --accent: #fca311;
  --accent-ink: #14213d;
  --radius: 14px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; font: 17px/1.6 var(--font); color: var(--text); background: var(--bg); }
img { max-width: 100%; display: block; }
a { color: var(--ink); }
h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -.01em; }
h3 { font-size: 1.15rem; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }

.btn { display: inline-block; background: var(--accent); color: var(--accent-ink); font-weight: 700; text-decoration: none; padding: .85em 1.4em; border-radius: 10px; border: 2px solid var(--accent); cursor: pointer; font-size: 1rem; transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(252,163,17,.35); }
.btn:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid #4c7cf0; outline-offset: 2px; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { box-shadow: none; background: var(--ink); color: #fff; }
.btn-sm { padding: .45em 1em; }

/* nagłówek */
.top { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.logo { font-weight: 800; font-size: 1.4rem; text-decoration: none; color: var(--ink); letter-spacing: -.02em; }
.logo span { color: var(--accent); }
nav { display: flex; align-items: center; gap: 22px; }
nav a:not(.btn) { text-decoration: none; color: var(--text); font-weight: 500; }
nav a:not(.btn):hover { color: var(--ink); text-decoration: underline; }
@media (max-width: 760px) { nav a:not(.btn) { display: none; } }

/* hero */
.hero { padding: 72px 0 80px; background: linear-gradient(180deg, #fff 0%, var(--alt) 100%); }
.hero-in { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; font-weight: 700; color: var(--muted); margin: 0 0 12px; }
.hl { background: linear-gradient(transparent 62%, rgba(252,163,17,.45) 62%); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 40em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 24px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.ticks li::before, .price li::before, .price-card li::before { content: "✓"; color: #16a34a; font-weight: 800; margin-right: 8px; }
.price-card { background: var(--ink); color: #dfe5f1; border-radius: 20px; padding: 32px; box-shadow: 0 24px 60px rgba(20,33,61,.25); }
.pc-label { margin: 0; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; color: #9fb0cf; }
.pc-price { font-size: 3.2rem; font-weight: 800; color: #fff; margin: 4px 0 12px; line-height: 1; }
.pc-price small { font-size: 1rem; font-weight: 500; color: #9fb0cf; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 8px; }
.price-card li::before { color: var(--accent); }
.pc-extra { margin: 0; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.15); font-size: .95rem; }
.pc-extra strong { color: var(--accent); }

/* sekcje */
.sec { padding: 80px 0; }
.sec-alt { background: var(--alt); }
.sub { color: var(--muted); max-width: 46em; margin: 0 0 36px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card p { margin: 0; color: var(--muted); }

.steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: k; }
.steps li { background: #fff; border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); counter-increment: k; }
.steps li::before { content: counter(k); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 800; margin-bottom: 14px; }
.steps p { margin: 0; color: var(--muted); }

.prices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: start; }
.per { font-size: 1rem; font-weight: 500; color: var(--muted); }
.price { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: #fff; }
.price.main { border: 2px solid var(--accent); box-shadow: 0 16px 40px rgba(20,33,61,.08); }
.amount { font-size: 2.2rem; font-weight: 800; color: var(--ink); margin: 0 0 12px; line-height: 1.1; }
.price:last-child .amount { font-size: 1.5rem; }
@media (max-width: 1100px) and (min-width: 961px) { .prices { grid-template-columns: 1fr 1fr; } }
.note { color: var(--muted); font-size: .95rem; }
.price ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 8px; }

/* realizacje */
.work { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.work:hover { box-shadow: 0 18px 40px rgba(20,33,61,.12); transform: translateY(-2px); }
.shot { display: block; text-decoration: none; border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 6px; padding: 8px 12px; background: #eef1f6; }
.bar i { width: 9px; height: 9px; border-radius: 50%; background: #c9cfdb; }
.bar b { margin-left: 8px; font-weight: 500; font-size: .78rem; color: var(--muted); background: #fff; padding: 2px 10px; border-radius: 6px; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shot img { aspect-ratio: 16/10; object-fit: cover; object-position: top; width: 100%; height: auto; }
.ph { aspect-ratio: 16/10; display: grid; place-items: center; background: linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 55%, #000)); }
.ph span { color: #fff; font-weight: 800; font-size: 1.5rem; letter-spacing: -.01em; padding: 0 16px; text-align: center; }
.work-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.work-meta { margin: 0 0 6px; font-size: .82rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.work-body > p { color: var(--muted); margin: 0 0 12px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span { font-size: .78rem; background: var(--alt); border: 1px solid var(--line); padding: 2px 10px; border-radius: 99px; }
.more { margin-top: auto; font-weight: 700; text-decoration: none; }
.more:hover { text-decoration: underline; }

/* faq */
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
summary { font-weight: 700; color: var(--ink); cursor: pointer; font-size: 1.08rem; }
details p { margin: 12px 0 0; color: var(--muted); }

/* kontakt */
.sec-dark { background: var(--ink); color: #dfe5f1; }
.sec-dark h2 { color: #fff; }
.sec-dark a { color: var(--accent); }
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.contact-list { list-style: none; padding: 0; font-size: 1.1rem; }
.form { background: #fff; color: var(--text); border-radius: 20px; padding: 28px; display: grid; gap: 14px; }
.form a { color: var(--ink); }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; color: var(--ink); }
.form input, .form textarea { font: inherit; padding: .7em .8em; border: 1px solid #c9cfdb; border-radius: 10px; width: 100%; }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .88rem; color: var(--muted); }
.form .check input { width: auto; margin-top: 4px; }
.hp { position: absolute; left: -9999px; }
[hidden] { display: none !important; }
.gate { text-align: center; justify-items: center; min-height: 200px; align-content: center; }
.gate p { margin: 0; color: var(--muted); }
.gate strong { color: var(--ink); font-size: 1.15rem; }
.form.pokaz { animation: wejscie .6s cubic-bezier(.2,.7,.2,1) both; }
.form-msg { margin: 0; padding: 12px 14px; border-radius: 10px; font-weight: 600; }
.form-msg.ok { background: #dcfce7; color: #14532d; }
.form-msg.err { background: #fee2e2; color: #7f1d1d; }

.foot { background: #0d1729; color: #9fb0cf; font-size: .9rem; }
.foot a { color: #dfe5f1; }
.foot-in { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-top: 20px; padding-bottom: 20px; }
.foot p { margin: 0; }

/* treść podstron */
.doc { padding: 56px 0 80px; }
.doc h2 { font-size: 1.3rem; margin-top: 1.6em; }

@media (max-width: 960px) {
  .hero-in, .contact { grid-template-columns: 1fr; }
  .grid3, .prices { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .hero { padding: 44px 0 56px; }
  .sec { padding: 56px 0; }
  .grid3, .prices, .steps { grid-template-columns: 1fr; }
  .price-card, .form { padding: 22px; }
}
/* animacje */
.top { transition: box-shadow .3s; }
.top.scrolled { box-shadow: 0 6px 24px rgba(20,33,61,.08); }
.hero-in > div > *, .price-card { animation: wejscie .8s cubic-bezier(.2,.7,.2,1) both; }
.hero-in > div > :nth-child(2) { animation-delay: .08s; }
.hero-in > div > :nth-child(3) { animation-delay: .16s; }
.hero-in > div > :nth-child(4) { animation-delay: .24s; }
.hero-in > div > :nth-child(5) { animation-delay: .32s; }
.price-card { animation-delay: .3s; }
.hl { background-size: 0% 100%; background-repeat: no-repeat; animation: podkreslenie .9s .7s ease-out forwards; }
@keyframes wejscie { from { opacity: 0; transform: translateY(18px); } }
@keyframes podkreslenie { to { background-size: 100% 100%; } }
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1), box-shadow .2s; }
.js .reveal.in { opacity: 1; transform: none; }
.js .work.reveal.in:hover { transform: translateY(-3px); }
.card, .steps li, .price { transition: box-shadow .2s, transform .2s; }
.card:hover, .steps li:hover, .price:hover { box-shadow: 0 14px 34px rgba(20,33,61,.09); }
.steps li::before { transition: transform .3s; }
.steps li:hover::before { transform: scale(1.1) rotate(-6deg); }
.more { transition: letter-spacing .2s; }
.work:hover .more { letter-spacing: .02em; }

@media (prefers-reduced-motion: reduce) {
  *, *::before { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hl { background-size: 100% 100%; }
}
