/* =============================================================================
   Pan Busowski — Homepage styles (oproznianie365.pl)
   Loaded only on pages/home.php via $GLOBALS['extra_css'] = ['home.css']
   ============================================================================= */

/* ============================================================
   HERO
   ============================================================ */
.pb-hero {
  padding: 56px 0 20px;
  background: linear-gradient(180deg, #fff 0%, var(--pb-green-50) 100%);
}
.pb-hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}
.pb-hero-left { display: flex; flex-direction: column; gap: 22px; }

.pb-hero-eyebrow {
  font-family: var(--pb-font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pb-green-700);
}
.pb-hero h1 {
  font-family: var(--pb-font-display);
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 800;
  line-height: var(--pb-lh-tight);
  letter-spacing: var(--pb-tracking-tight);
  color: var(--pb-ink);
  margin: 0;
}
.pb-hero h1 .accent { color: var(--pb-green); }

.pb-hero-cta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

.pb-hero-call {
  display: flex;
  align-items: center;
  gap: 10px;
}
.pb-hero-call svg { width: 18px; height: 18px; flex-shrink: 0; }
.pb-hero-call strong { display: block; font-size: 15px; line-height: 1.1; }
.pb-hero-call small { display: block; font-size: 11px; color: var(--pb-text-muted); font-weight: 400; }

/* Hero image — real photo inside pebble shape */
.pb-hero-image {
  position: relative;
  height: 280px;
  max-width: 520px;
  margin-top: 8px;
}
.pb-hero-image .pebble {
  width: 100%;
  height: 100%;
  border-radius: 56% 44% 52% 48% / 58% 50% 50% 42%;
  position: relative;
  overflow: hidden;
  background-image: url('/assets/img/general/hero-oproznianie.webp');
  background-size: cover;
  background-position: center;
}
/* Dark gradient overlay for readability — inside pebble so it follows the blob shape */
.pb-hero-image .pebble::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,.65) 0%,
    rgba(0,0,0,.20) 50%,
    transparent 100%
  );
  z-index: 1;
}

/* Text overlay is a SIBLING of .pebble (not a child)
   so it is NOT clipped by the blob border-radius */
.pb-hero-image .hero-text-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  padding: 0 22px;
  z-index: 5;
  pointer-events: none;
}
.pb-hero-image .slide-label {
  display: block;
  color: #fff;
  font-family: var(--pb-font-display);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0,0,0,.7), 0 1px 3px rgba(0,0,0,.5);
}
.pb-hero-image .slide-sub {
  display: block;
  color: rgba(255,255,255,.9);
  font-family: var(--pb-font-body);
  font-size: 11px;
  font-weight: 500;
  margin-top: 4px;
  text-shadow: 0 1px 5px rgba(0,0,0,.7);
}
.pb-hero-image .price-tag {
  position: absolute;
  bottom: 36px;
  right: -8px;
  background: var(--pb-yellow);
  color: var(--pb-ink);
  padding: 12px 20px;
  border-radius: var(--pb-r-pill);
  font-family: var(--pb-font-display);
  font-weight: 800;
  font-size: 17px;
  box-shadow: 0 4px 14px rgba(0,0,0,.22);
  transform: rotate(-4deg);
  z-index: 6;
  opacity: 1;
}
.pb-hero-image .price-tag small { display: block; font-size: 10px; font-weight: 500; }

/* Progress indicator — animated fill */
.pb-hero-image .dots {
  position: absolute;
  left: 50%;
  bottom: -14px;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}
