.pc-calc-section {
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.pc-calc {
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 1.25rem;
  padding: 1.75rem;
  backdrop-filter: blur(12px);
}

.pc-calc--hub {
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.28);
}

.pc-calc__section {
  margin-bottom: 1.5rem;
}

.pc-calc__label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #93c5fd;
  margin-bottom: 0.85rem;
}

.pc-calc__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
}

.pc-calc__option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  padding: 1.1rem 0.75rem;
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(15, 23, 42, 0.35);
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  color: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
}

.pc-calc__option-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(99, 102, 241, 0.2);
  background: rgba(99, 102, 241, 0.1);
  color: #a5b4fc;
}

.pc-calc__option:hover {
  border-color: rgba(99, 102, 241, 0.38);
  background: rgba(99, 102, 241, 0.08);
  transform: translateY(-2px);
}

.pc-calc__option.is-active {
  border-color: rgba(99, 102, 241, 0.55);
  background: rgba(99, 102, 241, 0.14);
  box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.35) inset;
}

.pc-calc__option.is-active .pc-calc__option-icon {
  color: #c7d2fe;
  border-color: rgba(129, 140, 248, 0.45);
  background: rgba(99, 102, 241, 0.18);
}

.pc-calc__result {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 1.25rem 1.35rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(6, 182, 212, 0.08));
  border: 1px solid rgba(99, 102, 241, 0.22);
  margin-bottom: 1.25rem;
}

.pc-calc__result-label {
  font-size: 0.9rem;
  color: #94a3b8;
}

.pc-calc__result-price {
  font-size: 1.65rem;
  font-weight: 800;
  color: #a5b4fc;
  font-family: var(--font-space-grotesk, system-ui, sans-serif);
}

.pc-calc__result-note {
  width: 100%;
  font-size: 0.75rem;
  color: #64748b;
  margin: 0;
}

.pc-calc__cta {
  display: block;
  text-align: center;
  padding: 0.95rem 1rem;
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  color: #fff;
  border-radius: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pc-calc__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(99, 102, 241, 0.32);
  color: #fff;
}

.forwho-card {
  position: relative;
  overflow: hidden;
  text-align: left;
  text-decoration: none;
  background-color: rgba(15, 23, 42, 0.35);
  min-height: 17.5rem;
  cursor: pointer;
}

.forwho-card__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.forwho-card:hover .forwho-card__bg {
  transform: scale(1.1);
}

.forwho-card:hover {
  border-color: rgba(99, 102, 241, 0.45);
}

@media (prefers-reduced-motion: reduce) {
  .forwho-card__bg {
    transition: none;
  }

  .forwho-card:hover .forwho-card__bg {
    transform: scale(1);
  }
}

.forwho-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(155deg, rgba(15, 23, 42, 0.58) 0%, rgba(15, 23, 42, 0.42) 48%, rgba(15, 23, 42, 0.55) 100%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1));
}

.forwho-card__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.forwho-card__profession {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: #bfdbfe;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.5rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.forwho-card__headline {
  display: block;
  font-size: 1.125rem;
  font-weight: 700;
  font-family: var(--font-space-grotesk, system-ui, sans-serif);
  color: #fff;
  margin-bottom: 0.5rem;
  line-height: 1.35;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

.forwho-card__desc {
  display: block;
  font-size: 0.875rem;
  color: #e2e8f0;
  line-height: 1.65;
  flex: 1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

html.pc-light .pc-calc {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
}

html.pc-light .pc-calc__option {
  background: #f8fafc;
  border-color: #e2e8f0;
  color: #0f172a;
}

html.pc-light .pc-calc__option:hover,
html.pc-light .pc-calc__option.is-active {
  background: rgba(99, 102, 241, 0.06);
}

html.pc-light .pc-calc__result-label,
html.pc-light .pc-calc__result-note {
  color: #64748b;
}

html.pc-light .forwho-card {
  background-color: rgba(248, 250, 252, 0.5);
}

html.pc-light .forwho-card__overlay {
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.78) 0%, rgba(255, 255, 255, 0.62) 50%, rgba(248, 250, 252, 0.72) 100%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.16));
}

html.pc-light .forwho-card__profession {
  color: #2563eb;
  text-shadow: none;
}

html.pc-light .forwho-card__headline {
  color: #0f172a;
  text-shadow: none;
}

html.pc-light .forwho-card__desc {
  color: #334155;
  text-shadow: none;
}

.case-results {
  margin-top: 2rem;
}

.case-results__title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1rem;
  font-family: var(--font-space-grotesk, system-ui, sans-serif);
}

.case-results__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
}

