.services-body {
  overflow: auto;
}

.services-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.services-header {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 18px 28px;
  border-bottom: 1px solid var(--border);
}

.services-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 600;
}

.services-brand img {
  width: 36px;
  height: auto;
}

.services-main {
  flex: 1;
  padding: 72px 28px 48px;
  max-width: 880px;
}

.services-eyebrow {
  margin: 0 0 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 13px;
}

.services-hero h1,
.services-page h1 {
  margin: 0 0 16px;
  font-size: 48px;
  line-height: 1.1;
}

.services-lead {
  margin: 0 0 28px;
  max-width: 38rem;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.45;
}

.services-page h2 {
  margin: 0 0 6px;
  font-size: 20px;
}

.services-steps {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 22px;
}

.services-steps p,
.services-team p {
  margin: 0;
  color: var(--muted);
}

.services-team-intro {
  margin: 0 0 22px;
}

.services-team {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}

.services-team img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 12px;
}

.services-role {
  margin: 0 0 8px;
  color: var(--muted);
}

.services-footer {
  display: flex;
  gap: 18px;
  padding: 20px 28px 28px;
  border-top: 1px solid var(--border);
  color: var(--muted);
}

/* Ad landing: one screen, centered, no document scroll. */
.services-landing {
  height: 100dvh;
  overflow: hidden;
  background: #070b12;
}

.services-landing::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(720px 420px at 50% 46%, rgba(94, 168, 196, 0.34), transparent 62%),
    radial-gradient(540px 380px at 70% 62%, rgba(88, 120, 220, 0.18), transparent 70%),
    radial-gradient(460px 320px at 28% 70%, rgba(45, 92, 112, 0.4), transparent 68%),
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: auto, auto, auto, 64px 64px, 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 48%, #000 36%, transparent 74%);
}

.services-landing .services-shell {
  position: relative;
  z-index: 1;
  height: 100%;
  min-height: 0;
}

.services-landing .services-header {
  border-bottom: 0;
  background: transparent;
}

.services-landing .services-main {
  max-width: none;
  width: 100%;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.services-landing .services-hero {
  width: min(1120px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 420px);
  gap: 48px;
  align-items: center;
}

.services-landing .services-hero h1 {
  font-size: clamp(36px, 3.6vw, 56px);
  font-weight: 520;
  letter-spacing: -0.035em;
  line-height: 1.02;
  color: rgba(236, 242, 248, 0.78);
}

.services-landing .services-em-strong {
  color: #fff;
  font-weight: 700;
}

.services-landing .services-em-accent {
  color: #9fd4ea;
  font-weight: 650;
}

.services-landing .services-em-offer {
  color: #d7f5a2;
  font-weight: 700;
}

.services-landing .services-lead {
  max-width: 36rem;
  margin-bottom: 22px;
  font-size: clamp(17px, 1.4vw, 20px);
}

.services-particles {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.services-landing .services-header,
.services-landing .services-main,
.services-landing .services-footer {
  position: relative;
  z-index: 1;
}

.services-landing .services-eyebrow {
  color: #9fd4ea;
}

.services-offer-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.services-offer-steps li {
  position: relative;
  display: grid;
  gap: 4px;
  min-width: 0;
}

.services-offer-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 15px;
  left: 36px;
  right: 8px;
  height: 1px;
  background: rgba(159, 212, 234, 0.35);
}

.services-offer-mark {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(159, 212, 234, 0.55);
  background: rgba(12, 22, 34, 0.85);
  color: #e7f3fb;
  font-size: 13px;
  font-weight: 600;
}

.services-offer-steps strong {
  font-size: 15px;
}

.services-offer-steps li span:last-child {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.services-offer-points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.services-offer-points li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--text);
  font-size: 15px;
  line-height: 1.35;
}

.services-point-icon {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  flex: none;
  color: #9fd4ea;
  overflow: visible;
}

.services-point-icon * {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
}

