/* ============================================
   Service cards
   ============================================ */
.service-card {
  --card-glow: 233, 144, 78; /* default orange RGB; overridden per card */
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  /* Return-to-rest: snappy, no delay */
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0s,
              box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0s,
              border-color 0.5s ease 0s;
  display: flex;
  flex-direction: column;
  position: relative;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  will-change: transform;
}

/* Hover-in: soft delayed fade-in */
.service-card:hover,
.service-card:focus-visible {
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1) 0.12s,
              box-shadow 0.7s cubic-bezier(0.4, 0, 0.2, 1) 0.12s,
              border-color 0.7s ease 0.12s;
}

.service-card--orange { --card-glow: 233, 144, 78; }
.service-card--purple { --card-glow: 105, 78, 183; }
.service-card--blue   { --card-glow: 78, 167, 233; }

.service-card__accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 1;
  transition: height 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0s;
}

.service-card__accent--orange { background: var(--orange); }
.service-card__accent--purple { background: var(--purple); }
.service-card__accent--blue   { background: var(--blue); }
.service-card:hover .service-card__accent {
  transition: height 0.7s cubic-bezier(0.4, 0, 0.2, 1) 0.12s;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow:
    0 30px 60px -20px rgba(0, 0, 0, 0.55),
    0 18px 30px -18px rgba(var(--card-glow), 0.45);
  border-color: rgba(var(--card-glow), 0.35);
}

.service-card:hover .service-card__accent { height: 6px; }

.service-card__icon {
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0s;
}
.service-card:hover .service-card__icon {
  transform: scale(1.08) rotate(-3deg);
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1) 0.12s;
}

.service-card .card__link {
  transition: gap 0.4s ease 0s, color 0.4s ease 0s;
}
.service-card:hover .card__link {
  gap: 0.85rem;
  transition: gap 0.6s ease 0.12s, color 0.6s ease 0.12s;
}

@media (prefers-reduced-motion: reduce) {
  .service-card,
  .service-card__accent,
  .service-card__icon,
  .service-card .card__link {
    transition: none;
  }
  .service-card:hover { transform: none; }
  .service-card:hover .service-card__icon { transform: none; }
}

.service-card__body {
  padding: calc(2rem + 3px) 2rem 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.service-card__title {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.service-card__desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.72;
  margin-bottom: 1.5rem;
  max-width: none;
  flex: 1;
}

.service-card__features {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.75rem;
}

.service-card__features--spaced { margin-top: 1.25rem; }

.service-card__feature {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.83rem;
  color: var(--text-muted);
}

.service-card__feature i {
  color: var(--orange);
  font-size: 0.65rem;
  width: 10px;
}

/* ============================================
   Feature List (Service Pages)
   ============================================ */
.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: border-color var(--ease);
}

.feature-item:hover { border-color: rgba(233, 144, 78, 0.2); }

.feature-item__icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: var(--r-sm);
  background: var(--orange-glow);
  border: 1px solid rgba(233, 144, 78, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  font-size: 0.9rem;
}

.feature-item__title {
  font-size: 0.93rem;
  margin-bottom: 0.35rem;
}

.feature-item__body {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: none;
}

/* ============================================
   Tech Badges
   ============================================ */
.tech-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.tech-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: all var(--ease);
}

.tech-badge:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: rgba(78, 167, 233, 0.05);
}

/* ============================================
   Process Steps (ai.html, websites.html)
   ============================================ */
.process-step { text-align: center; }

.process-step__num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.process-step__num--purple {
  background: rgba(105, 78, 183, 0.12);
  border: 1px solid rgba(105, 78, 183, 0.30);
  color: var(--purple);
}

.process-step__num--orange {
  background: var(--orange-glow);
  border: 1px solid rgba(233, 144, 78, 0.25);
  color: var(--orange);
}

.process-step__title { margin-bottom: 0.5rem; }

.process-step__desc {
  color: var(--text-muted);
  font-size: 0.85rem;
  max-width: none;
}

/* Methodology lede paragraph (software.html) */
.methodology-lede {
  color: var(--text-muted);
  max-width: 55ch;
  margin: 0 auto;
}
