/* Podgląd strony – Artur Ambroży, wdrożenia Base i marketplace'ów */
:root {
  --ink: #15171c;
  --ink-2: #3d424d;
  --muted: #6a707c;
  --line: #e3e5e9;
  --bg: #ffffff;
  --bg-soft: #f5f6f4;
  --accent: #127a5c;
  --accent-dark: #0c5c45;
  --accent-soft: #e5f3ee;
  --note: #fff6d6;
  --note-line: #e9cf6b;
  --radius: 14px;
  --max: 1120px;
  font-size: 17px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 700; }
h2 { font-size: clamp(1.55rem, 2.6vw, 2.1rem); font-weight: 700; }
h3 { font-size: 1.12rem; font-weight: 650; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Pasek szkicu */
.draft-bar {
  background: var(--note);
  border-bottom: 1px solid var(--note-line);
  font-size: .85rem;
  padding: 8px 0;
  color: #5c4a00;
}
.draft-bar .wrap { display: flex; gap: 16px; justify-content: space-between; flex-wrap: wrap; }
.draft-note {
  background: var(--note);
  border: 1px dashed var(--note-line);
  color: #5c4a00;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: .88rem;
  margin: 0 0 1em;
}

/* Nagłówek i menu */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 20px; }
.brand { text-decoration: none; color: var(--ink); line-height: 1.15; }
.brand strong { display: block; font-size: 1.05rem; }
.brand span { font-size: .78rem; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  text-decoration: none; color: var(--ink-2); font-size: .92rem;
  padding: 8px 10px; border-radius: 8px;
}
.nav a:hover, .nav a[aria-current="page"] { background: var(--bg-soft); color: var(--ink); }
.nav a.soon { position: relative; }
.nav .btn { margin-left: 8px; color: #fff; }
.nav .btn:hover { background: var(--accent-dark); color: #fff; }
.menu-toggle { display: none; }
.site-header .header-cta { display: none; }
.nav { margin-left: auto; }

/* Przełącznik języka PL | EN */
.lang-switch { display: flex; flex: none; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.lang-switch a { padding: 5px 9px; font-size: .8rem; font-weight: 600; text-decoration: none; color: var(--muted); }
.lang-switch a:hover { color: var(--ink); background: var(--bg-soft); }
.lang-switch a.active { background: var(--accent); color: #fff; }

/* Przyciski */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--accent); color: #fff; text-decoration: none;
  font-weight: 600; font-size: .95rem;
  padding: 12px 20px; border-radius: 10px; border: 2px solid var(--accent);
  transition: background .15s, border-color .15s;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: transparent; color: #fff; border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn small { font-weight: 400; opacity: .8; }

/* Sekcje */
section { padding: 84px 0; scroll-margin-top: 68px; }
.soft { background: var(--bg-soft); }
.dark { background: var(--ink); color: #eef0f3; }
.dark h2, .dark h3 { color: #fff; }
.dark p { color: #c9cdd4; }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 12px;
}
.dark .eyebrow { color: #6fd3b0; }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 46em; }
.section-head { max-width: 760px; margin-bottom: 40px; }

/* Hero */
.hero { padding: 72px 0 64px; }
.hero h1 { max-width: 15em; }
.hero .lead { margin-bottom: 28px; }
.hero-meta { margin-top: 22px; font-size: .88rem; color: var(--muted); }
.offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.services { padding-top: 24px; }
.services .section-head { margin-bottom: 28px; }
.offer {
  display: block; text-decoration: none; color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  background: #fff; transition: border-color .15s, transform .15s;
}
.offer:hover { border-color: var(--accent); transform: translateY(-2px); color: var(--ink); }
.offer .num { font-size: .8rem; font-weight: 700; color: var(--accent); }
.offer h3 { margin: 8px 0 6px; }
.offer p { color: var(--ink-2); font-size: .95rem; margin: 0 0 12px; }
.offer .more { font-weight: 600; color: var(--accent); font-size: .92rem; }

/* Kafelki */
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
}
.card p { color: var(--ink-2); font-size: .95rem; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card a.more { font-weight: 600; font-size: .92rem; text-decoration: none; }
.card ul { padding-left: 1.1em; margin: 0 0 1em; color: var(--ink-2); font-size: .95rem; }
.card li { margin-bottom: 4px; }
.tag { display: inline-block; font-size: .75rem; font-weight: 600; color: var(--accent-dark); background: var(--accent-soft); border-radius: 999px; padding: 3px 10px; margin-bottom: 10px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 14px; font-size: .88rem; font-weight: 550; }

/* Dla kogo */
.audience { padding: 32px; }
.audience h3 { font-size: 1.35rem; }
.audience .btn { margin-top: 8px; }

/* Kroki */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { position: relative; padding: 24px; border-top: 3px solid var(--accent); background: #fff; border-radius: 0 0 var(--radius) var(--radius); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: block; font-weight: 700; color: var(--accent); font-size: .9rem; margin-bottom: 8px;
}
.step p { color: var(--ink-2); font-size: .95rem; margin: 0; }
.steps.steps-3 { grid-template-columns: repeat(3, 1fr); }
.steps.steps-5 { grid-template-columns: repeat(5, 1fr); gap: 12px; }
.steps.steps-5 .step { padding: 20px; }
.step-highlight { background: var(--accent-soft); }
.steps-cta { margin-top: 28px; }
.daily { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); }
.daily h3 { font-size: 1.35rem; }
.daily p { color: var(--ink-2); margin: 0; }

/* Realizacja */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 32px; }
.stat { border-left: 3px solid var(--accent); padding: 4px 0 4px 18px; }
.stat strong { display: block; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.15; }
.stat span { color: var(--muted); font-size: .92rem; }
.market-chips { margin: 0 0 40px; }
.experience-cols { gap: 40px; }
.experience-cols h3 { margin-bottom: 8px; }
.experience-cols p { color: var(--ink-2); margin: 0; }

/* Cennik */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.price-card { display: flex; flex-direction: column; }
.price-card h3 { margin-bottom: 6px; }
.price-card .tag { align-self: flex-start; }
.price-rows { list-style: none; padding: 0 !important; margin: auto 0 0 !important; }
.price-rows li { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); margin: 0; color: var(--ink-2); }
.price-rows small { color: var(--muted); font-size: .82rem; font-weight: 400; }
.price-rows strong { color: var(--ink); white-space: nowrap; font-size: 1.05rem; }
.price-note { margin: 20px 0 24px; color: var(--muted); font-size: .95rem; max-width: 46em; }
.brief-hint { margin: 18px auto 0; max-width: 40em; font-size: .9rem; color: var(--muted); }
.steps.vertical { grid-template-columns: 1fr; gap: 0; }
.steps.vertical .step { border-top: 0; border-left: 3px solid var(--accent); border-radius: 0; padding: 4px 0 28px 28px; background: transparent; }
.steps.vertical .step ul { margin: 8px 0 0; padding-left: 1.1em; color: var(--ink-2); font-size: .95rem; }

/* Certyfikaty */
.certs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cert {
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px;
  display: flex; flex-direction: column; gap: 6px; font-size: .9rem;
}
.cert strong { font-size: .95rem; line-height: 1.3; }
.cert code { font-family: Consolas, "Cascadia Mono", monospace; font-size: .82rem; color: var(--ink-2); background: var(--bg-soft); padding: 2px 6px; border-radius: 5px; align-self: flex-start; }
.cert a { margin-top: auto; font-weight: 600; font-size: .85rem; text-decoration: none; }
.cert-issuer { display: flex; align-items: center; gap: 10px; margin-bottom: 28px; color: var(--muted); font-size: .9rem; }
.cert-issuer img { height: 22px; width: auto; }
.cert-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cert-item { display: flex; flex-direction: column; gap: 6px; font-size: .9rem; }
.cert-zoom { display: block; border-radius: 10px; }
.cert-zoom img { transition: border-color .15s, box-shadow .15s; cursor: zoom-in; }
.cert-zoom:hover img { border-color: var(--accent); box-shadow: 0 6px 18px rgba(0,0,0,.08); }
.cert-item img { width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--line); margin-bottom: 4px; }
.cert-item strong { font-size: .95rem; line-height: 1.3; }
.cert-item code { font-family: Consolas, "Cascadia Mono", monospace; font-size: .82rem; color: var(--ink-2); background: #fff; border: 1px solid var(--line); padding: 2px 6px; border-radius: 5px; align-self: flex-start; }
.cert-item a { font-weight: 600; font-size: .85rem; text-decoration: none; }

/* Kim jestem */
.about { display: grid; grid-template-columns: 200px 1fr; gap: 40px; align-items: center; }
.about-photo { width: 200px; height: 200px; object-fit: cover; border-radius: 50%; border: 4px solid #fff; box-shadow: 0 6px 20px rgba(0,0,0,.08); }
.about .lead { margin-bottom: 0; }
.about-links { margin: 14px 0 0; font-size: .95rem; color: var(--muted); }
.about-links a { font-weight: 600; }

/* Czas odpowiedzi */
.reply-time { margin: 14px 0 0; font-size: .9rem; color: var(--muted); }
.contact-plain { margin: 22px 0 0; font-size: .95rem; color: var(--ink-2); }
.contact-plain a { font-weight: 600; white-space: nowrap; }

/* Pasek partnera Base */
.partner-band { padding: 32px 0; }
.partner-band .wrap { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.partner-band img { height: 28px; width: auto; }
.partner-band p { flex: 1 1 360px; margin: 0; font-size: .95rem; }
.partner-band p strong { color: #fff; }
.partner-band code { font-family: Consolas, "Cascadia Mono", monospace; background: rgba(255,255,255,.1); padding: 2px 8px; border-radius: 6px; color: #fff; }

/* Prosta stopka */
.footer-simple { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.footer-simple h4 { color: #fff; font-size: .9rem; margin: 0 0 12px; }
.footer-simple ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }

/* Opinie – miejsce */
.placeholder { border: 2px dashed var(--line); border-radius: var(--radius); padding: 36px; text-align: center; color: var(--muted); }

/* Polecane narzędzie (Base) */
.tool { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.tool-logo { height: 40px; width: auto; margin-bottom: 20px; }
.tool-box { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 28px; }
.tool-box dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; font-size: .95rem; }
.tool-box dt { color: #9aa1ad; }
.tool-box dd { margin: 0; color: #fff; word-break: break-word; }
.tool-box code { font-family: Consolas, "Cascadia Mono", monospace; background: rgba(255,255,255,.1); padding: 2px 8px; border-radius: 6px; }
.disclosure { font-size: .82rem; color: #9aa1ad !important; margin-top: 18px; }

/* Lista z ptaszkami */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23127a5c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.02rem; 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: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; color: var(--ink-2); }

/* Okruszki */
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }

/* CTA końcowe */
.cta { text-align: center; }
.cta .lead { margin: 0 auto 28px; }
.cta .btn-row { justify-content: center; }

/* Dane kontaktowe */
.contact-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 620px; margin: 0 auto 28px; }
.contact-list a {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  padding: 16px 20px; word-break: break-word; border: 1px solid var(--line); border-radius: 12px;
  text-decoration: none; color: var(--ink); font-weight: 600; font-size: 1.05rem; text-align: left;
}
.contact-list a:hover { border-color: var(--accent); color: var(--ink); }
.contact-list span { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.footer-contact a { display: block; }

/* Stopka */
.site-footer { background: #0e1014; color: #9aa1ad; padding: 56px 0 32px; font-size: .9rem; }
.site-footer a { color: #c9cdd4; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.footer-grid h4 { color: #fff; font-size: .9rem; margin: 0 0 12px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer-bottom { border-top: 1px solid #23262d; padding-top: 20px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .8rem; }

/* Responsywność */
@media (max-width: 1000px) {
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 12px 24px 20px; }
  .nav.open { display: flex; }
  .nav .btn { margin: 8px 0 0; }
  .menu-toggle { display: inline-flex; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; font: inherit; font-size: .9rem; cursor: pointer; }
  .site-header .wrap { gap: 10px; }
  .brand { margin-right: auto; }
  .site-header .header-cta { display: inline-flex; padding: 8px 14px; font-size: .9rem; }
  .offers, .grid-3, .grid-4, .steps, .steps.steps-3, .steps.steps-5, .certs, .cert-gallery { grid-template-columns: repeat(2, 1fr); }
  .prices { grid-template-columns: 1fr; max-width: 620px; }
  .footer-simple { grid-template-columns: 1fr; gap: 20px; }
  .about { grid-template-columns: 1fr; gap: 24px; }
  .about-photo { width: 150px; height: 150px; }
  .tool, .two-col { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  :root { font-size: 16px; }
  section { padding: 60px 0; }
  .offers, .grid-2, .grid-3, .grid-4, .steps, .steps.steps-3, .steps.steps-5, .certs { grid-template-columns: 1fr; }
  .stats { gap: 10px; }
  .stat { padding-left: 10px; }
  .stat span { font-size: .8rem; display: block; line-height: 1.3; }
  .hero .btn-row .btn { flex: 1 1 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .cert-gallery { grid-template-columns: 1fr 1fr; gap: 12px; }
  .contact-list { grid-template-columns: 1fr; }
  .audience { padding: 24px; }
  .brand span { display: none; }
  .draft-bar { font-size: .78rem; padding: 6px 0; }
  .cta .btn-row .btn { flex: 1 1 100%; }
  .contact-plain .sep { display: block; height: 4px; visibility: hidden; }
  .tool-box { padding: 22px; }
  .tool-box dl { grid-template-columns: 1fr; gap: 2px; }
  .tool-box dd { margin-bottom: 12px; }
  .tool-box dd:last-child { margin-bottom: 0; }
}
