/* ============================================
   AI & Automation — Solutions page
   Problem → Solution → Benefit blocks
   ============================================ */

/* --- Intro --- */
.ai-intro__title {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-md);
}

.ai-intro__text {
  font-size: var(--text-lg);
  color: var(--color-body);
  line-height: var(--leading-relaxed);
}

/* --- Solution block header --- */
.solution-block__head {
  max-width: 720px;
  margin: 0 auto var(--space-3xl);
  text-align: center;
}

.solution-block__icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent-light);
  border-radius: var(--radius-lg);
  color: var(--color-accent);
  margin: 0 auto var(--space-lg);
}

.solution-block__title {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-md);
}

.solution-block__summary {
  font-size: var(--text-lg);
  color: var(--color-body);
  line-height: var(--leading-relaxed);
}

/* --- Problem / Solution two-column --- */
.solution-block__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: stretch;
}

.solution-block__grid--reverse {
  direction: rtl;
}

.solution-block__grid--reverse > * {
  direction: ltr;
}

.solution-block__panel {
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-card);
}

.solution-block__panel--problem {
  border-top: 3px solid var(--color-border);
}

.solution-block__panel--solution {
  border-top: 3px solid var(--color-accent);
}

.solution-block__label {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-lg);
}

.solution-block__panel--problem .solution-block__label {
  color: var(--color-muted);
}

/* Problem list */
.solution-block__problems {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.solution-block__problems li {
  position: relative;
  padding-left: var(--space-lg);
  font-size: var(--text-base);
  color: var(--color-body);
  line-height: var(--leading-relaxed);
}

.solution-block__problems li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 7px;
  height: 7px;
  border-radius: var(--radius-full);
  background: var(--color-border);
}

/* Solution numbered steps */
.solution-block__steps {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.solution-block__steps li {
  position: relative;
  padding-left: calc(var(--space-xl) + var(--space-sm));
  font-size: var(--text-base);
  color: var(--color-heading);
  line-height: var(--leading-relaxed);
  min-height: 32px;
  display: flex;
  align-items: center;
}

.solution-block__steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent);
  color: var(--color-white);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  border-radius: var(--radius-full);
}

/* --- Benefit chips --- */
.solution-block__benefits {
  margin-top: var(--space-2xl);
  text-align: center;
}

.solution-block__benefit-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
}

.solution-benefit {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 0.6rem 1.25rem;
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-accent);
  background: var(--color-accent-light);
  border-radius: var(--radius-full);
}

.solution-benefit svg {
  flex-shrink: 0;
}

/* --- How it works steps --- */
.how-step {
  position: relative;
  text-align: center;
}

.how-step__num {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  color: var(--color-border-light);
  line-height: 1;
}

.how-step .card__icon {
  margin-left: auto;
  margin-right: auto;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .solution-block__grid,
  .solution-block__grid--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: var(--space-lg);
  }
}