.pb-hero-image .dots span {
  width: 28px;
  height: 4px;
  border-radius: 2px;
  background: rgba(180,180,180,.4);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.pb-hero-image .dots span.on {
  width: 40px;
}
/* The animated fill bar inside the active dot */
.pb-hero-image .dots span.on::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 100%;
  background: var(--pb-green);
  transform-origin: left center;
  transform: scaleX(0);
  animation: pb-progress-fill 4.2s linear forwards;
}
@keyframes pb-progress-fill {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* ============================================================
   CUSTOM SELECT (quote form city picker)
   ============================================================ */
.pb-custom-select { position: relative; width: 100%; user-select: none; }
.pb-custom-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border: 1.5px solid var(--pb-line);
  border-radius: var(--pb-r-md);
  background: #fff;
  cursor: pointer;
  font-family: var(--pb-font-body);
  font-size: 15px;
  color: var(--pb-ink);
  transition: border-color 160ms, box-shadow 160ms;
}
.pb-custom-select.open .pb-custom-select-trigger {
  border-color: var(--pb-green);
  box-shadow: 0 0 0 3px rgba(80,184,72,.15);
}
.pb-custom-select-trigger svg {
  width: 15px; height: 15px;
  fill: none; stroke: var(--pb-text-muted); stroke-width: 2.5; stroke-linecap: round;
  transition: transform 200ms var(--pb-ease-out);
  flex-shrink: 0;
}
.pb-custom-select.open .pb-custom-select-trigger svg { transform: rotate(180deg); }
.pb-custom-select-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0; right: 0;
  background: #fff;
  border: 1.5px solid var(--pb-line);
  border-radius: var(--pb-r-md);
  box-shadow: var(--pb-shadow-md);
  z-index: 60;
  overflow: hidden;
}
.pb-custom-select.open .pb-custom-select-dropdown { display: block; }
.pb-custom-select-option {
  padding: 11px 14px;
  font-family: var(--pb-font-body);
  font-size: 15px;
  color: var(--pb-text);
  cursor: pointer;
  transition: background 100ms;
}
.pb-custom-select-option:hover { background: var(--pb-green-50); color: var(--pb-ink); }
.pb-custom-select-option.active {
  color: var(--pb-green-700);
  font-weight: 600;
  background: var(--pb-green-100);
}

