.firmowe-hero {
  position: relative;
  padding-top: calc(var(--space-3xl) + var(--space-xl));
}

.firmowe-hero-inner {
  position: relative;
}

.firmowe-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 0, rgba(47, 107, 255, 0.4) 0, transparent 55%), radial-gradient(circle at 90% 100%, rgba(255, 51, 102, 0.4) 0, transparent 55%);
  opacity: 0.6;
  pointer-events: none;
}

.firmowe-hero-inner {
  position: relative;
  z-index: var(--z-base);
}

.firmowe-hero-content {
  max-width: 40rem;
}

.firmowe-hero-meta {
  margin-bottom: var(--space-lg);
}

.firmowe-hero-cta .btn {
  max-width: 100%;
}

.firmowe-cta-main {
  min-width: 0;
}

.firmowe-cta-secondary {
  min-width: 0;
}

.firmowe-hero-note {
  font-size: var(--text-sm);
}

.firmowe-hero-media {
  align-self: stretch;
}

.firmowe-hero-figure {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-border-strong);
  box-shadow: var(--shadow-strong);
  background: radial-gradient(circle at 0 0, rgba(47, 107, 255, 0.3) 0, transparent 55%);
}

.firmowe-hero-image {
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: cover;
}

.firmowe-offer-layout {
  min-width: 0;
}

.flex-offer-responsive {
  flex-direction: column;
}

.firmowe-offer-main {
  padding: var(--space-2xl);
}

.firmowe-offer-text {
  min-width: 0;
}

.firmowe-offer-media {
  min-width: 0;
}

.firmowe-offer-figure {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border-subtle);
  background: var(--color-bg-soft);
}

.firmowe-offer-image {
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: cover;
}

.firmowe-offer-grid {
  margin-top: var(--space-xl);
}

.firmowe-offer-card {
  height: 100%;
}

.firmowe-offer-bottom {
  border-radius: var(--radius-lg);
}

.firmowe-offer-bottom-inner {
  min-width: 0;
}

.firmowe-flow-layout {
  min-width: 0;
}

.flex-flow-responsive {
  flex-direction: column;
}

.firmowe-flow-media {
  min-width: 0;
}

.firmowe-flow-figure {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border-subtle);
  background: var(--color-bg-soft);
}

.firmowe-flow-image {
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: cover;
}

.firmowe-flow-steps {
  min-width: 0;
}

.firmowe-flow-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.firmowe-flow-step {
  padding: var(--space-lg);
  border-radius: var(--radius-card);
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border-subtle);
  box-shadow: var(--shadow-subtle);
}

.firmowe-flow-step-header {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-sm);
}

.firmowe-flow-step-number {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  letter-spacing: var(--letter-wide);
  color: var(--color-text-muted);
}

.firmowe-flow-step h3 {
  margin: 0;
  font-size: var(--text-lg);
}

.firmowe-flow-cta {
  border-radius: var(--radius-lg);
}

.firmowe-why-layout {
  gap: var(--space-lg);
}

.firmowe-why-card {
  min-width: 0;
}

.firmowe-why-bottom {
  margin-top: var(--space-2xl);
}

.firmowe-why-bottom .btn-group .btn {
  max-width: 100%;
}

@media (min-width: 768px) {
  .firmowe-hero-content {
    max-width: 32rem;
  }
  .flex-offer-responsive {
    flex-direction: row;
    align-items: center;
  }
  .flex-flow-responsive {
    flex-direction: row-reverse;
    align-items: center;
  }
}

@media (max-width: 767.98px) {
  .firmowe-hero {
    padding-top: var(--space-3xl);
  }
  .firmowe-hero-figure {
    margin-top: var(--space-2xl);
  }
  .firmowe-offer-main {
    padding: var(--space-xl);
  }
  .firmowe-flow-step {
    padding: var(--space-md);
  }
}

@media (max-width: 479.98px) {
  .firmowe-hero-main-cta {
    width: 100%;
  }
  .firmowe-offer-main {
    padding: var(--space-lg);
  }
}
