/* ============================================
   SERVICE PAGES — Viewport-Contained Layout
   ============================================ */

.service-main {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================
   SERVICE HERO (full viewport)
   ============================================ */

.service-hero {
  text-align: center;
  padding: var(--space-8);
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.service-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-brick);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: var(--space-6);
  animation: fadeUp 0.8s var(--ease-out-expo) 0.1s both;
}

.service-headline {
  font-family: 'Bricap', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--color-text-primary);
  margin-bottom: var(--space-6);
  animation: fadeUp 0.8s var(--ease-out-expo) 0.2s both;
}

.service-headline em {
  font-style: italic;
  color: var(--color-brick);
}

.service-subheadline {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto var(--space-8);
  animation: fadeUp 0.8s var(--ease-out-expo) 0.35s both;
}

/* ============================================
   SERVICE PILLS (feature tags)
   ============================================ */

.service-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2);
  margin-bottom: var(--space-8);
  max-width: 600px;
  animation: fadeUp 0.8s var(--ease-out-expo) 0.45s both;
}

.service-pill {
  padding: 0.35rem 0.9rem;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
  border: 1px solid rgba(91, 91, 91, 0.15);
  border-radius: var(--radius-full);
  white-space: nowrap;
  transition: all var(--transition-base);
}

.service-pill:hover {
  border-color: var(--color-brick);
  color: var(--color-brick);
}

.service-hero .hero-actions {
  animation: fadeUp 0.8s var(--ease-out-expo) 0.55s both;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
  .service-hero {
    padding: var(--space-6) var(--space-4);
  }

  .service-headline {
    font-size: clamp(1.6rem, 6vw, 2.5rem);
  }

  .service-subheadline {
    margin-bottom: var(--space-6);
  }

  .service-pills {
    margin-bottom: var(--space-6);
  }

  .service-hero .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 300px;
  }

  .service-hero .hero-actions .btn-primary,
  .service-hero .hero-actions .btn-ghost {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .service-hero {
    padding: var(--space-4) var(--space-3);
  }

  .service-headline br {
    display: none;
  }

  .service-pill {
    font-size: clamp(0.6rem, 2.5vw, 0.7rem);
    padding: 0.25rem 0.6rem;
  }
}
