/* ==========================================================================
   FUNNELVALLEY — Services Page
   ========================================================================== */

/* ── Service Sections ─────────────────────────────────────────────────── */
.service-section {
  padding: var(--section-padding) 0;
}

.service-section--alt {
  background: var(--white);
}

/* Service Header — number + icon left, text right */
.service__header {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2xl);
  margin-bottom: var(--space-3xl);
}

.service__badge {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.service__number {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--gold-primary);
  line-height: 1;
  letter-spacing: var(--tracking-tight);
}

.service__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-subtle);
  border-radius: var(--radius-md);
}

.service__icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--gold-primary);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service__intro {
  flex: 1;
}

.service__title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, var(--text-3xl));
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
  line-height: var(--leading-snug);
}

.service__description {
  font-size: var(--text-md);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  max-width: 640px;
}

/* ── Three-Column Detail Grid ─────────────────────────────────────────── */
.service__details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2xl);
}

.service__detail-col {
  background: var(--bg);
  border: 1px solid var(--border);
  border-top: 2px solid var(--gold-primary);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.service-section--alt .service__detail-col {
  background: var(--bg);
}

.service__detail-col:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.service__detail-heading {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--border);
}

.service__detail-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.service__detail-list li {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-normal);
  padding-left: var(--space-lg);
  position: relative;
}

.service__detail-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-primary);
}

/* Column-specific bullet colors for visual hierarchy */
.service__detail-col--challenges .service__detail-list li::before {
  background: var(--text-tertiary);
}

.service__detail-col--deliverables .service__detail-list li::before {
  background: var(--gold-primary);
}

.service__detail-col--outcomes .service__detail-list li::before {
  background: var(--gold-accent);
}

/* ── CTA Section ──────────────────────────────────────────────────────── */
.services-cta {
  background: var(--dark);
  padding: var(--section-padding) 0;
  text-align: center;
}

.services-cta__inner {
  max-width: var(--container-narrow);
  margin: 0 auto;
}

.services-cta__title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, var(--text-3xl));
  font-weight: 700;
  color: var(--text-inverse);
  margin-bottom: var(--space-lg);
}

.services-cta__text {
  font-size: var(--text-md);
  color: #aaa;
  line-height: var(--leading-relaxed);
  max-width: 560px;
  margin: 0 auto var(--space-2xl);
}

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 992px) {
  .service__details {
    grid-template-columns: 1fr 1fr;
  }

  .service__details .service__detail-col:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .service__header {
    flex-direction: column;
    gap: var(--space-lg);
  }

  .service__badge {
    flex-direction: row;
    align-items: center;
  }

  .service__details {
    grid-template-columns: 1fr;
  }

  .service__details .service__detail-col:last-child {
    grid-column: auto;
  }

  .service__detail-col {
    padding: var(--space-lg);
  }
}
