/*
Theme Name: Chmielecki
Theme URI: https://chmieleckiweb.pl
Author: Chmieleckiweb.pl
Description: Ciemny, jednostronicowy motyw portfolio dla wykonawcy stron WordPress. Kinowe hero z paralaksą i efektem pyłku 3D. Wszystkie teksty, grafiki, kolory, sekcje, menu i formularz kontaktowy edytujesz w panelu: Wygląd → Dostosuj oraz w menu „Strona główna”.
Version: 1.0.0
Requires at least: 6.5
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: chmielecki
*/

/* ---------- fonty (lokalnie, bez Google Fonts – zgodne z RODO) ---------- */
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url(assets/fonts/bricolage-grotesque-latin-ext-wght-normal.woff2) format("woff2-variations");
  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: "Bricolage Grotesque"; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url(assets/fonts/bricolage-grotesque-latin-wght-normal.woff2) format("woff2-variations");
  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: "Manrope"; font-style: normal; font-display: swap; font-weight: 400; src: url(assets/fonts/manrope-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: "Manrope"; font-style: normal; font-display: swap; font-weight: 400; src: url(assets/fonts/manrope-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: "Manrope"; font-style: normal; font-display: swap; font-weight: 500; src: url(assets/fonts/manrope-latin-ext-500-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: "Manrope"; font-style: normal; font-display: swap; font-weight: 500; src: url(assets/fonts/manrope-latin-500-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: "Manrope"; font-style: normal; font-display: swap; font-weight: 600; src: url(assets/fonts/manrope-latin-ext-600-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: "Manrope"; font-style: normal; font-display: swap; font-weight: 600; src: url(assets/fonts/manrope-latin-600-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: "Manrope"; font-style: normal; font-display: swap; font-weight: 700; src: url(assets/fonts/manrope-latin-ext-700-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: "Manrope"; font-style: normal; font-display: swap; font-weight: 700; src: url(assets/fonts/manrope-latin-700-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; }

/* ---------- tokeny (kolory nadpisywane z Customizera – patrz inc/customizer.php) ---------- */
:root {
  --bg: #050805;
  --surface: #0d130b;
  --text: #f0f7e8;
  --muted: #93a08a;
  --line: #1c2618;
  --accent: #39ff7e;
  --accent-2: #8dffc0;
  --on-accent: #071004;
  --accent-soft: color-mix(in srgb, var(--accent) 10%, var(--bg));
  --glow: 0 0 24px color-mix(in srgb, var(--accent) 45%, transparent);
  --radius: 18px;
  --max: 1160px;
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--font-body);
  background: var(--bg); color: var(--text);
  line-height: 1.6; -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.hl { font-family: var(--font-display); font-weight: 800; color: var(--accent); }
.chm-section { padding: 112px 0; }
.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px; display: block;
}
h1, h2, h3 { font-family: var(--font-display); line-height: 1.02; letter-spacing: -0.035em; font-weight: 700; text-wrap: balance; }
h1 { font-weight: 800; }
.logo, .price, .stat strong, .btn { font-family: var(--font-display); }
h2 { font-size: clamp(32px, 4.5vw, 52px); margin-bottom: 20px; }
.lead { font-size: 18px; color: var(--muted); max-width: 620px; }
.section-head { margin-bottom: 56px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; font-weight: 500; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: var(--on-accent); font-weight: 600; box-shadow: var(--glow); }
.btn-primary:hover { box-shadow: 0 0 40px color-mix(in srgb, var(--accent) 70%, transparent); }
.btn-ghost { border-color: var(--line); background: var(--surface); color: var(--text); }

/* ---------- nagłówek ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 55%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.nav { display: flex; align-items: center; height: 72px; gap: 16px; }
/* kolejność: logo | menu (na środku) | przycisk | przycisk menu na telefonie */
.nav .logo { order: 1; }
.nav .nav-links { order: 2; margin: 0 auto; }
.nav .header-cta { order: 3; }
.nav .nav-right { order: 4; }
.logo { font-weight: 800; font-size: 22px; letter-spacing: -0.03em; display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.logo img, .logo .custom-logo { width: auto; height: 44px; mix-blend-mode: screen; /* czarne tło logo znika na ciemnym nagłówku */ }
.logo-accent { color: var(--accent); }
.nav-links {
  padding: 6px; border-radius: 999px;
  background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.08); backdrop-filter: blur(10px);
  font-family: var(--font-display); font-size: 16px; font-weight: 600; letter-spacing: -0.01em;
}
.nav-list { display: flex; gap: 4px; list-style: none; }
.nav-list a { display: block; padding: 9px 18px; border-radius: 999px; color: color-mix(in srgb, var(--text) 90%, var(--accent)); transition: color .2s, background .2s, box-shadow .2s; }
.nav-list a:hover, .nav-list .current-menu-item > a { color: var(--on-accent); background: var(--accent); box-shadow: var(--glow); }
.nav-list .sub-menu { display: none; }
.nav-right { display: flex; align-items: center; gap: 12px; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--surface); color: var(--text); cursor: pointer; display: grid; place-items: center; font-size: 18px;
}
.menu-btn { display: none; }

/* ---------- hero ---------- */
.hero {
  padding: 140px 0 120px; position: relative; overflow: hidden; min-height: 100vh;
  display: flex; align-items: center; margin-top: -72px;
  background: var(--bg);
}
.hero > .container { position: relative; z-index: 2; width: 100%; pointer-events: none; }
.hero a, .hero .badge, .hero .stats { pointer-events: auto; }
/* grafika hero – warstwa z paralaksą, nad nią pyłek w Three.js (assets/js/hero-fx.js) */
.hero-art {
  position: absolute; inset: -2% -3% auto; height: calc(100svh + 6%); z-index: 0; will-change: transform;
  animation: artIn 2.2s cubic-bezier(.2,.8,.2,1) both;
  -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent); mask-image: linear-gradient(180deg, #000 72%, transparent);
}
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: var(--art-pos, 85% 40%); display: block; }
.hero-art::after {   /* przyciemnienie pod tekstem */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, color-mix(in srgb, var(--bg) 92%, transparent) 0%, color-mix(in srgb, var(--bg) 70%, transparent) 30%, transparent 58%);
}
@keyframes artIn { from { opacity: 0; transform: scale(1.12); filter: blur(8px); } }
.hero-fx { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; display: block; pointer-events: none; }
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 180px; z-index: 1; pointer-events: none;
  background: linear-gradient(transparent, var(--bg));
}
.badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px;
  border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent); border-radius: 999px; font-size: 14px;
  color: color-mix(in srgb, var(--text) 85%, var(--accent)); background: color-mix(in srgb, var(--accent) 6%, transparent);
  backdrop-filter: blur(6px); margin-bottom: 32px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.18); }
