/* =================================================================
   reklamujfirme.pl — Design System
   Hand-written, framework-free CSS · Mobile First · Core Web Vitals
   ================================================================= */

/* ---------- Design Tokens ---------- */
:root {
  /* Brand palette */
  --navy-900: #0a0f1f;
  --navy-800: #0d1426;
  --navy-700: #131c33;
  --navy-600: #1b2747;

  --ink: #0b1220;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50:  #f8fafc;
  --white: #ffffff;

  /* Accent — electric blue → indigo */
  --accent: #2563eb;
  --accent-strong: #1d4ed8;
  --accent-soft: #3b82f6;
  --violet: #6366f1;
  --accent-grad: linear-gradient(120deg, #2563eb 0%, #6366f1 100%);
  --accent-glow: rgba(37, 99, 235, .35);

  /* UI */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .08);
  --shadow: 0 10px 30px -12px rgba(15, 23, 42, .18);
  --shadow-lg: 0 30px 60px -20px rgba(15, 23, 42, .28);
  --shadow-accent: 0 18px 40px -16px var(--accent-glow);

  --container: 1180px;
  --gap: clamp(1rem, 3vw, 2rem);

  /* Type */
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; border: 0; background: none; }
:focus-visible { outline: 3px solid var(--accent-soft); outline-offset: 3px; border-radius: 6px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { line-height: 1.12; letter-spacing: -.02em; font-weight: 800; color: var(--ink); }
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.8vw, 2.85rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
p { color: var(--slate-600); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--slate-600); line-height: 1.6; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2rem); }
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.grid { display: grid; gap: var(--gap); }
.center { text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent-strong);
  background: rgba(37, 99, 235, .08);
  padding: .4rem .85rem; border-radius: 999px;
}
.eyebrow--light { color: #bcd0ff; background: rgba(255, 255, 255, .08); }
.section-head { max-width: 680px; margin-inline: auto; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head p { margin-top: 1rem; }
.text-accent { color: var(--accent); }
.text-grad {
  background: var(--accent-grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-weight: 700; font-size: 1rem; line-height: 1;
  padding: .95rem 1.6rem; border-radius: 999px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn svg { width: 1.1em; height: 1.1em; }
.btn--primary { background: var(--accent-grad); color: #fff; box-shadow: var(--shadow-accent); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 24px 50px -16px var(--accent-glow); }
.btn--light { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.btn--light:hover { transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--slate-200); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--ghost-light { background: rgba(255,255,255,.06); color: #fff; border: 1.5px solid rgba(255,255,255,.22); }
.btn--ghost-light:hover { background: rgba(255,255,255,.14); }
.btn--lg { padding: 1.1rem 2rem; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--slate-200);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; }
.brand__mark {
  width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  background: var(--accent-grad); color: #fff; box-shadow: var(--shadow-accent);
}
.brand__mark svg { width: 20px; height: 20px; }
.brand b { color: var(--accent); }
.nav__links { display: none; align-items: center; gap: .35rem; }
.nav__links a {
  font-size: .95rem; font-weight: 600; color: var(--slate-600);
  padding: .55rem .8rem; border-radius: 10px; transition: color .15s, background .15s;
}
.nav__links a:hover { color: var(--ink); background: var(--slate-100); }
.nav__links .has-drop > a { display: inline-flex; align-items: center; gap: .3rem; }
.nav__links .has-drop > a svg { width: 14px; height: 14px; }
.nav__cta { display: none; }

/* Dropdown */
.has-drop { position: relative; }
.drop {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(8px);
  background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: .6rem; width: 340px;
  opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s; z-index: 60;
}
.has-drop:hover .drop, .has-drop:focus-within .drop { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.drop a { display: flex; gap: .7rem; align-items: flex-start; padding: .65rem .7rem; border-radius: 10px; }
.drop a:hover { background: var(--slate-100); }
.drop .ic { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 9px; background: rgba(37,99,235,.1); color: var(--accent); display: grid; place-items: center; }
.drop .ic svg { width: 18px; height: 18px; }
.drop strong { display: block; font-size: .9rem; color: var(--ink); }
.drop span { font-size: .78rem; color: var(--slate-500); line-height: 1.4; }

/* Mobile toggle */
.nav__toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: var(--ink); border: 1px solid var(--slate-200); }
.nav__toggle svg { width: 24px; height: 24px; }
.mobile-menu {
  display: none; border-top: 1px solid var(--slate-200);
  background: #fff; padding: 1rem clamp(1.1rem, 4vw, 2rem) 1.6rem;
}
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: .8rem .4rem; font-weight: 600; color: var(--slate-700); border-bottom: 1px solid var(--slate-100); }
.mobile-menu a:last-of-type { border-bottom: 0; }
.mobile-menu .btn { margin-top: 1rem; }
.mobile-menu small { display:block; text-transform: uppercase; letter-spacing:.1em; font-size:.7rem; color: var(--slate-400); margin: 1rem 0 .25rem; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--slate-50); }
.hero--dark { background: var(--navy-900); color: #fff; }
.hero--dark h1, .hero--dark h3 { color: #fff; }
.hero--dark p { color: var(--slate-300); }
.hero__glow {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(60% 50% at 15% 0%, rgba(37,99,235,.18), transparent 60%),
    radial-gradient(50% 45% at 95% 20%, rgba(99,102,241,.16), transparent 60%);
}
.hero--dark .hero__glow {
  background:
    radial-gradient(55% 50% at 12% -5%, rgba(37,99,235,.4), transparent 60%),
    radial-gradient(45% 45% at 100% 10%, rgba(99,102,241,.32), transparent 60%);
}
.hero .container { position: relative; z-index: 1; }
.hero__grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
.hero__content { max-width: 640px; }
.hero h1 { margin-bottom: 1.25rem; }
.hero .lead { margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 2.5rem; }
.hero__trust div { display: flex; flex-direction: column; }
.hero__trust b { font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; }
.hero--dark .hero__trust b { color: #fff; }
.hero__trust span { font-size: .85rem; color: var(--slate-500); }
.hero--dark .hero__trust span { color: var(--slate-400); }

/* ---------- Mockup / visual ---------- */
.mockup {
  position: relative; border-radius: var(--radius-lg);
  background: #fff; box-shadow: var(--shadow-lg);
  border: 1px solid var(--slate-200); overflow: hidden;
}
.mockup__bar { display: flex; gap: .4rem; padding: .9rem 1rem; border-bottom: 1px solid var(--slate-100); background: var(--slate-50); }
.mockup__bar span { width: 11px; height: 11px; border-radius: 50%; background: var(--slate-300); }
.mockup__bar span:nth-child(1){ background:#ff5f57;} .mockup__bar span:nth-child(2){ background:#febc2e;} .mockup__bar span:nth-child(3){ background:#28c840;}
.mockup__body { padding: 1.4rem; display: grid; gap: 1rem; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.stat-card { background: var(--slate-50); border: 1px solid var(--slate-100); border-radius: var(--radius-sm); padding: .9rem; }
.stat-card span { font-size: .72rem; color: var(--slate-500); font-weight: 600; }
.stat-card b { display: block; font-size: 1.35rem; margin-top: .15rem; letter-spacing: -.02em; }
.stat-card .up { color: #16a34a; font-size: .8rem; font-weight: 700; }
.chart { height: 130px; display: flex; align-items: flex-end; gap: .5rem; padding-top: .5rem; }
.chart i { flex: 1; background: var(--accent-grad); border-radius: 6px 6px 0 0; opacity: .85; }

.float-badge {
  position: absolute; background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg);
  border: 1px solid var(--slate-100); padding: .7rem .9rem; display: flex; align-items: center; gap: .6rem; font-size: .85rem; font-weight: 700;
}
.float-badge .ic { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: rgba(22,163,74,.12); color: #16a34a; }
.float-badge .ic svg { width: 18px; height: 18px; }
.float-badge--tl { top: -18px; left: -18px; }
.float-badge--br { bottom: -18px; right: -18px; }
@media (max-width: 560px){ .float-badge { display: none; } }

/* ---------- Cards / features ---------- */
.cards { display: grid; gap: 1.25rem; }
.card {
  background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius);
  padding: 1.6rem; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--slate-300); }
.card .ic {
  width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center;
  background: var(--accent-grad); color: #fff; margin-bottom: 1.1rem; box-shadow: var(--shadow-accent);
}
.card .ic svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.card p { font-size: .96rem; }

/* Service cards (home) */
.svc-card { display: flex; flex-direction: column; }
.svc-card .arrow { margin-top: auto; padding-top: 1rem; display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--accent); font-size: .95rem; }
.svc-card:hover .arrow svg { transform: translateX(4px); }
.svc-card .arrow svg { width: 1.1em; height: 1.1em; transition: transform .2s; }

/* ---------- Alternating feature rows ---------- */
.feature-row { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.feature-row + .feature-row { margin-top: clamp(3rem, 7vw, 5.5rem); }
.feature-row h2 { margin-bottom: 1.1rem; }
.feature-row .lead { margin-bottom: 1.5rem; }
.check-list { display: grid; gap: .85rem; }
.check-list li { display: flex; gap: .7rem; align-items: flex-start; color: var(--slate-700); font-weight: 500; }
.check-list .ic { flex: 0 0 auto; width: 24px; height: 24px; border-radius: 7px; background: rgba(37,99,235,.12); color: var(--accent); display: grid; place-items: center; margin-top: 2px; }
.check-list .ic svg { width: 15px; height: 15px; }

/* ---------- Pain point band ---------- */
.pain {
  background: var(--navy-900); color: #fff; border-radius: var(--radius-xl);
  padding: clamp(2rem, 5vw, 3.5rem); position: relative; overflow: hidden;
}
.pain::before { content:""; position:absolute; inset:0; background: radial-gradient(50% 80% at 100% 0%, rgba(99,102,241,.25), transparent 60%); }
.pain > * { position: relative; }
.pain h2 { color: #fff; }
.pain p { color: var(--slate-300); }
.pain-grid { display: grid; gap: 1rem; margin-top: 2rem; }
.pain-item { display: flex; gap: .8rem; align-items: flex-start; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); padding: 1.1rem 1.2rem; }
.pain-item .ic { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 9px; background: rgba(239,68,68,.16); color: #f87171; display: grid; place-items: center; }
.pain-item .ic svg { width: 18px; height: 18px; }
.pain-item p { color: var(--slate-300); font-size: .95rem; }
.pain-item b { color: #fff; display:block; margin-bottom: .2rem; }

/* ---------- Process steps ---------- */
.steps { display: grid; gap: 1.25rem; counter-reset: step; }
.step {
  position: relative; background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius);
  padding: 1.8rem 1.6rem 1.6rem; box-shadow: var(--shadow-sm);
}
.step__num {
  position: absolute; top: -18px; left: 1.6rem; width: 44px; height: 44px; border-radius: 12px;
  background: var(--accent-grad); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.1rem;
  box-shadow: var(--shadow-accent);
}
.step h3 { font-size: 1.15rem; margin: .8rem 0 .5rem; }
.step p { font-size: .95rem; }

/* ---------- Pricing ---------- */
.pricing { display: grid; gap: 1.5rem; align-items: stretch; }
.price-card {
  background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius-lg);
  padding: 2rem; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); position: relative;
}
.price-card--featured { border-color: transparent; box-shadow: var(--shadow-lg); background: var(--navy-900); color: #fff; }
.price-card--featured h3, .price-card--featured .price b { color: #fff; }
.price-card--featured p { color: var(--slate-300); }
.price-card--featured .price-list li { color: var(--slate-200); }
.badge-pop { position: absolute; top: 1.4rem; right: 1.4rem; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--accent-grad); color: #fff; padding: .35rem .7rem; border-radius: 999px; }
.price-card h3 { font-size: 1.3rem; margin-bottom: .35rem; }
.price-card > p { font-size: .92rem; margin-bottom: 1.3rem; }
.price { display: flex; align-items: baseline; gap: .35rem; margin-bottom: 1.4rem; }
.price b { font-size: 2.4rem; letter-spacing: -.02em; }
.price span { color: var(--slate-500); font-size: .9rem; }
.price-card--featured .price span { color: var(--slate-400); }
.price-list { display: grid; gap: .7rem; margin-bottom: 1.6rem; }
.price-list li { display: flex; gap: .6rem; align-items: flex-start; font-size: .93rem; color: var(--slate-700); }
.price-list .ic { color: var(--accent); flex: 0 0 auto; margin-top: 3px; }
.price-card--featured .price-list .ic { color: var(--accent-soft); }
.price-list .ic svg { width: 16px; height: 16px; }
.price-card .btn { margin-top: auto; }

/* ---------- Testimonials ---------- */
.testi { display: grid; gap: 1.25rem; }
.testi-card { background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-sm); }
.testi-card .stars { color: #f59e0b; display: flex; gap: 2px; margin-bottom: .9rem; }
.testi-card .stars svg { width: 18px; height: 18px; }
.testi-card blockquote { font-size: 1rem; color: var(--slate-700); line-height: 1.6; margin-bottom: 1.2rem; }
.testi-card .who { display: flex; align-items: center; gap: .8rem; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: var(--accent-grad); flex: 0 0 auto; }
.who b { display: block; font-size: .92rem; }
.who span { font-size: .82rem; color: var(--slate-500); }

/* ---------- Logos / trust strip ---------- */
.trust-strip { border-block: 1px solid var(--slate-200); background: var(--slate-50); }
.trust-strip__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(1.5rem, 5vw, 3.5rem); padding-block: 2rem; }
.trust-strip__inner span { font-weight: 800; font-size: 1.15rem; color: var(--slate-400); letter-spacing: -.02em; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: .9rem; }
.faq-item { border: 1px solid var(--slate-200); border-radius: var(--radius); background: #fff; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: var(--accent); box-shadow: var(--shadow-sm); }
.faq-item summary { list-style: none; cursor: pointer; padding: 1.2rem 1.4rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-weight: 700; font-size: 1.05rem; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .chev { flex: 0 0 auto; width: 28px; height: 28px; border-radius: 8px; background: var(--slate-100); display: grid; place-items: center; transition: transform .25s, background .2s; color: var(--slate-600); }
.faq-item[open] summary .chev { transform: rotate(180deg); background: var(--accent); color: #fff; }
.faq-item .faq-body { padding: 0 1.4rem 1.3rem; }
.faq-item .faq-body p { color: var(--slate-600); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-xl); background: var(--accent-grad); color: #fff; padding: clamp(2.5rem, 6vw, 4rem); text-align: center; }
.cta-band::before { content:""; position:absolute; inset:0; background: radial-gradient(50% 120% at 50% 0%, rgba(255,255,255,.22), transparent 60%); }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; max-width: 700px; margin-inline: auto; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 560px; margin: 1rem auto 2rem; }
.cta-band .btn--light { color: var(--accent-strong); }

/* ---------- Contact form ---------- */
.contact-grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
.form-card { background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.4rem); box-shadow: var(--shadow); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: .88rem; font-weight: 600; color: var(--slate-700); margin-bottom: .45rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: .85rem 1rem; border: 1.5px solid var(--slate-200); border-radius: var(--radius-sm);
  background: var(--slate-50); transition: border-color .15s, box-shadow .15s, background .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px rgba(37,99,235,.12); }
.field textarea { resize: vertical; min-height: 130px; }
.field-row { display: grid; gap: 1.1rem; }
.form-note { font-size: .82rem; color: var(--slate-500); margin-top: .4rem; }
.form-success { display: none; background: rgba(22,163,74,.1); border: 1px solid rgba(22,163,74,.3); color: #15803d; padding: 1rem 1.2rem; border-radius: var(--radius-sm); font-weight: 600; margin-bottom: 1.2rem; }
.form-success.show { display: block; }
.contact-aside .info-item { display: flex; gap: .9rem; align-items: flex-start; margin-bottom: 1.5rem; }
.contact-aside .ic { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 12px; background: rgba(37,99,235,.1); color: var(--accent); display: grid; place-items: center; }
.contact-aside .ic svg { width: 22px; height: 22px; }
.contact-aside b { display: block; font-size: 1rem; }
.contact-aside a, .contact-aside span { color: var(--slate-600); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: var(--slate-300); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer-grid { display: grid; gap: 2.5rem; margin-bottom: 3rem; }
.site-footer .brand { color: #fff; margin-bottom: 1rem; }
.footer-about p { color: var(--slate-400); font-size: .95rem; max-width: 320px; }
.footer-col h4 { color: #fff; font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer-col a { display: block; color: var(--slate-400); font-size: .93rem; padding: .35rem 0; transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; gap: .6rem; align-items: center; color: var(--slate-400); font-size: .93rem; padding: .35rem 0; }
.footer-contact svg { width: 18px; height: 18px; color: var(--accent-soft); flex: 0 0 auto; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.8rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; font-size: .85rem; color: var(--slate-500); }
.footer-socials { display: flex; gap: .6rem; }
.footer-socials a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.06); display: grid; place-items: center; color: var(--slate-300); transition: background .2s, color .2s; }
.footer-socials a:hover { background: var(--accent); color: #fff; }
.footer-socials svg { width: 18px; height: 18px; }

/* ---------- Breadcrumb ---------- */
.crumb { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; font-size: .85rem; color: var(--slate-500); margin-bottom: 1.5rem; }
.crumb a:hover { color: var(--accent); }
.crumb svg { width: 14px; height: 14px; opacity: .6; }
.hero--dark .crumb { color: var(--slate-400); }
.hero--dark .crumb a:hover { color: #fff; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (min-width: 720px) {
  .cards--2 { grid-template-columns: repeat(2, 1fr); }
  .cards--3 { grid-template-columns: repeat(3, 1fr); }
  .pain-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .testi { grid-template-columns: repeat(2, 1fr); }
  .field-row { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
  .stat-row { gap: 1rem; }
}
@media (min-width: 920px) {
  .nav__links, .nav__cta { display: flex; }
  .nav__toggle { display: none; }
  .hero__grid--split { grid-template-columns: 1.05fr .95fr; }
  .feature-row { grid-template-columns: 1fr 1fr; }
  .feature-row--reverse .feature-row__media { order: 2; }
  .cards--3 { grid-template-columns: repeat(3, 1fr); }
  .cards--4 { grid-template-columns: repeat(4, 1fr); }
  .pricing--3 { grid-template-columns: repeat(3, 1fr); }
  .testi--3 { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr 1.1fr; }
  .contact-grid--reverse .contact-aside { order: 2; }
}

/* ---------- Mapa lokalnych grup (Leaflet) ---------- */
.map-wrap { position: relative; isolation: isolate; z-index: 0; }
#grupyMapa {
  height: clamp(360px, 60vh, 560px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  background: var(--slate-100);
}
.leaflet-container { font: inherit; }

/* Pinezka */
.grupa-pin-icon { background: transparent !important; border: 0 !important; }
.grupa-pin {
  display: block; width: 26px; height: 26px;
  background: var(--accent-grad);
  border: 3px solid #fff; border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 5px 14px -3px rgba(15, 23, 42, .5);
}
.grupa-pin::after {
  content: ""; position: absolute; top: 7px; left: 7px;
  width: 9px; height: 9px; border-radius: 50%; background: #fff;
}

/* Dymek (popup) */
.leaflet-popup-content-wrapper { border-radius: 14px; box-shadow: var(--shadow-lg); padding: 4px; }
.leaflet-popup-content { margin: .9rem 1rem; line-height: 1.5; }
.grupa-popup { display: grid; gap: .35rem; }
.grupa-popup strong { font-size: 1rem; color: var(--ink); letter-spacing: -.01em; }
.grupa-popup__city { font-size: .82rem; color: var(--slate-500); }
.grupa-popup__members { font-size: .88rem; color: var(--slate-600); }
.grupa-popup__members b { color: var(--accent); font-size: 1.05rem; }
.grupa-popup__btn {
  margin-top: .5rem; display: inline-flex; justify-content: center;
  background: var(--accent-grad); color: #fff !important; font-weight: 700; font-size: .9rem;
  padding: .6rem .9rem; border-radius: 999px; text-decoration: none;
}
.grupa-popup__btn:hover { filter: brightness(1.06); }

/* Lista pod mapą */
.grupy-lista { display: grid; gap: .8rem; margin-top: 1.5rem; }
.grupa-card {
  display: flex; align-items: center; gap: .9rem; cursor: pointer;
  background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius);
  padding: .9rem 1.1rem; box-shadow: var(--shadow-sm); transition: transform .18s, box-shadow .18s, border-color .18s;
}
.grupa-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--slate-300); }
.grupa-card__dot { flex: 0 0 auto; width: 12px; height: 12px; border-radius: 50%; background: var(--accent-grad); box-shadow: 0 0 0 4px rgba(37,99,235,.12); }
.grupa-card > div { flex: 1 1 auto; min-width: 0; }
.grupa-card b { display: block; font-size: .96rem; color: var(--ink); }
.grupa-card span { font-size: .83rem; color: var(--slate-500); }
.grupa-card > a {
  flex: 0 0 auto; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  background: var(--slate-100); color: var(--accent); font-weight: 800; font-size: 1.1rem; text-decoration: none;
  transition: background .18s, color .18s;
}
.grupa-card > a:hover { background: var(--accent); color: #fff; }
@media (min-width: 720px) { .grupy-lista { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grupy-lista { grid-template-columns: repeat(3, 1fr); } }