@keyframes services-rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes services-pop {
  from {
    opacity: 0;
    transform: scale(0.35);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes services-draw {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes services-icon-glow {
  0%,
  100% {
    filter: drop-shadow(0 0 0 rgba(159, 212, 234, 0));
  }
  50% {
    filter: drop-shadow(0 0 5px rgba(159, 212, 234, 0.95));
  }
}

.services-landing .services-hero-copy > * {
  animation: services-rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.services-landing .services-hero-copy > *:nth-child(1) {
  animation-delay: 0.05s;
}

.services-landing .services-hero-copy > *:nth-child(2) {
  animation-delay: 0.14s;
}

.services-landing .services-hero-copy > *:nth-child(3) {
  animation-delay: 0.24s;
}

.services-landing .services-hero-copy > *:nth-child(4) {
  animation-delay: 0.34s;
}

.services-landing .services-hero-copy > *:nth-child(5) {
  animation-delay: 0.44s;
}

.services-landing .services-book {
  animation: services-rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.18s both;
}

.services-offer-steps li:not(:last-child)::after {
  transform-origin: left center;
  animation: services-draw 0.55s ease 0.5s both;
}

.services-offer-mark {
  animation: services-pop 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.services-offer-steps li:nth-child(1) .services-offer-mark {
  animation-delay: 0.32s;
}

.services-offer-steps li:nth-child(2) .services-offer-mark {
  animation-delay: 0.46s;
}

.services-offer-steps li:nth-child(3) .services-offer-mark {
  animation-delay: 0.6s;
}

.services-offer-points li {
  animation: services-rise 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.services-offer-points li:nth-child(1) {
  animation-delay: 0.48s;
}

.services-offer-points li:nth-child(2) {
  animation-delay: 0.58s;
}

.services-offer-points li:nth-child(3) {
  animation-delay: 0.68s;
}

.services-point-icon {
  animation: services-pop 0.45s cubic-bezier(0.22, 1, 0.36, 1) both, services-icon-glow 2.6s ease-in-out 1.25s infinite;
}

.services-offer-points li:nth-child(1) .services-point-icon {
  animation-delay: 0.62s, 1.25s;
}

.services-offer-points li:nth-child(2) .services-point-icon {
  animation-delay: 0.74s, 1.35s;
}

.services-offer-points li:nth-child(3) .services-point-icon {
  animation-delay: 0.86s, 1.45s;
}

.services-point-icon * {
  animation: services-icon-draw 0.7s ease both;
}

.services-offer-points li:nth-child(1) .services-point-icon * {
  animation-delay: 0.62s;
}

.services-offer-points li:nth-child(2) .services-point-icon * {
  animation-delay: 0.74s;
}

.services-offer-points li:nth-child(3) .services-point-icon * {
  animation-delay: 0.86s;
}

@keyframes services-icon-draw {
  from {
    stroke-dashoffset: 200;
  }
  to {
    stroke-dashoffset: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .services-landing .services-hero-copy > *,
  .services-landing .services-book,
  .services-offer-mark,
  .services-offer-points li,
  .services-offer-steps li:not(:last-child)::after,
  .services-point-icon,
  .services-point-icon * {
    animation: none;
    stroke-dashoffset: 0;
  }
}

.services-form,
.services-calendly {
  background: rgba(17, 24, 37, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 22px 22px 18px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.services-form h2,
.services-calendly h2 {
  margin: 0 0 14px;
  font-size: 18px;
}

.services-form label {
  display: grid;
  gap: 6px;
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 13px;
}

.services-form input,
.services-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #0b1018;
  color: var(--text);
  font: inherit;
  padding: 10px 12px;
}

.services-form textarea {
  resize: none;
}

.services-form-error {
  margin: 0 0 10px;
  color: var(--danger);
  font-size: 14px;
}

.services-form .services-hero-cta,
.services-calendly .services-hero-cta {
  width: 100%;
}

.services-calendly [data-calendly-parent],
.services-calendly .calendly-inline-widget {
  height: min(560px, calc(100dvh - 240px));
  min-width: 280px;
}

.services-doc {
  height: auto;
  min-height: 100dvh;
  overflow: auto;
}

.services-doc .services-shell {
  height: auto;
  min-height: 100dvh;
}

.services-legal {
  max-width: 720px;
  padding-bottom: 48px;
}

.services-legal h1 {
  font-size: 40px;
}

.services-legal h2 {
  margin: 28px 0 8px;
}

.services-legal p,
.services-legal li {
  color: var(--muted);
  line-height: 1.5;
}

.services-legal-meta {
  margin-top: 0;
}

.services-landing .services-hero-cta {
  padding: 14px 28px;
  border-radius: 999px;
  background: #e7f3fb;
  color: #0b1218;
  font-weight: 600;
}

.services-landing .services-hero-cta:hover {
  background: #ffffff;
}

.services-landing .services-footer {
  justify-content: center;
  border-top: 0;
  padding: 8px 28px 22px;
  font-size: 13px;
}

@media (max-width: 720px) {
  .services-hero h1,
  .services-page h1 {
    font-size: 36px;
  }

  .services-landing .services-header {
    padding: 14px 16px;
  }

  .services-landing,
  .services-landing .services-shell {
    height: auto;
    min-height: 100dvh;
    overflow: auto;
  }

  .services-landing .services-hero {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .services-landing .services-hero h1 {
    font-size: clamp(34px, 10vw, 48px);
  }

  .services-offer-steps {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .services-offer-steps li:not(:last-child)::after {
    display: none;
  }

  .services-landing .services-main {
    padding: 0 20px;
  }
}
