/* Wspólny wygląd wszystkich stron (nowa, prosta wersja) */
:root {
  --ink: #16211d;
  --muted: #5d6b66;
  --line: #e2e8e4;
  --bg: #ffffff;
  --soft: #f4f7f5;
  --green: #127a5c;
  --green-dark: #0c5c45;
  --green-soft: #e4f2ec;
  --radius: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font-family: "Segoe UI", system-ui, -apple-system, Arial, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 17px; -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); }
h1, h2, h3 { line-height: 1.2; margin: 0; letter-spacing: -0.015em; }
p { margin: 0; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
section { padding: 80px 0; }
.title { text-align: center; margin-bottom: 44px; }
.title h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.title p { color: var(--muted); margin-top: 10px; }
.soft { background: var(--soft); }

.btn { display: inline-block; background: var(--green); color: #fff; text-decoration: none; font-weight: 600; padding: 14px 26px; border-radius: 999px; transition: background .15s, transform .15s; }
.btn:hover { background: var(--green-dark); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--green); box-shadow: inset 0 0 0 2px var(--green); }
.btn-ghost:hover { background: var(--green-soft); color: var(--green-dark); }
.btn-white, .btn-light { background: #fff; color: var(--green-dark); }
.btn-white:hover, .btn-light:hover { background: #eef7f3; color: var(--green-dark); }
.btns, .btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* Menu – każda pozycja to osobna strona */
header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
header .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: flex; flex-direction: column; line-height: 1.3; color: var(--ink); text-decoration: none; margin-right: auto; white-space: nowrap; }
.logo strong { font-size: 1.1rem; }
.logo span { font-size: .85rem; color: var(--muted); }
nav { display: flex; gap: 28px; }
nav a { color: var(--ink); text-decoration: none; font-weight: 500; white-space: nowrap; }
nav a:hover, nav a.active { color: var(--green); }
nav a.active { box-shadow: inset 0 -2px 0 var(--green); }
.lang { font-size: .85rem; color: var(--muted); white-space: nowrap; }
.lang a { color: var(--muted); text-decoration: none; }
.lang strong { color: var(--ink); }

/* Strona główna – baner */
.home-hero { background: linear-gradient(180deg, var(--green-soft) 0%, #fff 100%); padding: 80px 0 96px; }
.home-hero .wrap { display: grid; grid-template-columns: 1fr 210px; gap: 56px; align-items: center; }
.home-hero h1 { font-size: clamp(2.1rem, 4.2vw, 3.1rem); }
.home-hero .lead { font-size: 1.15rem; color: var(--muted); margin: 22px 0 32px; max-width: 38em; }
.home-hero .facts { margin-top: 24px; color: var(--muted); font-size: .95rem; }
.home-hero .facts a { font-weight: 600; }
.hero-photo { justify-self: center; }
.hero-photo img { width: 200px; height: 200px; object-fit: cover; border-radius: 50%; border: 6px solid #fff; box-shadow: 0 14px 36px rgba(18,122,92,.18); }

/* Nagłówek osobnych stron */
.page-head { background: linear-gradient(180deg, var(--green-soft) 0%, #fff 100%); padding: 64px 0 24px; text-align: center; }
.page-head h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.page-head p { color: var(--muted); margin-top: 12px; font-size: 1.1rem; }
.page-head + section { padding-top: 40px; }

/* Usługi */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; box-shadow: 0 4px 18px rgba(22,33,29,.05); }
.icon { width: 52px; height: 52px; border-radius: 14px; background: var(--green-soft); color: var(--green); display: grid; place-items: center; margin-bottom: 20px; }
.card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.card p { color: var(--muted); }
.subhead { text-align: center; font-size: 1.4rem; margin: 64px 0 24px; }
.links3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.links3 a { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--soft); border-radius: var(--radius); padding: 22px 26px; text-decoration: none; color: var(--ink); font-weight: 600; transition: background .15s; }
.links3 a::after { content: "→"; color: var(--green); }
.links3 a:hover { background: var(--green-soft); }

/* Cennik */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.price { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; box-shadow: 0 4px 18px rgba(22,33,29,.05); }
.tag { display: inline-block; font-size: .8rem; font-weight: 600; color: var(--green); background: var(--green-soft); padding: 4px 12px; border-radius: 999px; margin-bottom: 14px; }
.price h3 { font-size: 1.15rem; margin-bottom: 18px; }
.row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); font-size: .95rem; }
.row span { color: var(--muted); }
.row strong { white-space: nowrap; }
.note { text-align: center; color: var(--muted); margin-top: 28px; font-size: .95rem; }
/* Lista marketplace'ów + wycena indywidualna (Usługi, Cennik) */
.offer-box { margin-top: 40px; background: var(--green-soft); border-radius: var(--radius); padding: 30px 32px; text-align: center; }
.offer-box h3 { font-size: 1.25rem; margin-bottom: 18px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 18px; }
.chips span { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-weight: 600; font-size: .95rem; }
.chips a { background: var(--green); color: #fff; border-radius: 999px; padding: 6px 14px; font-weight: 600; font-size: .95rem; text-decoration: none; }
.chips a:hover { background: var(--green-dark); color: #fff; }
.card-link { display: inline-block; margin-top: 14px; font-weight: 700; color: var(--green); text-decoration: none; }
.card-link:hover { text-decoration: underline; }
.offer-box p { max-width: 44em; margin: 0 auto; }
.offer-box a { font-weight: 600; }

/* O mnie */
.about { max-width: 720px; margin: 0 auto; text-align: center; }
.about img { width: 180px; height: 180px; object-fit: cover; border-radius: 50%; margin: 0 auto 28px; border: 6px solid #fff; box-shadow: 0 14px 36px rgba(18,122,92,.16); }
.about p { font-size: 1.15rem; color: var(--muted); }
.about .links { margin-top: 18px; font-size: 1rem; }
.about .links a { font-weight: 600; }

/* Pasek Base */
.base { background: #15171c; color: #c9ced6; padding: 36px 0; }
.base .wrap { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.base img { height: 28px; width: auto; }
.base p { flex: 1 1 380px; font-size: .95rem; }
.base p strong { color: #fff; }
.base a.link { color: #fff; font-weight: 600; }
.base code { font-family: Consolas, monospace; background: rgba(255,255,255,.1); color: #fff; padding: 2px 8px; border-radius: 6px; }

/* Kontakt (zielony) – strona Kontakt i dół podstron */
.contact, .cta { background: var(--green); color: #fff; text-align: center; }
.contact h1, .contact h2, .cta h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.contact .lead, .cta .lead { font-size: 1.15rem; opacity: .9; margin: 16px auto 32px; max-width: 34em; color: #fff; }
.contact .btns, .cta .btn-row { justify-content: center; }
.contact .btn, .cta .btn { background: #fff; color: var(--green-dark); box-shadow: none; }
.contact .btn-ghost, .cta .btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.8); }
.contact .btn-ghost:hover, .cta .btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.contact .plain, .cta .contact-plain, .cta .reply-time { margin-top: 24px; opacity: .9; font-size: .95rem; }
.cta .reply-time + .contact-plain { margin-top: 8px; }
.contact .plain a, .cta a:not(.btn) { color: #fff; }
.cta .eyebrow { color: #cfeee2; }
.page-contact { padding: 96px 0; width: 100%; }
main:has(> .page-contact) { background: var(--green); display: flex; align-items: center; }
.page-contact-head { padding-bottom: 96px; }
.prices-note { text-align: center; color: var(--muted); margin: -8px 0 24px; }
.page-contact-head .btns { justify-content: center; margin-top: 32px; }
.page-contact-head .plain { margin-top: 24px; font-size: .95rem; }

/* Podstrony usług (Allegro, Empik…, Base) */
.hero { background: linear-gradient(180deg, var(--green-soft) 0%, #fff 100%); padding: 56px 0 64px; }
.hero h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin: 6px 0 16px; }
.hero .lead { font-size: 1.15rem; max-width: 40em; margin-bottom: 28px; }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green); margin-bottom: 8px; }
.lead { color: var(--muted); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.section-head h2, .two-col h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.section-head .lead { margin-top: 10px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.two-col .lead { margin-top: 10px; }
.two-col + .two-col { margin-top: 56px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--green); font-weight: 700; }
.price-card p { margin-bottom: 18px; }
.price-rows { list-style: none; margin: 0; padding: 0; }
.price-rows li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); font-size: .95rem; }
.price-rows span { color: var(--muted); }
.price-rows strong { white-space: nowrap; }
.price-rows small { font-weight: 400; color: var(--muted); }
.price-note { text-align: center; color: var(--muted); margin-top: 28px; font-size: .95rem; }
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 22px; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq details p { color: var(--muted); margin-top: 10px; }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: krok; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px; counter-increment: krok; }
.step::before { content: counter(krok); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--green-soft); color: var(--green); font-weight: 700; margin-bottom: 14px; }
.step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .95rem; }
.step-highlight { border-color: var(--green); }
.steps-cta { justify-content: center; margin-top: 32px; }
.dark { background: #15171c; color: #c9ced6; }
.dark h2 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 18px 0 12px; }
.dark .btn-row { margin: 24px 0 16px; }
.tool { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.tool-logo { height: 34px; width: auto; }
.disclosure { font-size: .85rem; opacity: .8; }
.tool-box { background: rgba(255,255,255,.06); border-radius: var(--radius); padding: 24px 28px; }
.tool-box dl { margin: 0; }
.tool-box dt { color: #fff; font-weight: 600; margin-top: 14px; }
.tool-box dt:first-child { margin-top: 0; }
.tool-box dd { margin: 4px 0 0; font-size: .95rem; }
.tool-box code, .dark code { font-family: Consolas, monospace; background: rgba(255,255,255,.1); color: #fff; padding: 2px 8px; border-radius: 6px; }

footer { background: #0e1513; color: #8d9894; font-size: .85rem; padding: 22px 0; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer .foot-links a { color: #c4cdc9; text-decoration: none; }
footer .foot-links a:hover { color: #fff; text-decoration: underline; }

/* Certyfikaty – okienko (tylko strona główna) */
.modal:not(:target) { display: none; }
.modal:target { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.65); overflow-y: auto; padding: 32px 16px; }
.modal .box { background: #fff; border-radius: 16px; padding: 24px 28px 28px; max-width: 1080px; margin: 0 auto; }
.modal .top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; font-size: 1.1rem; }
.modal .close { font-weight: 600; text-decoration: none; padding: 6px 14px; border: 1px solid var(--line); border-radius: 8px; color: inherit; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.gallery div { display: flex; flex-direction: column; gap: 4px; font-size: .9rem; }
.gallery img { border-radius: 10px; border: 1px solid var(--line); margin-bottom: 4px; }
.gallery a { font-weight: 600; text-decoration: none; font-size: .85rem; }
body:has(.modal:target) { overflow: hidden; }

/* Telefon */
@media (max-width: 860px) {
  html { scroll-padding-top: 104px; }
  header .wrap { flex-wrap: wrap; height: auto; padding: 10px 16px 0; gap: 0 14px; }
  .logo { flex: 1; white-space: normal; }
  .logo span { font-size: .78rem; }
  nav { order: 3; width: 100%; justify-content: space-between; gap: 10px; }
  nav a { padding: 10px 0 12px; font-size: .95rem; }
  section { padding: 56px 0; }
  .home-hero { padding: 40px 0 56px; }
  .home-hero .wrap { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .hero-photo { order: -1; }
  .hero-photo img { width: 120px; height: 120px; border-width: 4px; }
  .home-hero .lead { margin-left: auto; margin-right: auto; }
  .home-hero .btns { justify-content: center; }
  .page-head { padding: 44px 0 16px; }
  .cards, .prices, .links3, .two-col, .tool, .steps { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
}
