/* Droga Kreatora — style skalibrowane z oryginałem (drogakreatora.pl, 2026-07). */
:root {
  --bg: #ffffff;
  --bg-page: #fbfbfc;
  --surface: #ffffff;
  --border: #ececf0;
  --text: #111318;
  --text-muted: #6f7480;
  --accent: #f12943;        /* czerwień przycisków i akcentów */
  --accent-soft: #fde8ec;
  --icon-blue: #7da4e3;
  --radius: 12px;
  --radius-lg: 20px;
  --pill: 58px;
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --container: 1170px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--bg-page); color: var(--text); font-family: var(--font); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5 { line-height: 1.1; font-weight: 800; letter-spacing: -0.01em; color: var(--text); }
h1 { font-size: clamp(2.4rem, 4.5vw, 3.5rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.5rem); }
h5 { font-size: 1.15rem; line-height: 1.35; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
main, .nav, .footer, .cta-wrap { background: var(--bg); }
section { padding: 72px 0; }
.section-label { display: inline-block; color: var(--text-muted); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 12px; font-weight: 700; }

/* Buttons */
.btn { display: inline-block; padding: 12px 26px; border-radius: var(--pill); font-weight: 700; font-size: 0.95rem; transition: transform .15s ease, box-shadow .15s ease, opacity .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(241, 41, 67, 0.28); }
.btn-ghost { border: 1px solid var(--border); color: var(--text); background: #fff; }
.btn-lg { padding: 15px 34px; font-size: 1rem; }

/* Animacje */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.22,.61,.36,1); }
.reveal.in { opacity: 1; transform: none; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .hero-labels .chip { animation: none !important; } }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.nav-inner { display: flex; align-items: center; height: 62px; }
.nav-logo img { height: 30px; width: auto; }
.nav-links { display: flex; gap: 28px; margin: 0 auto; }
.nav-links a { color: var(--text); font-weight: 500; font-size: 0.92rem; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--accent); }
.nav-cta { margin-left: 16px; }
.nav-burger { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; padding: 8px; margin-left: auto; }
.nav-burger span { width: 22px; height: 2px; background: var(--text); transition: .2s; }
.nav-mobile { display: none; }

