/* ==========================================================================
   Feature zig-zag rows
   ========================================================================== */
.fp-features {
  padding: var(--fp-space-section) 0;
  background: var(--fp-white);
}
.fp-features__intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--fp-space-lg);
}
.fp-features__intro .fp-section-title {
  margin-bottom: 0;
}
.fp-feature-row__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--fp-radius);
  background: linear-gradient(135deg, rgba(var(--fp-accent-rgb), 0.26), rgba(var(--fp-brand-rgb), 0.12));
  color: var(--fp-black);
  border: 1px solid rgba(var(--fp-accent-rgb), 0.28);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 16px;
}
.fp-feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--fp-space-lg);
  align-items: center;
  margin-bottom: var(--fp-space-section);
}
.fp-feature-row:last-child {
  margin-bottom: 0;
}
.fp-feature-row--reverse {
  direction: rtl;
}
.fp-feature-row--reverse > * {
  direction: ltr;
}
.fp-feature-row__image {
  position: relative;
}
.fp-feature-row__image::after {
  content: '';
  position: absolute;
  inset: -12px;
  border: 1px solid rgba(var(--fp-brand-rgb), 0.16);
  border-radius: 14px;
  z-index: -1;
}
.fp-feature-row__image img {
  width: 100%;
  height: auto;
  border-radius: var(--fp-radius);
  box-shadow: 0 24px 48px rgba(var(--fp-shadow-rgb), 0.14);
  object-fit: contain;
  transition: transform 0.3s ease;
}
.fp-feature-row:hover .fp-feature-row__image img {
  transform: translateY(-4px);
}
.fp-feature-row__content h3 {
  font-size: 1.75rem;
  color: var(--fp-black);
}
.fp-feature-row__content p {
  color: var(--fp-text-muted);
  margin-bottom: 24px;
}

@media (max-width: 780px) {
  .fp-feature-row,
  .fp-feature-row--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: var(--fp-space-md);
  }

  .fp-feature-row__image img {
    max-height: none;
    aspect-ratio: auto;
  }
}