/* Quote card */
.pb-quote-card {
  background: #fff;
  border: 1px solid var(--pb-line-soft);
  border-radius: var(--pb-r-xl);
  padding: 24px;
  box-shadow: var(--pb-shadow-md);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.pb-quote-card h3 {
  font-family: var(--pb-font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--pb-ink);
  margin: 0;
}
.pb-quote-card .sub { font-size: 13px; color: var(--pb-text-muted); margin: 0; }
.pb-quote-card .field-label { font-size: 11px; color: var(--pb-text-muted); margin-bottom: 6px; }
.pb-quote-card form { display: flex; flex-direction: column; gap: 14px; }
.pb-quote-row { display: flex; gap: 8px; }

/* ============================================================
   USP STRIP
   ============================================================ */
.pb-usp {
  padding: 16px 0 36px;
  background: linear-gradient(180deg, var(--pb-green-50) 0%, #fff 100%);
}
.pb-usp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.pb-usp-item {
  background: #fff;
  border-radius: var(--pb-r-lg);
  padding: 18px;
  box-shadow: var(--pb-shadow-sm);
  display: flex;
  align-items: center;
  gap: 14px;
  transition: box-shadow var(--pb-dur-base), transform var(--pb-dur-base);
}
.pb-usp-item:hover { box-shadow: var(--pb-shadow-md); }
.pb-usp-illo { width: 64px; height: 64px; flex-shrink: 0; }
.pb-usp-illo svg { width: 64px; height: 64px; }
.pb-usp-t1 {
  font-family: var(--pb-font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--pb-ink);
  line-height: 1.2;
}
.pb-usp-t2 { font-size: 12px; color: var(--pb-text-muted); margin-top: 3px; line-height: 1.4; }

/* ============================================================
   H2 HEADINGS — brand green throughout main content
   ============================================================ */
main h2 { color: var(--pb-green); }
.pb-game h2 { color: #fff; }
.pb-cta-band h2 { color: #fff; }

/* ============================================================
   SECTIONS (shared)
   ============================================================ */
.pb-section { padding: 80px 0; }
.pb-section.alt { background: var(--pb-surface-2); }
.pb-section.washed { background: var(--pb-green-50); }
.pb-section.tight-top    { padding-top: 56px; }
.pb-section.tight-bottom { padding-bottom: 56px; }
.pb-section-head { text-align: center; margin-bottom: 40px; }
.pb-section-head .eye {
  font-size: 11px;
  font-weight: 600;
  color: var(--pb-green-700);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 8px;
}
.pb-section-head h2 {
  font-family: var(--pb-font-display);
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 700;
  letter-spacing: var(--pb-tracking-tight);
  color: var(--pb-green);
  margin: 0 0 10px;
}
.pb-section-head p {
  color: var(--pb-text-muted);
  font-size: 16px;
  max-width: 60ch;
  margin: 0 auto;
}

/* ============================================================
   SERVICES GRID
   ============================================================ */
.pb-services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.pb-service {
  background: #fff;
  border-radius: var(--pb-r-lg);
  padding: 18px;
  box-shadow: var(--pb-shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
  cursor: pointer;
  transition: box-shadow var(--pb-dur-base), transform var(--pb-dur-base);
  position: relative;
  text-decoration: none;
  color: inherit;
}
.pb-service:hover { box-shadow: var(--pb-shadow-md); color: inherit; text-decoration: none; }
.pb-service-img {
  width: 100%;
  height: 120px;
  border-radius: 56% 44% 52% 48% / 58% 50% 50% 42%;
  background-color: var(--pb-green-100);
  background-image: url('/assets/img/general/hero-oproznianie.webp');
  background-size: cover;
  background-position: center;
  transition: border-radius 380ms var(--pb-ease-out);
  overflow: hidden;
}
.pb-service-img.alt { background-color: var(--pb-yellow-100); }
.pb-service:hover .pb-service-img { border-radius: var(--pb-r-md); }
.pb-service h3 {
  font-family: var(--pb-font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--pb-ink);
  line-height: 1.2;
  margin: 0;
}
.pb-service p { font-size: 13px; color: var(--pb-text-muted); line-height: 1.45; margin: 0; flex: 1; }
.pb-service .price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--pb-font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--pb-green-700);
  margin-top: auto;
}
.pb-service .price svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.pb-service .promo {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--pb-yellow);
  color: var(--pb-ink);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  transform: rotate(-3deg);
  box-shadow: var(--pb-shadow-yellow);
}

/* ============================================================
   NUMBERS (stats)
   ============================================================ */
.pb-numbers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.pb-number {
  background: #fff;
  border-radius: var(--pb-r-lg);
  padding: 28px 22px;
  text-align: center;
  box-shadow: var(--pb-shadow-sm);
}
.pb-number .n {
  font-family: var(--pb-font-display);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 800;
  color: var(--pb-green);
  line-height: 1;
  letter-spacing: -0.03em;
}
.pb-number .lbl { font-size: 14px; color: var(--pb-text-muted); margin-top: 6px; }

/* ============================================================
   MAP
   ============================================================ */
.pb-map-section {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.pb-map-side {
  display: flex; flex-direction: column; gap: 16px;
}
.pb-map-side h3 {
  font-family: var(--pb-font-display);
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 800;
  color: var(--pb-green);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0;
}
.pb-map-side p { color: var(--pb-text-muted); font-size: 16px; line-height: 1.6; margin: 0; }
.pb-map-side p b { color: var(--pb-ink); font-weight: 600; }
.pb-map-features {
  list-style: none; padding: 0; margin: 4px 0 8px;
  display: flex; flex-direction: column; gap: 8px;
}
.pb-map-features li { font-size: 15px; color: var(--pb-text); }
.pb-map-side .pb-btn { align-self: flex-start; }

.pb-map-wrap {
  position: relative;
  margin: 0;
  margin-left: 0;
}
.pb-map-wrap svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 6px 16px rgba(80,184,72,.12)); }
.pb-map-city {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.pb-map-pin {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--pb-green);
  border: 2.5px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
  position: relative;
}
.pb-map-pin::before {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid var(--pb-green);
  opacity: .35;
  animation: pb-pulse 2.4s var(--pb-ease-out) infinite;
}
.pb-map-pin.lg { width: 16px; height: 16px; background: var(--pb-yellow); border-width: 3px; }
.pb-map-pin.lg::before { border-color: var(--pb-yellow); }
.pb-map-label {
  font-family: var(--pb-font-display);
  font-weight: 600;
  font-size: 11px;
  color: var(--pb-ink);
  background: #fff;
  padding: 3px 8px;
  border-radius: 999px;
  box-shadow: var(--pb-shadow-sm);
  white-space: nowrap;
}

/* ============================================================
   MAP — voivodeship SVG
   ============================================================ */
.pb-poland-map {
  width: 100%;
  height: auto;
  max-width: 680px;
  display: block;
  margin: 0 auto;
}
.pb-voi {
  fill: var(--pb-green-50);
  stroke: var(--pb-green-600);
  stroke-width: 0.8;
  stroke-linejoin: round;
  transition: fill 200ms;
}
.pb-voi.hl { fill: var(--pb-green-100); }
.pb-city-pin .pulse-ring {
  animation: pb-pulse 2.4s var(--pb-ease-out) infinite;
  transform-box: fill-box;
  transform-origin: center;
}

/* ============================================================
   QUIZ
   ============================================================ */
.pb-quiz { padding: 36px 0 56px; background: var(--pb-surface-2); }
.pb-quiz-card {
  max-width: 660px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--pb-r-2xl);
  padding: 36px;
  box-shadow: var(--pb-shadow-md);
}
.pb-quiz-progress {
  display: flex;
  gap: 6px;
  margin-bottom: 24px;
}
.pb-quiz-progress .seg {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: var(--pb-line);
  transition: background var(--pb-dur-base);
}
.pb-quiz-progress .seg.on { background: var(--pb-green); }
.pb-quiz-step { font-size: 12px; color: var(--pb-text-muted); margin-bottom: 10px; }
.pb-quiz-q {
  font-family: var(--pb-font-display);
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 700;
  color: var(--pb-green);
  margin: 0 0 22px;
}
.pb-quiz-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}
.pb-quiz-options.cols-2 { grid-template-columns: repeat(2, 1fr); }
.pb-quiz-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 10px;
  border-radius: var(--pb-r-lg);
  border: 2px solid var(--pb-line);
  background: var(--pb-surface-2);
  cursor: pointer;
  transition: all var(--pb-dur-fast);
  font-family: var(--pb-font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--pb-text);
  text-align: center;
}
.pb-quiz-option:hover { border-color: var(--pb-green); background: var(--pb-green-50); }
.pb-quiz-option.on { border-color: var(--pb-green); background: var(--pb-green-100); color: var(--pb-green-700); }
.pb-quiz-option .emo {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  box-shadow: var(--pb-shadow-xs);
}
.pb-quiz-option .emo svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--pb-green-700);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pb-quiz-option.on .emo { background: var(--pb-green-50); }
.pb-quiz-option.on .emo svg { stroke: var(--pb-green-700); }
.pb-quiz-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  font-size: 12px;
  color: var(--pb-text-soft);
}
.pb-quiz-nav-phone {
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.pb-quiz-back {
  background: none;
  border: none;
  font-size: 13px;
  color: var(--pb-text-muted);
  cursor: pointer;
  padding: 4px 0;
  font-family: var(--pb-font-body);
}
.pb-quiz-phone-row { display: flex; gap: 10px; margin-bottom: 12px; }
.pb-quiz-phone-row .pb-input { flex: 1; }
.pb-quiz-done { text-align: center; padding: 20px 0; }
.pb-quiz-done .icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--pb-green);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 24px;
  margin: 0 auto 16px;
}

