/* 01-common.css */
/* =============================================================
   css.sembot.com — design system
   ============================================================= */

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
/* Sticky .nav (top:0, z-index:200) nie może zasłaniać celu kotwicy. Bez tego skok do
   #pricing / #ag-pricing / #kontakt itd. ląduje z nagłówkiem sekcji schowanym pod headerem
   (wyglądało jak „inna sekcja"). Privacy ma własne .lp-section scroll-margin (03-legal.css). */
:target { scroll-margin-top: 90px; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }

/* BASE */
body {
  font-family: var(--font-body, 'Poppins', sans-serif);
  color: var(--color-primary, #1A1A1A);
  background: var(--color-background, #FFFFFF);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* TYPOGRAPHY */
h1, h2, h3, h4 {
  font-family: var(--font-heading, 'Nunito Sans', sans-serif);
  line-height: 1.12;
  letter-spacing: -0.025em;
}
h1 { font-size: clamp(2.5rem, 5.5vw, 4.25rem); font-weight: 900; }
h2 { font-size: clamp(1.875rem, 3.5vw, 2.75rem); font-weight: 700; }
h3 { font-size: clamp(1.125rem, 2vw, 1.375rem); font-weight: 700; }

p {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--color-muted, #54595F);
}

.accent { color: var(--color-accent, #F5C313); }

.eyebrow {
  font-family: var(--font-body, 'Poppins', sans-serif);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent, #F5C313);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--color-accent, #F5C313);
  flex-shrink: 0;
}

/* LAYOUT */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }
.section--sm { padding: 64px 0; }
.section--dark { background: #1A1A1A; color: #FFFFFF; }
.section--grey { background: #F7F7F7; }

.section-header { max-width: 580px; margin-bottom: 60px; }
.section-header h2 { margin-bottom: 16px; }
.section-header p { font-size: 1.125rem; }
.section-header--center { text-align: center; margin-left: auto; margin-right: auto; }

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-body, 'Poppins', sans-serif);
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.18s ease;
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}
.btn--primary {
  background: var(--color-accent, #F5C313);
  color: #1A1A1A;
}
.btn--primary:hover { background: #e8b800; transform: translateY(-1px); }

.btn--outline {
  background: transparent;
  color: #FFFFFF;
  border-color: rgba(255,255,255,0.35);
}
.btn--outline:hover { border-color: #FFFFFF; background: rgba(255,255,255,0.08); }

.btn--outline-dark {
  background: transparent;
  color: #1A1A1A;
  border-color: #1A1A1A;
}
.btn--outline-dark:hover { background: #1A1A1A; color: #FFFFFF; }

.btn-group { display: flex; gap: 12px; flex-wrap: wrap; }

/* =============================================================
   HEADER / NAV
   ============================================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(26,26,26,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  height: 64px;
  display: flex;
  align-items: center;
  padding: 0 24px;
}
.nav__inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo__img {
  height: 28px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-links a {
  font-family: 'Poppins', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 6px;
  transition: color 0.15s;
}
.nav-links a:hover { color: #FFFFFF; }

.nav-cta {
  font-family: 'Poppins', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  background: var(--color-accent, #F5C313);
  color: #1A1A1A;
  text-decoration: none;
  padding: 9px 20px;
  border-radius: 6px;
  transition: background 0.15s;
  flex-shrink: 0;
}
.nav-cta:hover { background: #e8b800; }

/* Przełącznik języka (i18n) — kompaktowy toggle PL|EN w nav (T11) */
.nav-lang { display: inline-flex; align-items: center; gap: 1px; flex-shrink: 0;
  font-family: 'Poppins', sans-serif; font-size: .8125rem; font-weight: 600; }
.nav-lang a, .nav-lang__cur { padding: 6px 7px; border-radius: 6px; text-decoration: none; line-height: 1; }
.nav-lang a { color: rgba(255,255,255,0.5); transition: color .15s, background .15s; }
.nav-lang a:hover { color: #fff; background: rgba(255,255,255,0.06); }
.nav-lang__cur { color: var(--color-accent, #F5C313); }     /* aktywny język wyróżniony akcentem */
.nav-lang__sep { color: rgba(255,255,255,0.22); font-weight: 400; }

/* Hamburger — ukryty na desktopie, pokazywany ≤768px (R5 2026-06-19) */
.nav-toggle {
  display: none;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  width: 44px; height: 44px; padding: 10px;   /* tap target ≥44px */
  background: transparent; border: none; cursor: pointer; flex-shrink: 0;
}
.nav-toggle__bar {
  display: block; width: 24px; height: 2px; border-radius: 2px;
  background: #fff; transition: transform .2s ease, opacity .2s ease;
}
.nav.nav-open .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.nav-open .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav.nav-open .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =============================================================
   FOOTER
   ============================================================= */
.footer {
  background: #111111;
  padding: 56px 24px 32px;
}
.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
}
.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.footer-brand { display: flex; flex-direction: column; gap: 10px; }
.footer-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.footer-logo__img {
  height: 26px;
  width: auto;
}
.footer-tagline {
  font-family: 'Poppins', sans-serif;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.35);
  max-width: 240px;
  line-height: 1.5;
}
.footer__links {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}
.footer-col { display: flex; flex-direction: column; gap: 12px; min-width: 130px; }
.footer-col__title {
  font-family: 'Poppins', sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}
.footer-col a {
  font-family: 'Poppins', sans-serif;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-col a:hover { color: #FFFFFF; }
.footer-social {
  flex-basis: 100%;
  display: flex;
  gap: 14px;
  margin-top: 8px;
}
.footer-social__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-social__link svg { color: rgba(255,255,255,0.45); transition: color 0.15s; }
.footer-social__link:hover,
.footer-social__link:hover svg { color: #FFFFFF; }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.07);
  font-family: 'Poppins', sans-serif;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.3);
}

/* Przełącznik języka w stopce (wtórne miejsce, T11) */
.footer-lang { display: inline-flex; align-items: center; gap: 2px; font-weight: 600; }
.footer-lang a, .footer-lang__cur { padding: 4px 7px; border-radius: 6px; text-decoration: none; line-height: 1; }
.footer-lang a { color: rgba(255,255,255,0.4); transition: color .15s, background .15s; }
.footer-lang a:hover { color: #fff; background: rgba(255,255,255,0.06); }
.footer-lang__cur { color: var(--color-accent, #F5C313); }
.footer-lang__sep { color: rgba(255,255,255,0.18); font-weight: 400; }

/* =============================================================
   HERO
   ============================================================= */
.hero {
  background: #1A1A1A;
  padding: 104px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  top: -160px;
  right: -160px;
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgba(245,195,19,0.07) 0%, transparent 65%);
  pointer-events: none;
}
.hero__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  max-width: 840px;
}
.hero__headline {
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 900;
  font-size: clamp(2.75rem, 5.5vw, 4.5rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  margin-bottom: 24px;
}
.hero__sub {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1875rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  max-width: 560px;
  margin-bottom: 44px;
}
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* =============================================================
   SECTION: CO TO JEST CSS
   ============================================================= */
.what-css { padding: 96px 0; background: #FFFFFF; }
.what-css__header { max-width: 680px; margin-bottom: 56px; }
.what-css__stat { display: flex; align-items: baseline; gap: 6px; margin-bottom: 16px; }
.stat-num {
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 900;
  font-size: clamp(3rem, 6vw, 5rem);
  color: var(--color-accent, #F5C313);
  line-height: 1;
  letter-spacing: -0.04em;
}
.stat-unit {
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 900;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: #1A1A1A;
  line-height: 1;
}
.what-css__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.info-card {
  padding: 32px;
  border: 1px solid #EAEAEA;
  border-radius: 12px;
  background: #FAFAFA;
}
.info-card__icon {
  width: 44px;
  height: 44px;
  background: #1A1A1A;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: #F5C313;
}
.info-card__icon svg { width: 24px; height: 24px; display: block; }
.info-card h3 { font-size: 1.0625rem; color: #1A1A1A; margin-bottom: 10px; }
.info-card p { font-size: 0.9rem; line-height: 1.65; }

/* =============================================================
   SECTION: DLACZEGO SEMBOT
   ============================================================= */
.why-sembot { padding: 96px 0; background: #FFFFFF; }
.why-sembot__stats {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  margin: 4px auto 36px;
}
.why-sembot__stat { padding: 6px 40px; text-align: center; }
.why-sembot__stat + .why-sembot__stat { border-left: 1px solid #ececec; }
.why-sembot__stat-val {
  font-family: 'Nunito Sans', sans-serif; font-weight: 900;
  font-size: 2.5rem; color: #1A1A1A; line-height: 1; letter-spacing: -.03em;
}
.why-sembot__stat-lbl { font-size: .8125rem; color: #54595F; margin-top: 6px; }
.why-sembot__stat-new { display: block; color: #b08300; font-weight: 700; font-size: .75rem; margin-top: 2px; }
@media (max-width: 600px) {
  .why-sembot__stat { padding: 10px 24px; }
  .why-sembot__stat + .why-sembot__stat { border-left: none; }
}
/* Badge w karcie S4 — oficjalny badge zamiast ikony. Wyśrodkowany, bez tła.
   Rozmiar per TYP: kwadratowe Google'owe większe (były słabiej czytelne),
   szerokie (MS, wordmark Sembot) niższe. Stała wysokość wella trzyma h3 w równej linii. */
.badge-card__badge {
  height: 148px;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
}
.badge-card__badge img { width: auto; height: auto; max-width: 100%; display: block; }
.badge-card__badge img[src*="sembot"]       { height: 56px; }
.badge-card__badge img[src*="microsoft"]    { height: 86px; }
.badge-card__badge img[src*="CSS-Premium"]  { height: 136px; }
.badge-card__badge img[src*="gstatic"],
.badge-card__badge img[src*="PartnerBadge"] { height: 136px; }
@media (max-width: 900px) { .badge-card__badge { height: 160px; } }
@media (max-width: 480px) { .badge-card__badge { height: 172px; } }
.why-sembot__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.badge-card {
  padding: 28px 24px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  border-top: 3px solid var(--color-accent, #F5C313);
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.badge-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 44px rgba(0,0,0,0.11);
}
.badge-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #FAFAFA;
  border: 1px solid #EAEAEA;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1A1A1A;
}
.badge-card__icon svg { width: 26px; height: 26px; display: block; }
.badge-card__icon--accent { background: rgba(245,195,19,0.12); border-color: rgba(245,195,19,0.35); color: #b08300; }
.badge-card h3 { font-size: 0.9375rem; color: #1A1A1A; line-height: 1.35; }
.badge-card__cert {
  display: inline-flex;
  align-items: center;
  font-family: 'Poppins', sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6b7280;
  background: #F7F7F7;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  padding: 4px 9px;
  width: fit-content;
  line-height: 1.2;
}
.badge-card p { font-size: 0.8125rem; color: #54595F; line-height: 1.55; }

/* =============================================================
   SPOTLIGHT CARD — GlowCard viewport-tracked (js/09-spotlight-card.js)
   Paleta „Złote światło" — MONOCHROMATYCZNA rampa rozżarzonego złota, w 100% w marce
   (jeden hue z rodziny złota; bogactwo robi JASNOŚĆ, nie obce kolory).
   Kotwica = akcent marki #F5C313. 6 dopasowanych odcieni (od bursztynu po rozgrzany rdzeń):
     1) bursztyn-brąz   hsl(36 100% 46%)  ~#EB8A00
     2) bursztyn        hsl(39 100% 54%)  ~#FFA313
     3) ZŁOTO marki     hsl(43 100% 62%)  ~#F5C313 (≈ akcent)
     4) jasne złoto     hsl(45 100% 70%)  ~#FFD24D
     5) miodowy         hsl(48 100% 79%)  ~#FFE894
     6) rozgrzany rdzeń hsl(50 100% 88%)  ~#FFF6C2
   Sterowanie: --xp (pozycja kursora X) prowadzi hue 36→50 i jasność 46%→88% wzdłuż rampy.
   Bazowo port z: https://21st.dev/community/components/easemize/spotlight-card/default
   ============================================================= */
.spotlight-card {
  --base: 36;             /* start: bursztyn-brąz */
  --spread: 14;           /* +14 → koniec 50° (rozgrzane jasne złoto); cały łuk w rodzinie złota */
  --size: 300;            /* gradient radius (px = --size * 0.75); bleed prevented by JS gating */
  --hue: calc(var(--base) + (var(--xp, 0.5) * var(--spread)));
  --lgt: calc((46 + var(--xp, 0.5) * 42) * 1%);  /* 46%→88%: bursztyn → rozżarzony rdzeń */

  position: relative;
  overflow: visible;       /* pozwala halo wylać światło POZA kartę */
}

/* ----- KRAWĘDŹ: ostry glowing border (kanoniczna maska padding+content-box+exclude) -----
   Tylko obwódka jest podświetlona; gradient śledzi kursor (--x/--y z JS, origin = róg karty,
   więc BEZ offsetu +2px). Stary wariant transparent+intersect dawał „świecą tylko rogi". */
.spotlight-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;            /* grubość obwódki */
  pointer-events: none;
  opacity: 0;              /* gasimy domyślnie; .sc-on (JS) zapala — niezawodny repaint w Safari */
  transition: opacity .18s ease;
  background: radial-gradient(
    calc(var(--size) * 0.75px) calc(var(--size) * 0.75px) at
    calc(var(--x, -9999) * 1px)
    calc(var(--y, -9999) * 1px),
    hsl(var(--hue) 100% var(--lgt) / 1),
    transparent 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
          mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  /* ZEWNĘTRZNA POŚWIATA „poza boxem": drop-shadow podąża za kształtem ALFA (zaokrąglony
     ring), więc poświata ZAWSZE trzyma się zaokrąglonych rogów. Stary blur na masce-ringu
     (.sc-halo) dawał prostokąt przy rogach — dlatego go wycofano. */
  filter:
    drop-shadow(0 0 6px hsl(var(--hue) 100% var(--lgt) / 0.9))
    drop-shadow(0 0 18px hsl(var(--hue) 100% var(--lgt) / 0.55));
}

/* HALO wycofane: zewnętrzną poświatę robi teraz drop-shadow na ::before (zawsze
   zaokrąglona). Span .sc-halo zostaje w HTML, ale jest ukryty. */
.sc-halo { display: none; }

/* zapalenie glow tylko dla karty pod kursorem (klasa dodawana przez JS) */
.spotlight-card.sc-on::before { opacity: 1; }

/* treść karty nad obwódką */
.spotlight-card > * { position: relative; z-index: 1; }
.spotlight-card::before { z-index: 0; }
.spotlight-card:hover { transform: none !important; }

@media (hover: none), (prefers-reduced-motion: reduce) {
  .spotlight-card::before { display: none; }
  .sc-halo { display: none; }
}

/* =============================================================
   SECTION: NOWE RYNKI
   ============================================================= */
.new-markets { padding: 96px 0; background: #1A1A1A; }
.new-markets__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.new-markets__left h2 { color: #FFFFFF; margin-bottom: 20px; }
.new-markets__left p { color: rgba(255,255,255,0.55); font-size: 1.0625rem; margin-bottom: 32px; }
.new-markets__right { display: flex; flex-direction: column; gap: 24px; }
.bundle {
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 28px;
}
.bundle__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.bundle__name {
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #FFFFFF;
}
.bundle__date {
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  color: var(--color-accent, #F5C313);
  font-weight: 600;
  background: rgba(245,195,19,0.12);
  padding: 3px 10px;
  border-radius: 100px;
}
.bundle__countries {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
}
.bundle__countries li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.78);
  background: rgba(255,255,255,0.06);
  padding: 5px 11px 5px 7px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.06);
}
.bundle__flag {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08);
}
.new-markets__map-wrap {
  margin-top: 72px;
  padding-top: 56px;
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center;
}
.new-markets__map {
  display: block;
  width: 100%;
  max-width: 880px;
  height: auto;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  opacity: 0.95;
  filter: drop-shadow(0 18px 48px rgba(0,0,0,0.5));
}
.new-markets__map-legend {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  margin-top: 24px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.55);
}
.new-markets__map-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}
.new-markets__map-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  flex-shrink: 0;
}
.new-markets__map-dot--active { background: #2f7d72; }
.new-markets__map-dot--b1 { background: #F5C313; }
.new-markets__map-dot--b2 { background: #E0670F; }

/* --- mapa: grupowe podświetlanie (brushing karta⇄mapa) + tooltip --- */
.new-markets__map-wrap { position: relative; }
.new-markets__map .land { transition: opacity .25s ease, fill .2s ease; }
/* aktywna grupa: przygaś wszystkie lądy, rozjaśnij tylko grupę */
:is(.nm-scope,.new-markets)[data-active-group] .new-markets__map .land { opacity: .15; }
:is(.nm-scope,.new-markets)[data-active-group="active"] .new-markets__map .land.active,
:is(.nm-scope,.new-markets)[data-active-group="b1"] .new-markets__map .land.bundle1,
:is(.nm-scope,.new-markets)[data-active-group="b2"] .new-markets__map .land.bundle2 { opacity: 1; }
/* triggery: legenda przygasza nieaktywne (karty emfazujemy ringiem niżej) */
:is(.nm-scope,.new-markets) [data-group] { cursor: pointer; }
/* UWAGA: karty (.bundle) animuje GSAP po opacity — NIE dawać im transition:opacity
   ani dim:opacity (konflikt zostawia karty na opacity:0). Emfaza tylko box-shadow. */
:is(.nm-scope,.new-markets) .bundle { transition: box-shadow .2s ease; }
.new-markets__map-legend-item { transition: opacity .2s ease; }
:is(.nm-scope,.new-markets)[data-active-group] .new-markets__map-legend-item { opacity: .45; }
:is(.nm-scope,.new-markets)[data-active-group="active"] .new-markets__map-legend-item[data-group="active"],
:is(.nm-scope,.new-markets)[data-active-group="b1"] .new-markets__map-legend-item[data-group="b1"],
:is(.nm-scope,.new-markets)[data-active-group="b2"] .new-markets__map-legend-item[data-group="b2"] { opacity: 1; }
/* karta aktywnej grupy — ring (box-shadow nie koliduje z GSAP opacity) */
:is(.nm-scope,.new-markets)[data-active-group="b1"] .bundle--b1,
:is(.nm-scope,.new-markets)[data-active-group="b2"] .bundle--b2 {
  box-shadow: 0 0 0 1.5px rgba(245,195,19,.55), 0 12px 32px rgba(0,0,0,.45);
}
:is(.nm-scope,.new-markets) [data-group]:focus-visible {
  outline: 2px solid rgba(245,195,19,.65); outline-offset: 3px; border-radius: 10px;
}
/* tooltip GRUPOWY — lista całej paczki (pozycja klampowana w JS do map-wrap) */
.nm-tooltip {
  position: absolute; left: 0; top: 0; z-index: 6; pointer-events: none;
  background: #0d0d0e; border: 1px solid rgba(255,255,255,.13);
  border-radius: 12px; padding: 11px 13px; max-width: 320px;
  box-shadow: 0 12px 32px rgba(0,0,0,.6);
}
.nm-tooltip[hidden] { display: none; }
.nm-tt__head { display: flex; align-items: center; gap: 8px; margin-bottom: 9px; }
.nm-tt__head b { font-size: .8125rem; color: #fff; font-weight: 700; }
.nm-tt__date { font-size: .6875rem; color: rgba(255,255,255,.5); margin-left: auto; padding-left: 12px; white-space: nowrap; }
.nm-tt__dot { width: 11px; height: 11px; border-radius: 50%; flex-shrink: 0; }
.nm-tt__dot--active { background: #2f7d72; }
.nm-tt__dot--b1 { background: #F5C313; }
.nm-tt__dot--b2 { background: #E0670F; }
.nm-tt__list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 5px 18px;
}
.nm-tt__list li { display: flex; align-items: center; gap: 7px; font-size: .75rem; color: rgba(255,255,255,.82); white-space: nowrap; }
.nm-tt__flag { width: 17px; height: 17px; border-radius: 2px; flex-shrink: 0; }
.nm-tt__note { margin: 0; font-size: .75rem; line-height: 1.4; color: rgba(255,255,255,.6); max-width: 230px; }
@media (max-width: 900px) {
  .new-markets__map-wrap { margin-top: 48px; padding-top: 36px; }
  .new-markets__map { max-width: 540px; }
  .new-markets__map-legend { font-size: 0.75rem; gap: 6px 16px; margin-top: 18px; }
}

/* =============================================================
   SECTION: CENNIK
   ============================================================= */
.pricing { padding: 96px 0; background: #F7F7F7; }
.pricing__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 860px;
  margin: 0 auto;
}
.pricing-card {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 40px 36px;
  border: 2px solid #E8E8E8;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.pricing-card--featured { background: #1A1A1A; border-color: #1A1A1A; }
.pricing-card__for {
  font-family: 'Poppins', sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #54595F;
}
.pricing-card--featured .pricing-card__for { color: rgba(255,255,255,0.35); }
.pricing-card__name {
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 900;
  font-size: 1.5rem;
  color: #1A1A1A;
  letter-spacing: -0.025em;
}
.pricing-card--featured .pricing-card__name { color: #FFFFFF; }
.pricing-card__price {
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 900;
  font-size: 3.25rem;
  letter-spacing: -0.04em;
  color: #1A1A1A;
  line-height: 1;
}
.pricing-card--featured .pricing-card__price { color: var(--color-accent, #F5C313); }
.pricing-card__period { font-family: 'Poppins', sans-serif; font-size: 0.875rem; color: #54595F; margin-top: 4px; }
.pricing-card--featured .pricing-card__period { color: rgba(255,255,255,0.35); }
.pricing-card__divider { border: none; border-top: 1px solid #EBEBEB; }
.pricing-card--featured .pricing-card__divider { border-color: rgba(255,255,255,0.1); }
.pricing-card__list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.pricing-card__list li {
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  color: #444444;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}
.pricing-card--featured .pricing-card__list li { color: rgba(255,255,255,0.7); }
.pricing-card__list li::before {
  content: '✓';
  color: var(--color-accent, #F5C313);
  font-weight: 700;
  flex-shrink: 0;
}
.pricing-card__note {
  font-family: 'Poppins', sans-serif;
  font-size: 0.8125rem;
  color: #54595F;
  background: #F7F7F7;
  padding: 12px 16px;
  border-radius: 8px;
  line-height: 1.55;
}
.pricing-card--featured .pricing-card__note {
  background: rgba(245,195,19,0.1);
  color: rgba(255,255,255,0.55);
}


/* =============================================================
   S2 — V2: CPC Bar Chart
   ============================================================= */
.vc2-chart {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: flex-end;
  padding: 20px 0 4px;
}
.vc2-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
.vc2-bar-track {
  height: 80px;
  width: 52px;
  display: flex;
  align-items: flex-end;
}
.vc2-bar {
  width: 100%;
  border-radius: 4px 4px 0 0;
  position: relative;
  overflow: hidden;
}
.vc2-bar--google {
  height: 64px; /* 80% of 80 */
  background: #c8c8c8;
}
.vc2-margin-mark {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 25%;
  background: rgba(160,0,0,.12);
  border-bottom: 1.5px dashed rgba(160,0,0,.28);
}
.vc2-bar--sembot {
  height: 80px;
  background: linear-gradient(180deg, #f0c800 0%, #F5C313 100%);
}
.vc2-val {
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 900;
  font-size: .9375rem;
  color: #1A1A1A;
  letter-spacing: -.03em;
  line-height: 1;
}
.vc2-val--accent { color: #c49f00; }
.vc2-meta {
  font-family: 'Poppins', sans-serif;
  font-size: .625rem;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.vc2-sub {
  font-family: 'Poppins', sans-serif;
  font-size: .6rem;
  font-weight: 700;
  color: #54595F;
  text-transform: uppercase;
  letter-spacing: .07em;
}
.vc2-note {
  font-size: .8125rem !important;
  line-height: 1.5 !important;
  background: #f0f9ec;
  border: 1px solid #c3e6b8;
  border-radius: 8px;
  padding: 10px 14px;
  color: #2e6b22 !important;
  margin-top: 8px;
}
.vc2-note strong { color: #1d4e15; }
.vc2-note span { font-variant-numeric: tabular-nums; }

/* =============================================================
   S2 — V1: Google Shopping Ad Mockup
   ============================================================= */
.ad-demo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 16px 0 4px;
}
.ad-toggle {
  display: flex;
  background: #ebebeb;
  border-radius: 100px;
  padding: 3px;
  gap: 2px;
}
.ad-toggle__opt {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  padding: 5px 13px;
  border-radius: 100px;
  font-family: 'Poppins', sans-serif;
  font-size: .6875rem;
  font-weight: 700;
  color: #54595F;
  transition: background .15s, color .15s;
  user-select: none;
}
.ad-toggle__opt input[type="radio"] { display: none; }
.ad-toggle__opt:has(input:checked) {
  background: #1A1A1A;
  color: #fff;
}
.ad-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 160px;
  border-radius: 8px;
  border: 1.5px solid #e0e0e0;
  box-shadow: 0 1px 6px rgba(0,0,0,.09);
  overflow: hidden;
  background: #fff;
  transition: border-color .25s, box-shadow .25s;
}
.ad-tile__img {
  height: 110px;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #ebebeb;
}
.ad-tile__body {
  padding: 9px 10px 11px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ad-tile__title {
  font-family: 'Poppins', sans-serif;
  font-size: 11.5px;
  color: #1a0dab;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ad-tile__price {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #1a1a1a;
}
.ad-tile__shop {
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  color: #54595F;
}
.ad-tile__by {
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  color: #70757a;
  margin-top: 1px;
}
.ad-by-name { transition: color .2s, background .2s, padding .2s; }
.ad-name-input {
  width: 160px;
  padding: 7px 12px;
  font-family: 'Poppins', sans-serif;
  font-size: .8125rem;
  border: 1.5px solid #e0e0e0;
  border-radius: 8px;
  outline: none;
  color: #1A1A1A;
  background: #fafafa;
  transition: border-color .15s, background .15s;
}
.ad-name-input:focus { border-color: #F5C313; background: #fff; }
.ad-name-input::placeholder { color: #9ca3af; font-size: .75rem; }

/* Z CSS active state (CSS :has() — no JS needed for toggle) */
.info-card--ad:has(input[name="ad-demo-toggle"][value="yes"]:checked) .ad-by-name {
  color: #b8920a;
  font-weight: 700;
  background: rgba(245,195,19,.15);
  border-radius: 3px;
  padding: 0 3px;
}
.info-card--ad:has(input[name="ad-demo-toggle"][value="yes"]:checked) .ad-tile {
  border-color: rgba(245,195,19,.5);
  box-shadow: 0 4px 16px rgba(245,195,19,.1);
}

/* Ad-tile border-beam (animowany, tylko gdy "Z CSS" aktywne) */
.ad-tile-beam {
  display: none;
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: 8px;
}
.ad-tile-beam::after {
  content: "";
  position: absolute;
  width: 80px;
  height: 2px;
  background: linear-gradient(to right, transparent, #F5C313, #e8b800, transparent);
  offset-path: rect(0 100% 100% 0 round 8px);
  offset-distance: 0%;
  animation: border-beam 4s linear infinite;
}
.info-card--ad:has(input[name="ad-demo-toggle"][value="yes"]:checked) .ad-tile-beam {
  display: block;
}

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 900px) {
  .why-sembot__grid { grid-template-columns: repeat(2, 1fr); }
  .new-markets__inner { grid-template-columns: 1fr; gap: 48px; }
  .new-markets { padding: 72px 0; }
  .new-markets__left .btn,
  .new-markets__left .btn--outline {
    white-space: normal;
    text-align: center;
    line-height: 1.35;
    max-width: 100%;
  }
  .bundle { padding: 22px 18px; }
  .bundle__countries { gap: 6px; }
  .bundle__countries li { font-size: 0.75rem; padding: 4px 9px 4px 6px; }
  .new-markets__map { max-width: 100%; }
  .new-markets__map-wrap { padding-left: 0; padding-right: 0; }
}
@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .what-css__cards { grid-template-columns: 1fr; }
  .paths__grid { grid-template-columns: 1fr; }
  .path-card { padding: 36px 28px; }

  /* R5: nawigacja → hamburger + rozwijany panel (zamiast znikających linków) */
  .nav-toggle { display: flex; }
  .nav-lang { margin-left: auto; }   /* logo z lewej; przełącznik + CTA + hamburger z prawej */
  .nav-menu {
    position: absolute; top: 64px; left: 0; right: 0;
    background: rgba(26,26,26,0.98);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 16px 32px rgba(0,0,0,.28);
    display: none; padding: 8px 16px 16px;
  }
  .nav.nav-open .nav-menu { display: block; }
  .nav-menu .nav-links { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-links a { padding: 14px 12px; font-size: 1rem; border-radius: 8px; }
  .nav-links a:hover { background: rgba(255,255,255,0.05); color: #fff; }
}
@media (max-width: 640px) {
  .pricing__cards { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .why-sembot__grid { grid-template-columns: 1fr; }
  .hero { padding: 72px 0 68px; }
  .nav { padding: 0 16px; }
  .nav__inner { gap: 16px; }
  .nav-cta { padding: 8px 14px; font-size: .8125rem; }
}
@media (max-width: 360px) {
  .nav-logo__img { height: 22px; }
}

/* =============================================================
   VISUAL EFFECTS — E2.10
   ============================================================= */

/* --- Shooting Stars overlay (js/02-shooting-stars.js) --- */
.shooting-stars-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

/* --- Animated Shiny Text (E2.10c) — S1 eyebrow badge --- */
@keyframes shiny-text {
  0%, 90%, 100% { background-position: calc(-100% - 100px) 0; }
  30%, 60%      { background-position: calc(100% + 100px) 0; }
}
.eyebrow--shiny {
  background-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.65) 50%,
    transparent 100%
  );
  background-size: 120px 100%;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  animation: shiny-text 8s infinite;
}

/* --- Glassmorphism card (E2.10b) --- */
.glass-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
}
.glass-card__stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.glass-card__number {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}
.glass-card__label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.glass-card__divider {
  width: 1px;
  align-self: stretch;
  background: rgba(255, 255, 255, 0.1);
}

/* Marquee (partner badges w glass card) */
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: marquee-scroll 18s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-wrap {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}
.marquee-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  white-space: nowrap;
  letter-spacing: 0.03em;
}

/* --- Border Beam (E2.10d) — S3, S6 featured card --- */
@keyframes border-beam {
  to { offset-distance: 100%; }
}
.card--featured {
  position: relative;
  overflow: hidden;
}
.border-beam {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
}
.border-beam::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 2px;
  background: linear-gradient(to right, transparent, #F5C313, #e8b800, transparent);
  offset-path: rect(0 100% 100% 0 round var(--radius-lg));
  offset-distance: 0%;
  animation: border-beam 6s linear infinite;
}

/* --- Dot Pattern background (E2.10f) — S2, S4 white sections --- */
.section--dotted {
  background-image: radial-gradient(circle, #d1d5db 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}

/* --- Ripple (E2.10f) — S7 Final CTA --- */
@keyframes ripple-out {
  0%   { transform: scale(1); opacity: 0.35; }
  100% { transform: scale(3.5); opacity: 0; }
}
.ripple-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 0;
}
.ripple-circle {
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: ripple-out 3.5s ease-out infinite;
}
.ripple-circle:nth-child(2) { animation-delay: 0.8s; }
.ripple-circle:nth-child(3) { animation-delay: 1.6s; }

/* =============================================================
   PRICING ORBIT GLOW — krążący świetlny łuk po obrysie karty cennika.
   Port 1:1 z home (.page-home-v2 .pricing-card). Współdzielone przez:
   /agency (.ag-pricing-card) i /ecommerce (.ec-plan-card). Obie karty mają już
   position:relative, border-radius:28px, overflow:hidden — orbit to ::after maskowany
   do samej obwódki. @property pozwala animować kąt conic-gradientu.
   ============================================================= */
@property --v2-orbit { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes v2Orbit { to { --v2-orbit: 360deg; } }
.ec-plan-card, .ag-pricing-card { isolation: isolate; }
.ec-plan-card::after, .ag-pricing-card::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  padding: 3px;                         /* grubość świecącej obwódki (2× — szerszy łuk) */
  background: conic-gradient(from var(--v2-orbit),
      transparent 0deg, transparent 250deg,
      rgba(245,195,19,0) 280deg, rgba(245,195,19,.85) 320deg,
      #fff3cf 335deg, rgba(245,195,19,.85) 350deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  animation: v2Orbit 7s linear infinite;
  pointer-events: none; z-index: 2;
}
@media (prefers-reduced-motion: reduce) {
  .ec-plan-card::after, .ag-pricing-card::after { animation: none; display: none; }
}







/* 02-blog.css */
/* =============================================================
   css.sembot.com — Blog styles
   List page (.page-blog) + Post page (.page-blog-post)
   ============================================================= */

/* ── Blog list hero ─────────────────────────────────────────── */
.bl-hero {
  background: #1A1A1A;
  padding: 120px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.bl-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 40%, rgba(245,195,19,.07) 0%, transparent 70%);
  pointer-events: none;
}
.bl-hero__inner {
  position: relative; z-index: 1;
  max-width: 640px; margin: 0 auto;
}
.bl-hero__eyebrow {
  display: inline-block;
  font-size: 11px; font-weight: 700; letter-spacing: .15em;
  text-transform: uppercase; color: #F5C313;
  border: 1px solid rgba(245,195,19,.3); border-radius: 999px;
  padding: 5px 14px; margin-bottom: 24px;
}
.bl-hero__h1 {
  font-family: 'Nunito Sans', sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 900; letter-spacing: -.035em; line-height: 1.05;
  color: #fff; margin-bottom: 16px;
}
.bl-hero__sub {
  font-size: 1.0625rem; line-height: 1.7;
  color: rgba(255,255,255,.5);
}

/* ── Blog list section ──────────────────────────────────────── */
.bl-section {
  max-width: 1200px; margin: 0 auto;
  padding: 72px 24px 96px;
}

/* ── Blog grid ──────────────────────────────────────────────── */
.bl-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 900px)  { .bl-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px)  { .bl-grid { grid-template-columns: 1fr; } }

/* ── Blog card ──────────────────────────────────────────────── */
.bl-card {
  background: #fff;
  border: 1px solid #e8e8e5;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex; flex-direction: column;
}
.bl-card:hover {
  transform: translateY(-4px) scale(1.005);
  box-shadow: 0 12px 40px rgba(0,0,0,.1);
}

/* Reveal: delikatny fade-up na wejściu — CSS-only, bez ScrollTriggera (= strobe niemożliwy).
   Stagger przez nth-child. fill-mode `backwards` (NIE forwards) — by po animacji nie nadpisać
   transformu z :hover. Respektuje prefers-reduced-motion. Glare na hover usunięty (kłuł w oczy). */
@keyframes blFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.bl-card { animation: blFadeUp .5s ease backwards; }
.bl-card:nth-child(2) { animation-delay: .09s; }
.bl-card:nth-child(3) { animation-delay: .18s; }
@media (prefers-reduced-motion: reduce) {
  .bl-card { animation: none; }
}

.bl-card__link {
  display: flex; flex-direction: column; flex: 1;
  text-decoration: none; color: inherit;
}

/* Card cover gradient area */
.bl-card__cover {
  height: 180px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.bl-card__cover--pla {
  background: linear-gradient(135deg, #1a237e 0%, #1565c0 50%, #0288d1 100%);
}
.bl-card__cover--markets {
  background: linear-gradient(135deg, #1b5e20 0%, #2e7d32 50%, #00897b 100%);
}
.bl-card__cover--css {
  background: linear-gradient(135deg, #1A1A1A 0%, #37311a 50%, #5a4a00 100%);
}
.bl-card__cover::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 30%, rgba(255,255,255,.08) 0%, transparent 60%);
}
.bl-card__cover-label {
  position: absolute; bottom: 16px; left: 20px;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 2rem; font-weight: 900; letter-spacing: -.03em;
  color: rgba(255,255,255,.15);
  line-height: 1; z-index: 1;
  user-select: none;
}

/* Card body */
.bl-card__body {
  padding: 24px; flex: 1; display: flex; flex-direction: column; gap: 10px;
}
.bl-card__tag {
  display: inline-block;
  font-size: 10px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: #1A1A1A;
  background: #F5C313; border-radius: 6px;
  padding: 3px 8px; width: fit-content;
}
.bl-card__title {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 1.0625rem; font-weight: 800;
  letter-spacing: -.02em; line-height: 1.3;
  color: #1A1A1A; margin-top: 2px;
}
.bl-card__excerpt {
  font-size: .875rem; line-height: 1.6;
  color: #54595F; flex: 1;
}
.bl-card__footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 8px; padding-top: 14px;
  border-top: 1px solid #f0efec;
}
.bl-card__date {
  font-size: .75rem; color: #9b9b95; font-weight: 500;
}
.bl-card__read {
  font-size: .8125rem; font-weight: 700; color: #1A1A1A;
  display: flex; align-items: center; gap: 4px;
  transition: gap .15s;
}
.bl-card:hover .bl-card__read { gap: 8px; }

/* ── Blog post hero ─────────────────────────────────────────── */
.bp-hero {
  background: #1A1A1A;
  padding: 120px 24px 80px;
  position: relative; overflow: hidden;
}
.bp-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 30% 50%, rgba(245,195,19,.05) 0%, transparent 60%);
  pointer-events: none;
}
.bp-hero__inner {
  position: relative; z-index: 1;
  max-width: 760px; margin: 0 auto;
}

.bp-breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: .8125rem; color: rgba(255,255,255,.4);
  margin-bottom: 28px;
}
.bp-breadcrumb a {
  color: rgba(255,255,255,.4); text-decoration: none;
  transition: color .15s;
}
.bp-breadcrumb a:hover { color: #F5C313; }
.bp-breadcrumb__sep { color: rgba(255,255,255,.2); }

.bp-tag {
  display: inline-block;
  font-size: 10px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: #1A1A1A;
  background: #F5C313; border-radius: 6px;
  padding: 3px 10px; margin-bottom: 18px;
}
.bp-h1 {
  font-family: 'Nunito Sans', sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.875rem);
  font-weight: 900; letter-spacing: -.035em; line-height: 1.1;
  color: #fff; margin-bottom: 20px;
}
.bp-meta {
  display: flex; align-items: center; gap: 10px;
  font-size: .8125rem; color: rgba(255,255,255,.4);
}
.bp-meta__sep { opacity: .4; }

/* ── Blog article body ──────────────────────────────────────── */
.bp-article {
  max-width: 760px; margin: 0 auto;
  padding: 64px 24px 80px;
}

.bp-article p {
  font-size: 1.0625rem; line-height: 1.8;
  color: #2d2d2d; margin-bottom: 20px;
}
.bp-article p.bp-lead {
  font-size: 1.125rem; line-height: 1.75;
  color: #444; font-weight: 500;
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid #ebebeb;
}
.bp-article h2 {
  font-family: 'Nunito Sans', sans-serif;
  font-size: clamp(1.25rem, 2.5vw, 1.625rem);
  font-weight: 800; letter-spacing: -.02em; line-height: 1.25;
  color: #1A1A1A;
  margin: 48px 0 16px;
}
.bp-article h2:first-child { margin-top: 0; }
.bp-article h3 {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 1.0625rem; font-weight: 700;
  color: #1A1A1A; margin: 28px 0 10px;
}
.bp-article ul, .bp-article ol {
  margin: 0 0 20px 0; padding-left: 0;
  list-style: none;
}
.bp-article ul li, .bp-article ol li {
  font-size: 1.0625rem; line-height: 1.75;
  color: #2d2d2d; padding: 4px 0 4px 24px;
  position: relative;
}
.bp-article ul li::before {
  content: '—';
  position: absolute; left: 0;
  color: #F5C313; font-weight: 700;
}
.bp-article ol { counter-reset: ol-counter; }
.bp-article ol li { counter-increment: ol-counter; }
.bp-article ol li::before {
  content: counter(ol-counter) '.';
  position: absolute; left: 0;
  color: #F5C313; font-weight: 700; font-size: .9rem;
}
.bp-article strong { font-weight: 700; color: #1A1A1A; }
.bp-article a { color: #1A1A1A; text-decoration: underline; text-underline-offset: 3px; }
.bp-article a:hover { color: #b8940a; }

/* Note / callout */
.bp-note {
  background: #f9f7f0;
  border-left: 3px solid #F5C313;
  border-radius: 0 8px 8px 0;
  padding: 16px 20px;
  margin: 24px 0;
  font-size: .9375rem;
  color: #444;
}
.bp-note strong { color: #1A1A1A; }

/* Back to blog link */
.bp-back {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .875rem; font-weight: 600; color: #54595F;
  text-decoration: none; margin-bottom: 40px;
  transition: color .15s;
}
.bp-back:hover { color: #1A1A1A; }
.bp-back svg { transition: transform .15s; }
.bp-back:hover svg { transform: translateX(-3px); }

/* Divider */
.bp-divider {
  height: 1px; background: #ebebeb;
  margin: 48px 0;
}

/* ── Blog post CTA section ──────────────────────────────────── */
.bp-cta-section {
  background: #1A1A1A;
  padding: 64px 24px;
  text-align: center;
}
.bp-cta-section__inner {
  max-width: 560px; margin: 0 auto;
}
.bp-cta-section__eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: .15em;
  text-transform: uppercase; color: #F5C313;
  margin-bottom: 16px;
}
.bp-cta-section__h2 {
  font-family: 'Nunito Sans', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900; letter-spacing: -.03em; line-height: 1.15;
  color: #fff; margin-bottom: 12px;
}
.bp-cta-section__sub {
  font-size: .9375rem; color: rgba(255,255,255,.5);
  line-height: 1.6; margin-bottom: 32px;
}
.bp-cta-section__btns {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
}

/* ── Responsive tweaks ──────────────────────────────────────── */
@media (max-width: 640px) {
  .bl-hero { padding: 80px 20px 56px; }
  .bp-hero { padding: 80px 20px 56px; }
  .bp-article { padding: 40px 20px 60px; }
  .bp-article h2 { margin-top: 36px; }
}

/* 03-legal.css */
/* =============================================================
   LEGAL PAGES (polityka prywatności, RODO)
   Prefix: .lp-  (legal page)
   ============================================================= */

.lp-hero {
  background: #1A1A1A;
  padding: 130px 24px 64px;
  text-align: center;
}
.lp-hero__inner {
  max-width: 760px;
  margin: 0 auto;
}
.lp-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  border-radius: 9999px;
  padding: 6px 16px;
  margin-bottom: 24px;
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #d4d4d8;
}
.lp-hero__badge-dot { width: 6px; height: 6px; border-radius: 50%; background: #F5C313; }
.lp-hero__h1 {
  font-family: 'Nunito Sans', sans-serif;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 14px;
}
.lp-hero__sub {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(255,255,255,.5);
}
.lp-hero__updated {
  display: block;
  margin-top: 16px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.8125rem;
  color: rgba(255,255,255,.35);
}

.lp-body {
  max-width: 820px;
  margin: 0 auto;
  padding: 64px 24px 96px;
  font-family: 'Poppins', sans-serif;
  color: var(--color-text, #1A1A1A);
}

.lp-draft {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #FFF4E5;
  border: 1px solid #F0B95A;
  border-radius: var(--radius-lg, 16px);
  padding: 18px 22px;
  margin-bottom: 40px;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #7A4E00;
}
.lp-draft__icon { flex-shrink: 0; font-size: 1.25rem; line-height: 1.4; }
.lp-draft strong { color: #7A4E00; font-weight: 700; }

.lp-toc {
  background: #FAFAFA;
  border: 1px solid #EEE;
  border-radius: var(--radius-lg, 16px);
  padding: 24px 28px;
  margin-bottom: 48px;
}
.lp-toc__title {
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--color-muted, #54595F);
  margin-bottom: 14px;
}
.lp-toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 32px; }
.lp-toc li { margin-bottom: 8px; break-inside: avoid; }
.lp-toc a {
  color: var(--color-text-secondary, #444);
  text-decoration: none;
  font-size: 0.9375rem;
}
.lp-toc a:hover { color: var(--color-text, #1A1A1A); text-decoration: underline; }

.lp-section { margin-bottom: 44px; scroll-margin-top: 90px; }
.lp-section__h2 {
  font-family: 'Nunito Sans', sans-serif;
  font-size: clamp(1.25rem, 2.4vw, 1.625rem);
  font-weight: 900;
  letter-spacing: -.02em;
  color: var(--color-text, #1A1A1A);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #F5C313;
}
.lp-section__h3 {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-text, #1A1A1A);
  margin: 24px 0 10px;
}
.lp-section p,
.lp-section li {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text-secondary, #444);
}
.lp-section p { margin-bottom: 14px; }
.lp-section ul { margin: 0 0 16px; padding-left: 22px; }
.lp-section li { margin-bottom: 8px; }
.lp-section a { color: #1A1A1A; font-weight: 600; }
.lp-section strong { color: var(--color-text, #1A1A1A); font-weight: 700; }

.lp-note {
  background: #FFFBEB;
  border-left: 3px solid #F5C313;
  border-radius: 0 8px 8px 0;
  padding: 16px 20px;
  margin: 16px 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-muted, #54595F);
}

.lp-card {
  background: #FAFAFA;
  border: 1px solid #EEE;
  border-radius: var(--radius, 8px);
  padding: 22px 24px;
  margin-bottom: 16px;
}
.lp-card p { margin-bottom: 6px; }

@media (max-width: 640px) {
  .lp-toc ol { columns: 1; }
  .lp-body { padding: 40px 20px 64px; }
}

/* 04-s2.css */
/* =============================================================
   SEKCJA 2 (home) — „Co tak naprawdę daje CSS"
   Statyczny diagram (lewo) + panel treści (prawo) — wzorzec ARIA tabs.
   Treść 6 węzłów jest w HTML (SEO + no-JS); pozycje węzłów w inline %.
   Logika (przełączanie): js/03-orbital.js
   ============================================================= */

.s2x { position: relative; background: #0A0A0A; color: #fff; padding: 110px 0 96px; overflow: hidden; }
.s2x::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 40% at 50% 25%, rgba(255,255,255,0.025) 0%, transparent 60%),
    radial-gradient(circle at 50% 50%, rgba(245,195,19,0.04) 0%, transparent 50%);
}
.s2x-container { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.s2x-header { max-width: 720px; margin: 0 0 48px; }
.s2x-eyebrow {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .15em;
  text-transform: uppercase; color: #F5C313; padding: 6px 14px;
  border: 1px solid rgba(245,195,19,0.3); border-radius: 999px; margin-bottom: 20px;
}
.s2x-h2 {
  font-family: 'Nunito Sans', sans-serif; font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 900; letter-spacing: -.03em; line-height: 1.05; margin-bottom: 18px;
}
.s2x-h2-accent {
  background: linear-gradient(130deg, #fff 30%, #F5C313 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.s2x-lead { font-size: 1.0625rem; line-height: 1.7; color: rgba(255,255,255,0.55); max-width: 620px; }
.s2x-lead strong { color: #F5C313; font-weight: 700; }

/* layout: diagram + panel. align-items:start → stage nie skacze przy zmianie treści */
.s2x-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: start; }
@media (min-width: 900px) { .s2x-grid { grid-template-columns: 0.95fr 1.05fr; gap: 56px; } }

/* stage */
.s2x-stage { position: relative; width: 100%; max-width: 420px; aspect-ratio: 1; margin: 0 auto; }
.s2x-ring { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); border-radius: 50%; pointer-events: none; }
.s2x-ring--o { width: 100%; height: 100%; border: 1px solid rgba(255,255,255,0.07); }
.s2x-ring--i { width: 58%; height: 58%; border: 1px solid rgba(255,255,255,0.05); }
.s2x-center {
  position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; transform: translate(-50%,-50%);
  border-radius: 50%; z-index: 3;
  background: radial-gradient(circle at 30% 30%, #FFE066 0%, #F5C313 50%, #d4a710 100%);
  box-shadow: 0 0 38px rgba(245,195,19,0.45), inset 0 2px 8px rgba(255,255,255,0.4);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Nunito Sans', sans-serif; font-weight: 900; font-size: 19px; color: #1A1A1A;
}

/* nodes — pozycja z inline left/top % (na kwadratowym stage = okrąg); margin centruje na punkcie */
.s2x-node { position: absolute; width: 54px; height: 54px; margin: -27px 0 0 -27px; z-index: 5; }
.s2x-node__btn {
  width: 54px; height: 54px; border-radius: 50%; padding: 0; cursor: pointer; position: relative;
  background: rgba(255,255,255,0.05); border: 1.5px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.9); display: flex; align-items: center; justify-content: center;
  transition: all .2s ease;
}
.s2x-node__btn svg { width: 22px; height: 22px; }
.s2x-node__num {
  position: absolute; top: -6px; left: -6px; width: 20px; height: 20px; border-radius: 50%;
  background: #1A1A1A; border: 1px solid rgba(245,195,19,0.5); color: #F5C313;
  font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.s2x-node__lbl {
  position: absolute; top: 60px; left: 50%; transform: translateX(-50%); white-space: nowrap;
  font-size: 11px; font-weight: 700; letter-spacing: .04em; color: rgba(255,255,255,0.6); pointer-events: none;
}
.s2x-node__btn:hover { background: rgba(245,195,19,0.12); border-color: rgba(245,195,19,0.5); color: #F5C313; transform: scale(1.07); }
.s2x-node__btn:focus-visible { outline: 2px solid #F5C313; outline-offset: 3px; }
.s2x-node.is-active .s2x-node__btn { background: #F5C313; border-color: #F5C313; color: #1A1A1A; transform: scale(1.15); box-shadow: 0 0 24px rgba(245,195,19,0.5); }
.s2x-node.is-active .s2x-node__lbl { color: #F5C313; font-weight: 800; }

/* panel */
.s2x-panel {
  position: relative; align-self: center;   /* wyśrodkowanie względem diagramu, bez wpływu na pozycję stage */
  background: rgba(255,255,255,0.035); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px; padding: 30px; backdrop-filter: blur(10px); min-height: 280px;
}
.s2x-progress { display: flex; gap: 6px; margin-bottom: 20px; }
.s2x-progress span { height: 3px; flex: 1; border-radius: 2px; background: rgba(255,255,255,0.12); transition: background .2s; }
.s2x-progress span.on { background: #F5C313; }

.s2x-tabpanel { display: none; }
.s2x-tabpanel.is-shown { display: block; animation: s2xFade .28s ease; }
@keyframes s2xFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.s2x-tag {
  display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: #1A1A1A; background: #F5C313; padding: 4px 10px; border-radius: 5px; margin-bottom: 14px;
}
.s2x-title { font-family: 'Nunito Sans', sans-serif; font-size: 1.5rem; font-weight: 900; letter-spacing: -.02em; line-height: 1.15; margin-bottom: 12px; color: #fff; }
.s2x-body { font-size: 1rem; line-height: 1.7; color: rgba(255,255,255,0.72); }
.s2x-body strong { color: #F5C313; font-weight: 700; }
.s2x-body em { color: rgba(255,255,255,0.5); font-style: italic; font-size: .875rem; }


/* mobile */
@media (max-width: 560px) {
  .s2x { padding: 70px 0 60px; }
  .s2x-header { margin-bottom: 28px; }
  .s2x-stage { max-width: 300px; }
  /* AX5: komfortowy tap-target ≥48px (Material/HIG) zamiast granicznych 46px */
  .s2x-node { width: 48px; height: 48px; margin: -24px 0 0 -24px; }
  .s2x-node__btn { width: 48px; height: 48px; }
  .s2x-node__btn svg { width: 19px; height: 19px; }
  .s2x-node__lbl { top: 52px; font-size: 10px; }  /* R3: legibilność na mobile (9→10px); etykiety są krótkie, mieszczą się w stage */
  .s2x-center { width: 64px; height: 64px; font-size: 14px; }
  .s2x-panel { padding: 24px; min-height: 0; }
  .s2x-title { font-size: 1.25rem; }

}

@media (prefers-reduced-motion: reduce) {
  .s2x-tabpanel.is-shown { animation: none; }
  .s2x-node__btn { transition: none; }
}

/* 05-compare.css */
/* ════════════════ Porównywarka white-label (.cmp) ════════════════
   Komponent wyniesiony z assets/preview-compare.html (Task 3 → Task 5).
   Themeowanie przez CSS variables ustawiane z JS (js/06-compare.js):
   --cmp-accent / --cmp-accent-dark / --cmp-on-accent.
   Dane demo (kategorie, produkty, flaga, etykiety) renderowane z bloku
   <script type="application/json" id="cmpData"> — patrz js/06-compare.js. */

/* ── sekcja na /agency ── */
.ag-cmp { padding: 72px 0; background: #f4f6f8; }
.ag-cmp .container { max-width: 1040px; }
.ag-cmp-control {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px;
  background: #fff; border: 1px solid #dfe3e8; border-radius: 14px;
  padding: 16px 20px; margin: 0 auto 24px; max-width: 760px;
}
.ag-cmp-control label { font-size: .8125rem; font-weight: 600; color: #374151; }
.ag-cmp-control input {
  padding: 10px 14px; min-height: 44px; box-sizing: border-box;  /* R1: tap target ≥44px */
  border: 1.5px solid #d1d5db; border-radius: 10px; font: inherit; font-size: .9375rem;
  min-width: 240px; outline: none; transition: border-color .15s;
}
.ag-cmp-control input:focus { border-color: #1a1a1a; }
.ag-cmp-go {
  padding: 10px 18px; min-height: 44px;  /* R1: tap target ≥44px */
  border: none; border-radius: 10px; cursor: pointer;
  background: #1a1a1a; color: #fff; font: inherit; font-size: .875rem; font-weight: 700;
  transition: background .15s;
}
.ag-cmp-go:hover { background: #000; }
.ag-cmp-status { font-size: .75rem; color: #9ca3af; width: 100%; text-align: center; }

/* ── sekcja sembot.eu na /ecommerce (marka stała, bez wpisywania domeny) ── */
/* Ciemne tło (jak sekcja kroków nad nią) — nagłówek ec-section-h2/sub jest biały,
   a widget .cmp ma własne białe tło, więc świetnie kontrastuje na ciemnym. */
.ec-cmp { padding: 72px 0; background: #1A1A1A; }
.ec-cmp-inner { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.ec-cmp-head { text-align: center; max-width: 780px; margin: 0 auto 28px; }

/* ── komponent porównywarki ── */
.cmp {
  --cmp-accent: #3b5bdb;
  --cmp-accent-dark: #2c43a8;
  --cmp-on-accent: #fff;
  background: #fff; border-radius: 16px; overflow: hidden;
  border: 1px solid #e2e6ea; box-shadow: 0 12px 40px rgba(0,0,0,.10);
  font-family: 'Poppins', sans-serif; color: #1f2328;
}
.cmp * { box-sizing: border-box; }
.cmp img, .cmp svg { display: block; max-width: 100%; }
.cmp a { color: inherit; text-decoration: none; }
.cmp-accentbar { height: 4px; background: var(--cmp-accent); }

/* Header */
.cmp-header {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px; border-bottom: 1px solid #eef1f4; flex-wrap: wrap;
}
.cmp-brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.cmp-logo {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  position: relative; overflow: hidden;
  background: var(--cmp-accent); color: var(--cmp-on-accent);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Nunito Sans', sans-serif; font-weight: 900; font-size: 1.0625rem; letter-spacing: -.02em;
}
.cmp-logo-img { width: 100%; height: 100%; object-fit: contain; }
.cmp-logo:not(.has-img) .cmp-logo-img { display: none; }
.cmp-logo.has-img { background: #fff; border: 1px solid #e6eaee; }
.cmp-logo.has-img .cmp-logo-text { display: none; }
.cmp-brandtext { display: flex; flex-direction: column; line-height: 1.1; }
.cmp-brandname { font-family: 'Nunito Sans', sans-serif; font-weight: 900; font-size: 1.0625rem; letter-spacing: -.02em; color: #1a1a1a; }
.cmp-brandsub { font-size: .625rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #9ca3af; }

.cmp-search {
  flex: 1; min-width: 90px; display: flex; align-items: center; gap: 8px;
  background: #f4f6f8; border: 1px solid #e6eaee; border-radius: 9999px; padding: 9px 16px;
}
.cmp-search svg { width: 16px; height: 16px; color: #9ca3af; flex-shrink: 0; }
.cmp-search input { flex: 1; border: none; background: none; outline: none; font: inherit; font-size: .875rem; color: #374151; }
.cmp-search input::placeholder { color: #9ca3af; }

.cmp-lang {
  display: inline-flex; align-items: center; gap: 5px; flex-shrink: 0;
  font-size: .8125rem; font-weight: 600; color: #6b7280;
  border: 1px solid #e6eaee; border-radius: 9999px; padding: 7px 10px;
}
.cmp-flag { width: 18px; height: 18px; border-radius: 9999px; flex-shrink: 0; }
.cmp-cta {
  flex-shrink: 0; background: var(--cmp-accent); color: var(--cmp-on-accent);
  font-size: .78rem; font-weight: 700; border-radius: 9999px; padding: 9px 14px;
  border: none; cursor: pointer; white-space: nowrap;
  transition: filter .15s;
}
.cmp-cta:hover { filter: brightness(.94); }

/* Mockup atrapy: pole search i CTA „Dodaj sklep" są nieaktywne (disabled),
   ale mają wyglądać jak w prawdziwej porównywarce — neutralizujemy wyszarzenie. */
.cmp-search input:disabled {
  color: #374151; -webkit-text-fill-color: #374151; opacity: 1; cursor: default;
}
.cmp-cta:disabled { cursor: default; opacity: 1; }
.cmp-cta:disabled:hover { filter: none; }

/* Pasek kategorii */
.cmp-cats {
  display: flex; gap: 4px; padding: 0 14px; border-bottom: 1px solid #eef1f4;
  overflow-x: auto; scrollbar-width: none;
}
.cmp-cats::-webkit-scrollbar { display: none; }
.cmp-cat {
  flex-shrink: 0; padding: 12px 14px; font-size: .8125rem; font-weight: 600; color: #6b7280;
  border-bottom: 2px solid transparent; cursor: pointer; white-space: nowrap;
  transition: color .15s, border-color .15s;
}
.cmp-cat:hover { color: #1f2328; }
.cmp-cat.is-active { color: var(--cmp-accent-dark); border-bottom-color: var(--cmp-accent); }

/* Siatka produktów */
.cmp-grid {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px; padding: 18px;
}
.cmp-tile {
  border: 1px solid #ebeef1; border-radius: 12px; overflow: hidden; background: #fff;
  display: flex; flex-direction: column; min-width: 0;  /* R2: defensywnie — kafelek nie rozpycha tracka grid */
  transition: box-shadow .18s, border-color .18s;
}
.cmp-tile:hover { box-shadow: 0 6px 20px rgba(0,0,0,.10); border-color: #dfe3e8; }
.cmp-photo { position: relative; aspect-ratio: 1/1; background: #f5f6f8; }
.cmp-photo img { width: 100%; height: 100%; object-fit: cover; }
.cmp-badge {
  position: absolute; top: 8px; left: 8px; z-index: 1;
  background: var(--cmp-accent); color: var(--cmp-on-accent);
  font-size: .625rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  border-radius: 6px; padding: 3px 7px;
}
.cmp-body { padding: 10px 12px 13px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.cmp-title {
  font-size: .8125rem; line-height: 1.3; color: #1f2328; font-weight: 500;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 34px;
}
.cmp-price-row { display: flex; align-items: baseline; gap: 8px; margin-top: 2px; flex-wrap: wrap; }
.cmp-price { font-family: 'Nunito Sans', sans-serif; font-size: 1.0625rem; font-weight: 900; letter-spacing: -.02em; color: var(--cmp-accent-dark); white-space: nowrap; }
.cmp-price-old { font-size: .75rem; color: #adb5bd; text-decoration: line-through; white-space: nowrap; }
.cmp-store { font-size: .6875rem; color: #868e96; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cmp-ship { font-size: .6875rem; color: #2f9e44; font-weight: 600; margin-top: auto; padding-top: 4px; }
.cmp-ship.is-paid { color: #868e96; font-weight: 500; }

/* Wyróżniony produkt klienta („Twój produkt") — używane na /ecommerce (sembot.eu) */
.cmp-tile--mine { border: 2px solid var(--cmp-accent); box-shadow: 0 6px 20px rgba(0,0,0,.10); }
.cmp-mine {
  display: block; background: var(--cmp-accent); color: var(--cmp-on-accent);
  font-size: .625rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  text-align: center; padding: 4px 6px;
}

/* Wariant sembot.eu: ceny na czarno (jak na realnej porównywarce), nie w kolorze marki */
.cmp--sembot .cmp-price { color: #1a1a1a; }

/* Footer */
.cmp-footer {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 16px 22px; border-top: 1px solid #eef1f4; background: #fafbfc;
}
.cmp-footer-brand { font-size: .8125rem; color: #6b7280; }
.cmp-footer-brand strong { color: #1a1a1a; font-weight: 700; }
.cmp-footer-links { display: flex; gap: 16px; font-size: .75rem; color: #9ca3af; }
.cmp-footer-links a:hover { color: #6b7280; }

/* Siatka produktów: liczba kolumn dzieli 6 równo (6 / 3 / 2), żeby ostatni
   produkt NIGDY nie został sam w nowym rzędzie (problem 5+1). Desktop = 6 w
   jednym rzędzie, jak w preview. */
@media (max-width: 860px) {
  .cmp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .cmp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Wąskie szerokości: wyszukiwarka (dekoracyjna w mockupie) jest UKRYWANA,
   a nie spychana pod spód — dzięki temu nagłówek (logo + flaga + CTA) zostaje
   w jednym rzędzie zamiast łamać się na 2 linie. */
@media (max-width: 600px) {
  .cmp-search { display: none; }
}
/* Bardzo wąsko: chowamy też pill języka, by CTA się nie zawijało. */
@media (max-width: 500px) {
  .cmp-lang { display: none; }
}

/* ── Małe ekrany mobilne: ciaśniejszy padding, mniejsze katy ── */
@media (max-width: 480px) {
  .cmp-header { padding: 12px 12px; gap: 8px; }
  .cmp-grid { gap: 8px; padding: 12px; }
  .cmp-body { padding: 8px 8px 10px; }
  .cmp-cat { padding: 9px 10px; font-size: .75rem; }
  .cmp-footer { padding: 12px 14px; font-size: .75rem; }
}

/* ── ag-cmp-control: input nie może wymusić overflow ── */
.ag-cmp-control input { min-width: 0; }

/* Na mobile: control stackuje się pionowo (label → input → button) */
@media (max-width: 540px) {
  .ag-cmp-control {
    flex-direction: column;
    align-items: stretch;
    padding: 14px 16px;
  }
  .ag-cmp-control input { width: 100%; }
  .ag-cmp-go { text-align: center; }
}

/* ── Comparator w pf-vis ag-features (kolumna ~500px na desktop) ──
   Viewport jest szeroki (≥1024px) ale kolumna to ~50% kontenera.
   Breakpointy viewport-based nie zadziałają — trzeba wymusić przez selektor. */
.ag-features .pf-vis { min-width: 0; }
@media (min-width: 1024px) {
  .ag-features .pf-vis .cmp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ag-features .pf-vis .cmp-search { display: none; }
  .ag-features .pf-vis .cmp-lang { display: none; }
  .ag-features .pf-vis .ag-cmp-control {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
}

/* 06-callback.css */
/* Globalny formularz kontaktowy (sekcja w stopce, na KAŻDEJ stronie).
   Wygląd przejęty z ładnego formularza ag-form (/agency); treści/pola przerobione na
   ogólny kontakt (bez „demo"). Zastępuje wcześniejszy mini-callback (.cb).
   Wysyłka POST /api/contact zadziała po odblokowaniu notify (B2). Captcha do dodania. */
.cf {
  background: #1A1A1A; position: relative; overflow: hidden;
  padding: 80px 24px;
}
.cf::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(245,195,19,.07) 0%, transparent 70%);
  pointer-events: none;
}
.cf__inner { max-width: 640px; margin: 0 auto; position: relative; z-index: 1; text-align: center; }
.cf__title {
  font-family: 'Nunito Sans', sans-serif; font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 900; letter-spacing: -.02em; color: #fff; margin: 0 0 14px;
}
.cf__sub { font-size: 1rem; color: rgba(255,255,255,.5); line-height: 1.7; margin: 0 auto 36px; max-width: 520px; }

.cf__form {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
  border-radius: 24px; padding: 32px; text-align: left;
  display: flex; flex-direction: column; gap: 18px;
}
.cf__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.cf__row { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 480px) { .cf__row { grid-template-columns: 1fr 1fr; } }
/* R4: na małych ekranach formularz nie traci 64px na padding */
@media (max-width: 480px) { .cf__form { padding: 24px 20px; } }
.cf__group { display: flex; flex-direction: column; gap: 6px; }
.cf__label { font-size: .8125rem; font-weight: 600; color: rgba(255,255,255,.5); letter-spacing: .03em; }
.cf__input, .cf__select {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px; padding: 12px 16px; height: 48px; line-height: 1.5; font-size: .9375rem; color: #fff; outline: none;
  transition: border-color .15s, background .15s; font-family: inherit; width: 100%; box-sizing: border-box;
}
.cf__input::placeholder { color: rgba(255,255,255,.25); }
/* Select: natywny <select> ignoruje height (zwłaszcza Safari) → wyglądał na ~50% niższy niż inputy.
   Zdejmujemy natywny appearance + własna strzałka SVG, dzięki czemu wysokość = identyczna jak inputy. */
.cf__select {
  -webkit-appearance: none; -moz-appearance: none; appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-opacity='.5' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 12px;
}
/* focus: background-color (NIE shorthand) — żeby nie zresetować strzałki selecta */
.cf__input:focus, .cf__select:focus { border-color: rgba(245,195,19,.5); background-color: rgba(255,255,255,.09); }
.cf__select option { background: #2a2a2a; color: #fff; }

.cf__rodo { display: flex; align-items: flex-start; gap: 10px; font-size: .75rem; line-height: 1.5; color: rgba(255,255,255,.55); }
.cf__rodo input { margin-top: 3px; flex-shrink: 0; }
.cf__rodo a { color: rgba(255,255,255,.75); }

.cf__submit {
  display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%;
  background: #F5C313; color: #1A1A1A; border-radius: 9999px; padding: 16px 32px;
  font-size: 1rem; font-weight: 700; border: none; cursor: pointer; font-family: inherit;
  transition: transform .15s, background .15s; margin-top: 4px;
}
.cf__submit:hover { background: #e8b800; transform: scale(1.01); }
.cf__submit:disabled { background: #6b6b6b; color: #fff; cursor: not-allowed; transform: none; }

.cf__msg { text-align: center; font-size: .875rem; margin: 4px 0 0; min-height: 1em; }
.cf__msg.is-ok { color: #4ade80; font-weight: 600; }
.cf__msg.is-err { color: #ff8787; }
.cf__note { text-align: center; font-size: .8125rem; color: rgba(255,255,255,.3); margin-top: 4px; }

/* 07-devnote.css */
/* Notki review/dev na froncie — subtelna informacja dla osób przeglądających stronę
   o tym, co jest niegotowe / placeholder / czeka na zależność.
   ⚠️ DO USUNIĘCIA PRZED LAUNCHEM (E10). Szukaj klasy `.devnote`. */
.devnote {
  display: inline-flex; align-items: flex-start; gap: 6px;
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: .6875rem; line-height: 1.45; font-weight: 600;
  color: #8a6d00; background: rgba(245,195,19,.12);
  border: 1px dashed rgba(245,195,19,.6); border-radius: 8px;
  padding: 6px 10px; margin: 10px 0; max-width: 520px; text-align: left;
}
.devnote::before { content: "🛈"; flex-shrink: 0; }
.devnote a { color: inherit; text-decoration: underline; }
.devnote--block { display: flex; }
.devnote--center { margin-left: auto; margin-right: auto; }
/* wariant na ciemnym tle (hero/sekcje dark) */
.devnote--dark {
  color: #ffe49b; background: rgba(245,195,19,.1);
  border-color: rgba(245,195,19,.4);
}