.hero h1 { font-size: clamp(44px, 6.6vw, 88px); margin-bottom: 28px; max-width: 640px; text-shadow: 0 10px 40px rgba(0,0,0,.6); }
.hero h1 .hl {
  background: linear-gradient(100deg, var(--accent), var(--accent-2) 50%, var(--accent)); background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .08em;
  filter: drop-shadow(0 0 22px color-mix(in srgb, var(--accent) 55%, transparent)); animation: shine 5s linear infinite;
}
@keyframes shine { to { background-position: -200% center; } }
.hero .lead { font-size: 20px; margin-bottom: 40px; max-width: 640px; text-shadow: 0 2px 18px rgba(0,0,0,.85); }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .btn-ghost { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.14); backdrop-filter: blur(6px); }
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  margin-top: 96px; padding-top: 40px; border-top: 1px solid color-mix(in srgb, var(--accent) 18%, transparent);
}
.stat strong { display: block; font-size: 40px; font-weight: 600; letter-spacing: -0.03em; color: var(--accent); text-shadow: 0 0 20px color-mix(in srgb, var(--accent) 40%, transparent); }
.stat span { color: var(--muted); font-size: 15px; }
.intro { opacity: 0; animation: introIn 1.1s cubic-bezier(.2,.8,.2,1) var(--d, 0s) forwards; }
@keyframes introIn { from { opacity: 0; filter: blur(12px); translate: 0 30px; } to { opacity: 1; filter: none; translate: none; } }
.scroll-hint { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 2; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.scroll-hint::after { content: ""; display: block; width: 1px; height: 36px; margin: 10px auto 0; background: linear-gradient(var(--muted), transparent); animation: drip 2s infinite; }
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- o mnie ---------- */
.about-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; }
.portrait {
  aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(160deg, var(--accent-soft), var(--surface));
  border: 1px solid var(--line); display: grid; place-items: center; color: var(--muted); font-size: 14px;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.about-text .text p { color: var(--muted); font-size: 17px; margin-bottom: 18px; }
.skills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; list-style: none; }
.chip { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; background: var(--surface); }

