/* ── Services: Hero ─────────────────────────────────────── */
.services-hero {
  padding-top: var(--space-xl);
  padding-bottom: var(--space-lg);
}

.services-hero h1 {
  max-width: 18ch;
  margin-top: var(--space-sm);
}

.services-hero .lead {
  margin-top: var(--space-sm);
  max-width: 55ch;
}

/* ── Services: Section ─────────────────────────────────── */
.service-section {
  padding-block: var(--space-xl);
  border-top: 1px solid var(--color-border);
}

.service-section__header {
  margin-bottom: var(--space-md);
}

.service-section__number {
  font-family: var(--font-mono);
  font-size: var(--text-eyebrow);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-accent);
  display: block;
  margin-bottom: var(--space-xs);
}

.service-section h2 {
  margin-bottom: var(--space-sm);
}

.service-section__description {
  max-width: 60ch;
  margin-bottom: var(--space-md);
}

.service-section__capabilities {
  display: grid;
  gap: 0.75rem;
}

.service-section__capabilities li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: var(--text-body);
  color: var(--color-secondary);
  line-height: 1.5;
}

.service-section__capabilities li::before {
  content: '';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 3px;
  border-radius: 50%;
  background: rgba(21, 115, 252, 0.1);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231573FC' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 11px;
}

/* Alternating layout */
.service-section:nth-child(even) .grid--60-40 {
  grid-template-columns: 1fr 1.5fr;
}

.service-section:nth-child(even) .service-section__text {
  order: 2;
}

.service-section:nth-child(even) .service-section__visual {
  order: 1;
}

@media (max-width: 768px) {
  .service-section:nth-child(even) .service-section__text,
  .service-section:nth-child(even) .service-section__visual {
    order: unset;
  }
}

/* ── Logo Bands ────────────────────────────────────────── */
.logo-band {
  padding-block: var(--space-lg);
  border-top: 1px solid var(--color-border);
}

.dark-section.logo-band {
  border-top: none;
}

.dark-section.logo-band .eyebrow {
  color: rgba(255, 255, 255, 0.45);
}

.logo-band .section-header--center {
  margin-bottom: var(--space-md);
}

.logo-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(2rem, 3vw + 1rem, 4.5rem);
  flex-wrap: wrap;
}

.logo-row__item {
  height: 36px;
  opacity: 0.55;
  transition: opacity var(--duration-base) var(--ease-out);
  flex-shrink: 0;
}

.logo-row__item:hover {
  opacity: 0.85;
}

.logo-row__item img {
  height: 100%;
  width: auto;
  display: block;
  object-fit: contain;
}

/* Greyscale filter for client logos on light bg */
.logo-row--greyscale .logo-row__item {
  filter: grayscale(100%);
}

.logo-row--greyscale .logo-row__item:hover {
  filter: grayscale(0%);
  opacity: 0.85;
}

/* Partner logos — slightly taller */
.logo-row--partners .logo-row__item {
  height: 48px;
  opacity: 0.7;
}

.logo-row--partners .logo-row__item:hover {
  opacity: 1;
}

/* Dark section overrides */
.dark-section .logo-row__item {
  opacity: 0.6;
  filter: brightness(0) invert(1);
}

.dark-section .logo-row__item:hover {
  opacity: 0.9;
}

@media (max-width: 768px) {
  .logo-row {
    gap: 2rem;
  }

  .logo-row__item {
    height: 28px;
  }

  .logo-row--partners .logo-row__item {
    height: 40px;
  }
}
