/* Shared service pages — theme 2026 (web + emarketing). */

.service-main {
  position: relative;
  z-index: 1;
}

/* Hero */
.service-hero {
  min-height: calc(100svh - 4.5rem);
  display: flex;
  align-items: center;
  padding-top: clamp(2rem, 8vh, 5rem);
  padding-bottom: clamp(4rem, 12vh, 7rem);
  background: transparent;
}

.service-hero__copy {
  position: relative;
  padding: 1.35rem 1.2rem;
  background:
    radial-gradient(
      ellipse 140% 120% at 22% 40%,
      color-mix(in srgb, var(--c-night) 72%, transparent) 0%,
      color-mix(in srgb, var(--c-night) 42%, transparent) 42%,
      color-mix(in srgb, var(--c-night) 12%, transparent) 72%,
      transparent 100%
    );
}

.service-hero__heading {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.35rem;
}

.service-hero__title {
  margin: 0;
}

.service-hero .eyebrow {
  font-size: 0.95rem;
  font-weight: 560;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--page-muted);
}

.service-hero .headline {
  display: block;
  font-size: clamp(2.1rem, 5.5vw, 3.4rem);
  font-weight: 680;
  letter-spacing: -0.04em;
  line-height: 1.1;
  max-width: 18ch;
}

.service-hero .accent,
.service-hero em.accent {
  font-family: var(--home-accent-font);
  font-style: italic;
  font-weight: 500;
  color: var(--c-cyan);
}

.service-hero .service-hero__lead {
  max-width: 38rem;
  color: var(--page-muted);
  margin-bottom: var(--hero-lead-gap);
}

.service-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

@media (min-width: 768px) {
  .service-hero__copy {
    max-width: min(40rem, 56%);
    margin-inline: 0;
    margin-inline-start: clamp(1.75rem, 5vw, 4rem);
    padding: 1.85rem 1.75rem 1.85rem 1.5rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .service-hero .headline {
      animation: service-headline-reveal 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
    }

    .service-hero__lead,
    .service-hero__actions {
      animation: service-fade-up 600ms ease both;
      animation-delay: 180ms;
    }

    .service-hero__actions {
      animation-delay: 280ms;
    }
  }
}

@keyframes service-headline-reveal {
  from {
    transform: translateY(18px);
    clip-path: inset(0 0 100% 0);
  }
  to {
    transform: none;
    clip-path: inset(0);
  }
}

@keyframes service-fade-up {
  from {
    transform: translateY(16px);
    opacity: 0.35;
  }
  to {
    transform: none;
    opacity: 1;
  }
}

/* Body prose */
.section-service {
  position: relative;
  z-index: 1;
  padding-block: clamp(3.5rem, 8vw, 5.5rem);
}

.service-prose {
  position: relative;
  max-width: 42rem;
  margin-inline: auto;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  display: grid;
  gap: 1.15rem;
  color: var(--page-fg);
  font-size: 1.0625rem;
  line-height: 1.75;
  background:
    radial-gradient(
      ellipse 130% 110% at 18% 8%,
      color-mix(in srgb, var(--c-night) 82%, transparent) 0%,
      color-mix(in srgb, var(--c-night) 58%, transparent) 38%,
      color-mix(in srgb, var(--c-night) 22%, transparent) 72%,
      transparent 100%
    );
}

.service-prose :is(h2, h3) {
  font-family: var(--home-font);
  color: var(--page-fg);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.service-prose h2 {
  font-size: clamp(1.55rem, 3.5vw, 2.15rem);
  font-weight: 680;
  margin: 0 0 0.35rem;
}

.service-prose h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0.85rem 0 0;
}

.service-prose p,
.service-prose dd {
  color: var(--page-muted);
  margin: 0;
  max-width: none;
}

.service-prose strong {
  color: var(--page-fg);
  font-weight: 620;
}

.service-prose a:not(.btn) {
  color: var(--page-accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.service-prose a:not(.btn):hover {
  color: var(--c-cyan);
}

.service-prose dl {
  margin: 0;
  display: grid;
  gap: 0.35rem;
  padding: 1rem 1.1rem;
  border-left: 2px solid color-mix(in srgb, var(--c-aurora) 55%, transparent);
  background: color-mix(in srgb, var(--c-indigo) 55%, transparent);
}

.service-prose dt {
  font-weight: 650;
  color: var(--page-fg);
  margin-top: 0.55rem;
}

.service-prose dt:first-child {
  margin-top: 0;
}

.service-prose dd {
  margin: 0;
}

/* Closing CTA */
.service-closing {
  text-align: center;
  padding-block: clamp(4.5rem, 10vw, 7rem);
}

.service-closing .cta-box {
  max-width: min(40rem, 100%);
  margin-inline: auto;
}

.service-closing .cta-box p {
  margin-inline: auto;
  margin-bottom: 1.75rem;
}