/* ---------- karty / usługi ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; transition: border-color .2s, transform .2s;
}
.card:hover { border-color: var(--accent); transform: translateY(-4px); }
.card-icon {
  width: 48px; height: 48px; border-radius: 12px; background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; margin-bottom: 24px;
}
.card h3 { font-size: 21px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; }

/* ---------- realizacje ---------- */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.filter {
  padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface);
  color: var(--muted); cursor: pointer; font: inherit; font-size: 14px;
}
.filter.active { background: var(--text); color: var(--bg); border-color: var(--text); }
.projects { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.project.hidden { display: none; }
.project-thumb {
  display: block; aspect-ratio: 16/11; border-radius: var(--radius); overflow: hidden; position: relative;
  border: 1px solid var(--line); margin-bottom: 18px; background: var(--surface);
}
.project-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.8,.2,1), filter .6s; }
.project:hover .project-thumb img { transform: scale(1.06); filter: saturate(1.15); }
.project:hover .project-thumb { border-color: var(--accent); box-shadow: 0 0 40px color-mix(in srgb, var(--accent) 18%, transparent); }
.project-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.project h3 { font-size: 22px; }
.project-tags { color: var(--muted); font-size: 14px; }
.project-desc { color: var(--muted); font-size: 15px; margin-top: 6px; }