/* ============================================================
   ABOUT
   ============================================================ */
.pb-about {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.pb-about-img {
  height: 360px;
  border-radius: 56% 44% 52% 48% / 58% 50% 50% 42%;
  background-color: var(--pb-green-100); /* fallback if photo not loaded */
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.pb-about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}
.pb-about h2 {
  font-family: var(--pb-font-display);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  color: var(--pb-green);
  letter-spacing: var(--pb-tracking-tight);
  line-height: 1.1;
  margin: 0;
}
.pb-about p { font-size: 15px; color: var(--pb-text); line-height: 1.65; margin-top: 14px; }
.pb-about-checks { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-direction: column; gap: 10px; }
.pb-about-checks li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--pb-ink); }
.pb-about-checks .ck {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--pb-green);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
}

/* ============================================================
   MINI GAME
   ============================================================ */
.pb-game {
  background: var(--pb-green);
  color: #fff;
  padding: 64px 0 80px;
  position: relative;
  overflow: hidden;
}
.pb-game::before {
  content: '365';
  position: absolute;
  right: -40px;
  top: -20px;
  font-family: var(--pb-font-display);
  font-weight: 800;
  font-size: 260px;
  color: rgba(255,255,255,.07);
  line-height: 1;
  transform: rotate(-8deg);
  pointer-events: none;
}
.pb-game-head {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 28px;
  position: relative;
}
.pb-game h2 {
  font-family: var(--pb-font-display);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  letter-spacing: var(--pb-tracking-tight);
  margin: 0;
}
.pb-game .lead {
  font-size: 15px;
  color: rgba(255,255,255,.9);
  margin-top: 12px;
  max-width: 44ch;
  line-height: 1.5;
}
.pb-game-bubble-wrap { display: flex; align-items: flex-start; gap: 12px; padding-top: 4px; }
.pb-bubble {
  background: #fff;
  color: var(--pb-ink);
  padding: 14px 18px;
  border-radius: var(--pb-r-md);
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--pb-shadow-md);
  position: relative;
  line-height: 1.4;
  max-width: 300px;
}
.pb-bubble::before {
  content: '';
  position: absolute;
  left: -7px;
  top: 18px;
  width: 14px;
  height: 14px;
  background: #fff;
  transform: rotate(45deg);
  border-radius: 2px;
}
.pb-mascot {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  box-shadow: var(--pb-shadow-md);
  font-size: 22px;
  animation: pb-mascot-wave 2.2s ease-in-out 1s infinite;
  transform-origin: bottom center;
}
@keyframes pb-mascot-wave {
  0%,60%,100% { transform: rotate(0deg) scale(1); }
  15%,45%     { transform: rotate(18deg) scale(1.12); }
  30%         { transform: rotate(-10deg) scale(1.08); }
}
.pb-game-scene {
  position: relative;
  height: 300px;
  background: rgba(255,255,255,.08);
  border-radius: var(--pb-r-xl);
  padding: 20px;
  overflow: hidden;
}
.pb-game-scene::after {
  content: '';
  position: absolute;
  left: 6%; right: 6%; bottom: 16px;
  height: 14px;
  border-radius: 50%;
  background: rgba(0,0,0,.15);
  filter: blur(8px);
}
.pb-game-bin {
  position: absolute;
  left: 4%;
  bottom: 20px;
  width: 240px;
  height: 170px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  transition: transform var(--pb-dur-base) var(--pb-ease-out);
  z-index: 2;
}
.pb-game-bin.hot { transform: scale(1.05); }
.pb-game-bin svg { width: 100%; height: 100%; filter: drop-shadow(0 8px 14px rgba(0,0,0,.2)); }
.pb-game-bin-count {
  position: absolute;
  top: 0;
  right: -14px;
  background: var(--pb-yellow);
  color: var(--pb-ink);
  font-family: var(--pb-font-display);
  font-weight: 800;
  font-size: 14px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 2px solid #fff;
  box-shadow: var(--pb-shadow-sm);
}
.pb-game-pile { position: absolute; right: 3%; bottom: 10px; width: 50%; height: 270px; }
.pb-game-item {
  position: absolute;
  width: 72px;
  height: 72px;
  cursor: grab;
  user-select: none;
  transition: opacity 200ms, transform 200ms var(--pb-ease-out);
  filter: drop-shadow(0 5px 10px rgba(0,0,0,.2));
}
.pb-game-item:hover { transform: scale(1.08) rotate(0deg) !important; }
.pb-game-item:active { cursor: grabbing; }
.pb-game-item.gone { opacity: 0; pointer-events: none; transform: scale(.25) !important; }
.pb-game-item svg { width: 100%; height: 100%; }
.pb-game-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
  gap: 14px;
  flex-wrap: wrap;
}
.pb-game-counter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,0,0,.18);
  padding: 8px 16px;
  border-radius: 999px;
  font-family: var(--pb-font-display);
  font-weight: 700;
  font-size: 14px;
}
.pb-game-counter b { color: var(--pb-yellow); font-size: 17px; }
.pb-game-promo {
  background: var(--pb-yellow);
  color: var(--pb-ink);
  padding: 12px 20px;
  border-radius: var(--pb-r-md);
  font-family: var(--pb-font-display);
  font-weight: 700;
  display: none;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.pb-game-promo.show { display: inline-flex; animation: pb-pop 400ms var(--pb-ease-spring); }
.pb-game-promo .code {
  font-family: var(--pb-font-mono);
  background: rgba(0,0,0,.08);
  padding: 5px 10px;
  border-radius: 5px;
  letter-spacing: 2px;
  font-size: 13px;
}

/* ============================================================
   OPINIONS
   ============================================================ */
.pb-opinions-head { text-align: center; margin-bottom: 32px; }
.pb-rating {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  padding: 10px 18px;
  border-radius: var(--pb-r-pill);
  box-shadow: var(--pb-shadow-sm);
  margin-top: 12px;
}
.pb-rating .stars { color: var(--pb-yellow-600); font-size: 15px; letter-spacing: 2px; }
.pb-rating .score { font-family: var(--pb-font-display); font-weight: 800; font-size: 17px; color: var(--pb-ink); }
.pb-rating .src { font-size: 12px; color: var(--pb-text-muted); }
.pb-opinions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.pb-opinion {
  background: #fff;
  border-radius: var(--pb-r-lg);
  padding: 22px;
  box-shadow: var(--pb-shadow-sm);
  position: relative;
}
.pb-opinion-head { display: flex; align-items: center; gap: 12px; }
.pb-av {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--pb-green);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--pb-font-display);
  font-weight: 700;
  font-size: 14px;
}
.pb-opinion-name { font-family: var(--pb-font-display); font-weight: 600; font-size: 14px; color: var(--pb-ink); }
.pb-opinion-meta { font-size: 12px; color: var(--pb-text-muted); margin-top: 2px; }
.pb-opinion-stars { color: var(--pb-yellow-600); margin: 12px 0 8px; letter-spacing: 1px; font-size: 13px; }
.pb-opinion p { font-size: 14px; line-height: 1.55; color: var(--pb-text); margin: 0; }
.pb-opinion-g {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 22px;
  height: 22px;
}