.case-results__item {
  padding: 1.25rem 1rem;
  border-radius: 16px;
  text-align: center;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(6, 182, 212, 0.06));
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.case-results__metric {
  font-size: 1.75rem;
  font-weight: 800;
  color: #818cf8;
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.case-results__label {
  font-size: 0.8rem;
  color: #94a3b8;
  line-height: 1.4;
}

.pc-audit-result {
  margin-top: 1.25rem;
}

.pc-audit-score {
  text-align: center;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.pc-audit-summary {
  font-size: 0.875rem;
  line-height: 1.6;
  color: #94a3b8;
  margin-bottom: 1rem;
}

.pc-audit-issues {
  font-size: 0.85rem;
  line-height: 1.8;
  padding-left: 0;
  list-style: none;
}

.pc-audit-cta {
  display: block;
  text-align: center;
  margin-top: 1rem;
}

.pc-audit-error {
  color: #ef4444;
  font-size: 0.875rem;
}

/* Lista branż pod hero (alfabetyczna, rozwijana) */
.pc-home-prof {
  position: relative;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(99, 102, 241, 0.14), transparent 55%),
    transparent;
}

.pc-home-prof__shell {
  max-width: 52rem;
  margin: 0 auto;
}

.pc-home-prof__toggle {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.95rem 1.15rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(15, 23, 42, 0.72);
  color: #f8fafc;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.pc-home-prof__toggle:hover,
.pc-home-prof__toggle:focus-visible {
  border-color: rgba(99, 102, 241, 0.55);
  outline: none;
}

.pc-home-prof__toggle-ico {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.pc-home-prof__toggle[aria-expanded='true'] .pc-home-prof__toggle-ico {
  transform: rotate(180deg);
}

.pc-home-prof__desktop-hint {
  display: none;
  margin: 0 0 0.85rem;
  color: #94a3b8;
  font-size: 0.875rem;
  text-align: center;
}

.pc-home-prof__panel {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.25s ease, margin 0.25s ease;
  margin-top: 0;
}

.pc-home-prof__panel.is-open {
  max-height: 48rem;
  opacity: 1;
  margin-top: 0.75rem;
  overflow: auto;
}

.pc-home-prof__list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.35rem;
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(15, 23, 42, 0.55);
}

.pc-home-prof__row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.85rem;
  border-radius: 0.75rem;
  color: inherit;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.pc-home-prof__row:hover,
.pc-home-prof__row:focus-visible {
  background: rgba(99, 102, 241, 0.12);
  border-color: rgba(99, 102, 241, 0.35);
  outline: none;
  transform: translateX(2px);
}

.pc-home-prof__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(99, 102, 241, 0.35);
  background: rgba(99, 102, 241, 0.14);
  color: #a5b4fc;
  flex-shrink: 0;
}

.pc-home-prof__label {
  flex: 1;
  min-width: 0;
  font-weight: 600;
  font-size: 0.92rem;
  color: #e2e8f0;
}

.pc-home-prof__chev {
  color: #64748b;
  font-size: 0.85rem;
}

@media (min-width: 768px) {
  .pc-home-prof__toggle {
    display: none;
  }

  .pc-home-prof__desktop-hint {
    display: block;
  }

  .pc-home-prof__panel {
    max-height: none !important;
    opacity: 1 !important;
    overflow: visible;
    margin-top: 0;
  }

  .pc-home-prof__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    padding: 0.75rem;
  }
}

@media (min-width: 1100px) {
  .pc-home-prof__shell {
    max-width: 64rem;
  }

  .pc-home-prof__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

html.pc-light .pc-home-prof__toggle,
html.pc-light .pc-home-prof__list {
  background: #fff;
  border-color: rgba(15, 23, 42, 0.12);
  color: #0f172a;
}

html.pc-light .pc-home-prof__label {
  color: #0f172a;
}

html.pc-light .pc-home-prof__icon {
  background: rgba(79, 70, 229, 0.08);
  border-color: rgba(79, 70, 229, 0.22);
  color: #4f46e5;
}

html.pc-light .pc-home-prof__row:hover,
html.pc-light .pc-home-prof__row:focus-visible {
  background: rgba(79, 70, 229, 0.06);
  border-color: rgba(79, 70, 229, 0.25);
}

html.pc-light .pc-home-prof__desktop-hint {
  color: #64748b;
}

/* Slider kafelków „Dla kogo” */
.forwho-slider {
  position: relative;
}

.forwho-slider__viewport {
  overflow: hidden;
  padding: 0.35rem 0 0.5rem;
}

.forwho-slider__track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  padding-bottom: 0.25rem;
  touch-action: pan-x pan-y;
}

.forwho-slider__track::-webkit-scrollbar {
  display: none;
}

.forwho-slider__slide {
  flex: 0 0 86%;
  scroll-snap-align: start;
  min-width: 0;
}

@media (min-width: 640px) {
  .forwho-slider__slide {
    flex-basis: calc(50% - 0.5rem);
  }
}

@media (min-width: 1024px) {
  .forwho-slider__slide {
    flex-basis: calc(33.333% - 0.67rem);
  }
}

.forwho-slider__slide .forwho-card {
  min-height: 18rem;
}

.forwho-slider__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.15rem;
}

.forwho-slider__btn {
  width: 2.15rem !important;
  height: 2.15rem !important;
}

.forwho-slider__dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  max-width: 70%;
}

.forwho-slider__dot {
  width: 0.5rem;
  height: 0.5rem;
  padding: 0;
  border: 0;
  border-radius: 9999px;
  background: rgba(148, 163, 184, 0.45);
  cursor: pointer;
}

.forwho-slider__dot.is-on {
  background: #818cf8;
  transform: scale(1.2);
}

html.pc-light .forwho-slider .pc-hero-slidenav__btn {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(148, 163, 184, 0.45);
  color: #334155;
}

html.pc-light .forwho-slider__dot {
  background: rgba(148, 163, 184, 0.5);
}

html.pc-light .forwho-slider__dot.is-on {
  background: #4f46e5;
}

@media (prefers-reduced-motion: reduce) {
  .forwho-slider__track {
    scroll-behavior: auto;
  }
  .pc-home-prof__card {
    transition: none;
  }
  .pc-home-prof__card:hover {
    transform: none;
  }
}