/* Hero */
.hero { padding: 88px 0 72px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; left: -15%; right: -15%; top: 30%; bottom: -25%; background: radial-gradient(60% 70% at 42% 75%, rgba(241, 41, 67, 0.16), rgba(241, 41, 67, 0) 70%), radial-gradient(50% 60% at 75% 60%, rgba(180, 120, 240, 0.10), transparent 70%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; position: relative; z-index: 1; }
.hero-copy h1 { font-size: clamp(2.5rem, 4.8vw, 3.6rem); }
.hero-copy p { color: var(--text-muted); font-size: 1.02rem; margin: 20px 0 30px; max-width: 420px; }
.hero-visual { position: relative; min-height: 320px; }
.hero-visual img { width: 70%; margin: 0 auto; }
.hero-labels { position: absolute; inset: 0; pointer-events: none; }
.hero-labels .chip { position: absolute; }
.hero-labels .chip:nth-child(1) { top: 42%; left: 0; }
.hero-labels .chip:nth-child(2) { top: 26%; right: 0; }
.hero-labels .chip:nth-child(3) { top: 6%; left: 18%; }
.hero-labels .chip:nth-child(4) { bottom: 12%; right: 14%; }
.chip { background: #fff; border-radius: 10px; padding: 10px 18px; font-size: 0.9rem; font-weight: 600; box-shadow: 0 8px 24px rgba(17, 19, 24, 0.09); }

/* Logo ticker */
.logo-ticker { overflow: hidden; padding: 36px 0; background: var(--bg); position: relative; }
.logo-ticker::before, .logo-ticker::after { content: ""; position: absolute; top: 0; bottom: 0; width: clamp(80px, 14vw, 260px); z-index: 2; pointer-events: none; }
.logo-ticker::before { left: 0; background: linear-gradient(90deg, var(--bg) 25%, transparent); }
.logo-ticker::after { right: 0; background: linear-gradient(270deg, var(--bg) 25%, transparent); }
.ticker-track { display: flex; align-items: center; gap: 72px; width: max-content; animation: ticker 45s linear infinite; }
.ticker-track img { height: 44px; width: auto; object-fit: contain; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Services */
.services h2 { text-align: center; max-width: 620px; margin: 0 auto 48px; }
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 28px 40px; box-shadow: 0 10px 30px rgba(103, 130, 190, 0.08); transition: transform .25s ease, box-shadow .25s ease; }
.card:hover { transform: translateY(-5px); box-shadow: 0 18px 44px rgba(103, 130, 190, 0.16); }
.card-icon { width: 46px; height: 46px; object-fit: contain; margin-bottom: 40px; position: relative; filter: drop-shadow(0 10px 14px rgba(125, 164, 227, 0.45)); }
.card h5 { margin-bottom: 10px; font-size: 1.25rem; }
.card p { color: var(--text-muted); font-size: 0.92rem; }

/* Values */
.values { position: relative; overflow: hidden; }
.values::after { content: ""; position: absolute; right: -5%; top: 10%; width: 55%; height: 90%; background: radial-gradient(closest-side, rgba(241, 41, 67, 0.10), rgba(125, 164, 227, 0.08) 60%, transparent 75%); pointer-events: none; }
.values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
.value-item { display: flex; gap: 14px; margin-top: 26px; }
.check { flex: none; color: var(--icon-blue); font-weight: 800; margin-top: 2px; }
.value-item h5 { font-size: 1.2rem; }
.value-item p { color: var(--text-muted); font-size: 0.92rem; margin-top: 6px; }
.values-visual img { border-radius: var(--radius-lg); }

/* Testimonials */
.testimonials h2 { margin-bottom: 40px; }
.testimonial-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testimonial { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 2px 10px rgba(17, 19, 24, 0.03); }
.testimonial blockquote { color: var(--text-muted); font-size: 0.93rem; }
.testimonial figcaption { display: flex; gap: 12px; align-items: center; margin-top: 40px; }
.testimonial figcaption img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.testimonial figcaption strong { font-size: 0.95rem; }
.testimonial figcaption span { display: block; color: var(--text-muted); font-size: 0.78rem; font-style: italic; }

/* FAQ */
.faq-section h2 { text-align: center; margin-bottom: 36px; }
.faq-list { max-width: 920px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 4px; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h5 { font-size: 1.1rem; font-weight: 700; }
.faq-icon { flex: none; width: 14px; height: 14px; position: relative; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; inset: 0; margin: auto; background: var(--icon-blue); }
.faq-icon::before { width: 14px; height: 2px; }
.faq-icon::after { width: 2px; height: 14px; transition: transform .2s; }
.faq-item[open] .faq-icon::after { transform: scaleY(0); }
.faq-answer { padding: 0 4px 24px; color: var(--text-muted); max-width: 820px; }

/* Blog — karty z tytułem na zdjęciu (jak w oryginale) */
.blog-teaser-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 36px; }
.posts-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.blog-list .posts-grid, .featured-post + .blog-list .posts-grid { grid-template-columns: repeat(3, 1fr); }
.post-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/10.5; display: block; }
.post-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.post-card:hover img { transform: scale(1.04); }
.post-card-body { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 26px; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,0.72) 100%); }
.post-card-body h5, .post-card-body h5 a { color: #fff; font-size: 1.35rem; }
.post-card-body p { color: rgba(255,255,255,0.85); font-size: 0.9rem; }
.post-card-more { color: #fff; font-weight: 700; font-size: 0.88rem; text-decoration: underline; }

.page-head { text-align: center; padding-bottom: 24px; }
.page-head p { color: var(--text-muted); max-width: 640px; margin: 16px auto 0; }
.featured-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.featured-img { border-radius: var(--radius-lg); overflow: hidden; display: block; }
.featured-img img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.featured-grid h2 { margin: 8px 0 16px; }
.featured-grid h2 a:hover { color: var(--accent); }
.featured-grid p { color: var(--text-muted); margin-bottom: 24px; }
.post-date { color: var(--text-muted); font-size: 0.85rem; margin-top: 16px; }

/* Wpis */
.post-container { max-width: 740px; }
.post-cover { border-radius: var(--radius-lg); margin-bottom: 32px; max-height: 460px; object-fit: cover; width: 100%; }
.post h1 { margin: 10px 0 16px; font-size: clamp(2rem, 4vw, 2.8rem); }
.post-lead { color: var(--text-muted); font-size: 1.08rem; margin-bottom: 32px; }
.post-body h2 { font-size: 1.55rem; margin: 40px 0 14px; }
.post-body p { margin: 16px 0; color: #3c4048; }
.post-body strong { color: var(--text); }
.post-body ul, .post-body ol { margin: 16px 0 16px 24px; color: #3c4048; }
.post-body li { margin: 8px 0; }
.post-body a { color: var(--accent); text-decoration: underline; }
.post-body figure { margin: 24px 0; }
.post-body img { border-radius: var(--radius); }
.video-embed { position: relative; aspect-ratio: 16/9; margin: 32px 0; border-radius: var(--radius); overflow: hidden; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Kontakt — czerwony panel + formularz (jak w oryginale) */
.kontakt-split { display: grid; grid-template-columns: 39% 1fr; min-height: calc(100vh - 62px); padding: 0; }
.kontakt-panel { background: var(--accent); color: #fff; display: flex; align-items: center; }
.kontakt-panel-inner { max-width: 340px; margin: 0 auto; padding: 64px 24px; }
.kontakt-panel h5, .kontakt-panel a { color: #fff; }
.kontakt-label { letter-spacing: 0.08em; font-size: 1.05rem; }
.kontakt-intro { color: rgba(255,255,255,0.9); margin: 10px 0 44px; }
.kontakt-item { display: flex; gap: 14px; margin-bottom: 26px; align-items: flex-start; }
.kontakt-ico { flex: none; width: 22px; text-align: center; opacity: .9; margin-top: 2px; }
.kontakt-item h5 { font-size: 1rem; margin-bottom: 2px; }
.kontakt-item a { font-size: 0.98rem; text-decoration: none; opacity: .95; }
.kontakt-socials { display: flex; gap: 12px; margin-top: 72px; }
.kontakt-socials a { width: 30px; height: 30px; border: 1.5px solid rgba(255,255,255,0.85); border-radius: 50%; display: grid; place-items: center; font-size: 0.6rem; font-weight: 700; }
.kontakt-socials a:hover { background: #fff; color: var(--accent); }
.kontakt-main { padding: 96px 8% 64px; background: linear-gradient(135deg, #f2f8f0 0%, #ffffff 45%, #fdf5f5 100%); }
.kontakt-main h1 { max-width: 420px; }
.kontakt-sub { color: var(--text-muted); margin: 18px 0 40px; max-width: 440px; }
.kontakt-sub a { color: var(--accent); font-weight: 600; }
#contact-form { max-width: 440px; display: flex; flex-direction: column; gap: 14px; }
#contact-form input, #contact-form textarea { background: #eef2fb; border: 1px solid transparent; border-radius: 8px; padding: 13px 16px; font-family: var(--font); font-size: 0.95rem; color: var(--text); resize: vertical; transition: border-color .15s, background .15s; }
#contact-form input:focus, #contact-form textarea:focus { outline: none; border-color: var(--accent); background: #fff; }
#contact-form ::placeholder { color: #8a90a0; }
.btn-block { width: 100%; border: 0; cursor: pointer; font-family: var(--font); }
.form-status { font-size: 0.9rem; min-height: 1.2em; }
.form-status.ok { color: #1a9e55; }
.form-status.err { color: var(--accent); }

/* CTA band — gradient jak w oryginale */
.cta-wrap { padding: 0 0 8px; }
.cta-band { border-radius: var(--radius); background: linear-gradient(90deg, #ccd7f2 0%, #e8d9e8 55%, #f8d8e0 100%); padding: 44px 48px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); max-width: 420px; text-shadow: 0 1px 12px rgba(90, 90, 120, 0.15); }
.cta-band .btn { background: #fff; color: var(--text); box-shadow: 0 6px 18px rgba(17, 19, 24, 0.08); }

/* Footer */
.footer { padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2.2fr 1fr 1fr; gap: 40px; }
.footer-brand img { height: 24px; width: auto; }
.footer-brand h3 { margin: 22px 0; font-size: clamp(1.6rem, 3vw, 2.1rem); max-width: 320px; }
.footer-col h4 { margin-bottom: 14px; font-size: 0.95rem; font-weight: 700; }
.footer-col a { display: block; color: var(--text-muted); margin: 8px 0; font-size: 0.9rem; }
.footer-col a:hover { color: var(--text); }
.footer-credit { display: flex; justify-content: space-between; align-items: center; margin-top: 48px; padding-top: 20px; color: var(--text-muted); font-size: 0.8rem; }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a { width: 32px; height: 32px; border-radius: 50%; background: var(--text); color: #fff; display: grid; place-items: center; font-size: 0.62rem; font-weight: 700; }

/* Responsive */
@media (max-width: 900px) {
  section { padding: 52px 0; }
  .hero-grid, .values-grid, .featured-grid { grid-template-columns: 1fr; }
  .kontakt-split { grid-template-columns: 1fr; min-height: 0; }
  .kontakt-main { padding: 56px 24px; }
  .cards-grid, .testimonial-track { grid-template-columns: 1fr 1fr; }
  .posts-grid, .blog-list .posts-grid { grid-template-columns: 1fr; }
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .nav-mobile.open { display: flex; flex-direction: column; gap: 16px; padding: 20px 24px; border-top: 1px solid var(--border); background: #fff; }
  .cta-band { flex-direction: column; text-align: center; }
}
@media (max-width: 600px) {
  .cards-grid, .testimonial-track { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
}