/* ============================================================
   TRUST (realization bento)
   ============================================================ */
.pb-trust {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  height: 460px;
  /* Isolate stacking context so tile animations don't affect fixed FAB widget */
  isolation: isolate;
  contain: layout style;
}
@keyframes pb-trust-in {
  from { opacity: 0; transform: translateX(28px); }
  to   { opacity: 1; transform: translateX(0); }
}
.pb-trust.sliding .pb-trust-tile {
  animation: pb-trust-in 420ms ease-out both;
  will-change: transform, opacity;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.pb-trust.sliding .pb-trust-tile:nth-child(1) { animation-delay: 0ms; }
.pb-trust.sliding .pb-trust-tile:nth-child(2) { animation-delay: 60ms; }
.pb-trust.sliding .pb-trust-tile:nth-child(3) { animation-delay: 120ms; }
.pb-trust.sliding .pb-trust-tile:nth-child(4) { animation-delay: 180ms; }
.pb-trust.sliding .pb-trust-tile:nth-child(5) { animation-delay: 240ms; }
.pb-trust-tile {
  border-radius: var(--pb-r-lg);
  overflow: hidden;
  position: relative;
  background: var(--pb-green-100);
  grid-row: auto;
  grid-column: auto;
}
/* All tiles use background-image set via JS/inline style */
.pb-trust .pb-trust-tile { background-size: cover; background-position: center; }

/* Layout A (default) — big tile left */
.pb-trust .pb-trust-tile:nth-child(1) { grid-row: 1 / span 2; }
/* Layout B — big tile right (tile 5) */
.pb-trust.lb { grid-template-columns: 1fr 1fr 2fr; }
.pb-trust.lb .pb-trust-tile:nth-child(1) { grid-row: auto; }
.pb-trust.lb .pb-trust-tile:nth-child(5) { grid-row: 1 / span 2; grid-column: 3; }
/* Layout C — big tile middle (tile 3) */
.pb-trust.lc { grid-template-columns: 1fr 2fr 1fr; }
.pb-trust.lc .pb-trust-tile:nth-child(1) { grid-row: auto; }
.pb-trust.lc .pb-trust-tile:nth-child(3) { grid-row: 1 / span 2; grid-column: 2; }
.pb-trust-tile .tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: rgba(26,29,34,.8);
  color: #fff;
  padding: 5px 12px;
  border-radius: var(--pb-r-pill);
  font-size: 12px;
  font-weight: 600;
  z-index: 1;
}