/* ---------- proces ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { border-top: 2px solid var(--line); padding-top: 24px; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-size: 14px; font-weight: 600; color: var(--accent); }
.step h3 { font-size: 19px; margin: 10px 0 8px; }
.step p { color: var(--muted); font-size: 15px; }

/* ---------- cennik ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { display: flex; flex-direction: column; }
.plan.featured { background: var(--text); color: var(--bg); border-color: var(--text); }
.plan.featured p, .plan.featured li { color: color-mix(in srgb, var(--bg) 70%, transparent); }
.plan-name { font-weight: 600; font-size: 15px; margin-bottom: 8px; display: flex; justify-content: space-between; gap: 8px; }
.plan-tag { font-size: 12px; padding: 3px 10px; border-radius: 999px; background: var(--accent); color: var(--on-accent); }
.price { font-size: 44px; font-weight: 600; letter-spacing: -0.03em; margin: 12px 0 4px; }
.plan ul { list-style: none; margin: 24px 0 32px; flex: 1; }
.plan li { padding: 9px 0; font-size: 15px; color: var(--muted); display: flex; gap: 10px; border-top: 1px solid var(--line); }
.plan.featured li { border-color: color-mix(in srgb, var(--bg) 18%, transparent); }
.plan li::before { content: "✓"; color: var(--accent); font-weight: 700; }
.plan.featured li::before { color: color-mix(in srgb, var(--accent) 55%, #000); }
.plan .btn { justify-content: center; }
.plan.featured .btn-primary { background: var(--bg); color: var(--text); box-shadow: none; }
.pricing-note { margin-top: 28px; color: var(--muted); font-size: 15px; }
.pricing-note strong { color: var(--text); }

/* ---------- opinie ---------- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote p { font-size: 17px; margin-bottom: 28px; color: var(--text); }
.author { display: flex; align-items: center; gap: 12px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-weight: 600; overflow: hidden; flex-shrink: 0; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.author small { display: block; color: var(--muted); font-size: 13px; }
.stars { color: #f5b400; letter-spacing: 2px; margin-bottom: 16px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); padding: 24px 0; }
.faq summary { font-size: 19px; font-weight: 500; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 24px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { color: var(--muted); margin-top: 14px; }
.faq .answer p + p { margin-top: 10px; }

/* ---------- kontakt ---------- */
.contact-box {
  background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 64px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
}
.contact-info .lead { margin-bottom: 36px; }
.contact-info small { color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; display: block; margin-top: 24px; }
.contact-info a, .contact-info .value { display: block; font-size: 20px; font-weight: 500; margin-top: 8px; overflow-wrap: anywhere; }
.contact-form { display: grid; gap: 14px; align-content: start; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--bg); color: var(--text); font: inherit; font-size: 15px;
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { outline: 2px solid var(--accent); outline-offset: -1px; }
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-form .consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); }
.contact-form .consent input { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; accent-color: var(--accent); }
.contact-form .consent a { text-decoration: underline; }
.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form .btn { justify-content: center; }
.contact-form .btn[disabled] { opacity: .6; cursor: wait; }
.form-note { font-size: 14px; min-height: 20px; }
.form-note.ok { color: var(--accent); }
.form-note.err { color: #ff8a8a; }

/* ---------- stopka ---------- */
.site-footer { padding: 40px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot-list { display: flex; gap: 24px; list-style: none; flex-wrap: wrap; }
.foot-list a:hover { color: var(--accent); }

/* ---------- podstrony (polityka prywatności, wpisy) ---------- */
.page-wrap { padding: 80px 0 112px; }
.page-wrap .container { max-width: 820px; }
.page-title { font-size: clamp(36px, 5vw, 56px); margin-bottom: 32px; }
.entry-content { color: color-mix(in srgb, var(--text) 85%, var(--muted)); font-size: 17px; }
.entry-content > * + * { margin-top: 1em; }
.entry-content h2, .entry-content h3 { margin-top: 1.6em; color: var(--text); }
.entry-content a { color: var(--accent); text-decoration: underline; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.post-list { display: grid; gap: 32px; }
.post-list article { border-bottom: 1px solid var(--line); padding-bottom: 32px; }
.post-list h2 { font-size: 28px; margin-bottom: 8px; }
.post-meta { color: var(--muted); font-size: 14px; margin-bottom: 12px; }

/* ---------- animacje przy przewijaniu ---------- */
.reveal.in { animation: revealIn .7s ease both; }
@keyframes revealIn { from { opacity: .001; transform: translateY(24px); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

/* ---------- responsywność ---------- */
@media (max-width: 960px) {
  .chm-section { padding: 80px 0; }
  .services, .pricing, .testimonials { grid-template-columns: 1fr; }
  .process, .stats { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-box { grid-template-columns: 1fr; gap: 40px; }
  .contact-box { padding: 32px 24px; }
  .portrait { max-width: 380px; }
}
@media (max-width: 760px) {
  /* na telefonie osobny kadr grafiki – szyszka w dolnej połowie pierwszego ekranu */
  .hero-art img { object-position: var(--art-pos-m, 50% 70%); }
  .hero-art::after { background: linear-gradient(180deg, color-mix(in srgb, var(--bg) 90%, transparent) 0%, color-mix(in srgb, var(--bg) 78%, transparent) 45%, color-mix(in srgb, var(--bg) 30%, transparent) 75%, transparent 100%); }
  /* tekst nachodzi na szyszkę – jaśniejszy kolor i mocniejszy cień, żeby był czytelny */
  .hero .lead { color: color-mix(in srgb, var(--text) 90%, var(--accent)); text-shadow: 0 1px 2px rgba(0,0,0,.95), 0 2px 16px rgba(0,0,0,.9); }
  .stat span { color: color-mix(in srgb, var(--text) 80%, transparent); }
  .hero .btn-ghost { background: color-mix(in srgb, var(--bg) 60%, transparent); }
  /* „Przewiń” wchodziło na tekst i przyciski */
  .scroll-hint { display: none; }
}
@media (max-width: 720px) {
  .container { padding: 0 16px; }
  .nav-links {
    display: none; position: absolute; top: 72px; left: 0; right: 0; border-radius: 0;
    background: var(--bg); border: 0; border-bottom: 1px solid var(--line); padding: 8px 16px;
  }
  .nav-links.open { display: block; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list a { padding: 14px 4px; border-radius: 10px; }
  .menu-btn { display: grid; }
  .nav .header-cta { display: none; }
  .nav .nav-right { margin-left: auto; }
  .projects, .contact-form .row { grid-template-columns: 1fr; }
  .hero { padding: 72px 0 64px; }
  .stats { margin-top: 64px; }
}