/* ============================================================
   CONTACT SECTION (on homepage)
   ============================================================ */
.pb-home-contact {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 28px;
  align-items: stretch;
}
.pb-home-contact-form {
  background: #fff;
  border-radius: var(--pb-r-xl);
  padding: 28px;
  box-shadow: var(--pb-shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pb-home-contact-form h3 { font-family: var(--pb-font-display); font-size: 20px; font-weight: 700; color: var(--pb-ink); margin: 0; }
.pb-home-contact-form .sub { font-size: 13px; color: var(--pb-text-muted); margin: 0; }
.pb-home-contact-form form { display: flex; flex-direction: column; gap: 12px; }
.pb-home-contact-map {
  border-radius: var(--pb-r-xl);
  background: var(--pb-surface-2);
  position: relative;
  overflow: hidden;
  min-height: 340px;
}
.pb-home-contact-map svg { width: 100%; height: 100%; opacity: .3; }
.pb-contact-info-card {
  position: absolute;
  left: 20px;
  top: 20px;
  right: 20px;
  background: #fff;
  border-radius: var(--pb-r-lg);
  padding: 18px;
  box-shadow: var(--pb-shadow-md);
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 300px;
}
.pb-contact-info-row { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.pb-contact-info-row svg { width: 17px; height: 17px; color: var(--pb-green-700); flex-shrink: 0; margin-top: 2px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pb-contact-info-row b { color: var(--pb-ink); font-family: var(--pb-font-display); font-weight: 700; display: block; }
.pb-contact-info-row .l { color: var(--pb-text-muted); font-size: 12px; }

/* ============================================================
   FAQ (homepage)
   ============================================================ */
.pb-faq { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.pb-faq-item {
  background: #fff;
  border-radius: var(--pb-r-lg);
  border: 1.5px solid var(--pb-line-soft);
  overflow: hidden;
}
.pb-faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  cursor: pointer;
  font-family: var(--pb-font-display);
  font-weight: 600;
  font-size: 16px;
  color: var(--pb-ink);
  gap: 12px;
  user-select: none;
}
.pb-faq-chev {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--pb-green-100);
  color: var(--pb-green-700);
  display: grid;
  place-items: center;
  transition: transform var(--pb-dur-base), background var(--pb-dur-base);
}
.pb-faq-chev svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; }
.pb-faq-item.open .pb-faq-chev { transform: rotate(180deg); background: var(--pb-green); color: #fff; }
.pb-faq-a {
  height: 0;
  overflow: hidden;
  /* no padding here — padding on inner wrapper so height:0 fully collapses */
}
.pb-faq-a-inner {
  padding: 0 22px 20px;
  font-size: 14px;
  color: var(--pb-text);
  line-height: 1.6;
}

/* ============================================================
   RESPONSIVE — HOMEPAGE
   ============================================================ */
@media (max-width: 1024px) {
  .pb-services { grid-template-columns: repeat(2, 1fr); }
  .pb-usp-grid { grid-template-columns: repeat(2, 1fr); }
  .pb-game-head { grid-template-columns: 1fr; }
  .pb-game-bubble-wrap { display: none; }
}

/* USP — 1 column full-width on phones */
@media (max-width: 600px) {
  .pb-usp { overflow: hidden; }
  .pb-usp-grid { grid-template-columns: 1fr; gap: 10px; }
  .pb-usp-item { max-width: 100%; }
}

@media (max-width: 768px) {
  /* Hero — hide wycena button, keep phone */
  .pb-hero-cta .pb-btn-primary { display: none; }
  .pb-hero-inner { grid-template-columns: 1fr; gap: 28px; }
  .pb-hero-image { height: 220px; max-width: 100%; }
  .pb-hero h1 { font-size: 30px; }

  /* About */
  .pb-about { grid-template-columns: 1fr; gap: 28px; }
  .pb-about-img { height: 220px; }

  /* Numbers — stack vertically on mobile */
  .pb-numbers { grid-template-columns: 1fr; }
  .pb-number { padding: 20px 16px; }
  .pb-number .n { font-size: 42px; }

  /* Trust — all 3 layouts collapse to 2-col on mobile */
  .pb-trust,
  .pb-trust.lb,
  .pb-trust.lc {
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: auto !important;
    height: auto;
  }
  .pb-trust .pb-trust-tile,
  .pb-trust.lb .pb-trust-tile,
  .pb-trust.lc .pb-trust-tile {
    grid-row: auto !important;
    grid-column: auto !important;
    height: 160px;
  }
  /* First tile always spans full width */
  .pb-trust .pb-trust-tile:nth-child(1),
  .pb-trust.lb .pb-trust-tile:nth-child(1),
  .pb-trust.lc .pb-trust-tile:nth-child(1) {
    grid-column: 1 / span 2 !important;
    height: 200px !important;
  }

  /* Contact */
  .pb-home-contact { grid-template-columns: 1fr; }

  /* Quiz */
  .pb-quiz-options { grid-template-columns: repeat(2, 1fr); }

  /* Reviews marquee - narrower cards */
  .m-review-card { width: 280px; }

  /* Minigame — stack vertically: items top, bin bottom */
  .pb-game-scene {
    height: auto;
    min-height: 0;
    display: flex;
    flex-direction: column-reverse;
    gap: 16px;
    overflow: hidden;
  }
  .pb-game-scene::after { display: none; }
  .pb-game-pile {
    position: static;
    width: 100%;
    height: 160px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px;
  }
  .pb-game-item {
    position: static;
    width: 62px;
    height: 62px;
    transform: none;
    filter: none;
    cursor: grab;
    -webkit-tap-highlight-color: transparent;
    touch-action: none; /* allow custom touch drag without browser scroll */
  }
  .pb-game-bin {
    position: relative;  /* keep relative so bin-count positions to it */
    width: 180px;
    height: 130px;
    margin: 0 auto;
  }
  .pb-game-bin-count { top: -4px; right: -4px; position: absolute; }
}

@media (max-width: 480px) {
  .pb-services { grid-template-columns: 1fr; }
  .pb-usp-grid { grid-template-columns: 1fr; }
  .pb-hero h1 { font-size: 26px; }
  .pb-quiz-options { grid-template-columns: 1fr 1fr; }
  .pb-map-wrap { max-width: 100%; }
  .pb-map-section { grid-template-columns: 1fr; gap: 24px; }
  .pb-map-side { text-align: center; }
  .pb-map-side .pb-btn { align-self: center; }
  .pb-map-features { align-items: center; }
  .pb-section { padding: 48px 0; }
  .pb-section.tight-top, .pb-section.tight-bottom { padding: 32px 0; }
  .pb-game::before { display: none; } /* remove big "365" watermark on mobile */
}
