/* Services page hero — split copy + phone, marquee under */

.services-hero {
  position: relative;
  padding: 160px 0 0;
  overflow: hidden;
  background: #f6f6f6;
}

.services-hero__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: 506px;
  padding-right: min(56%, 620px);
}

.services-hero__copy {
  position: relative;
  z-index: 3;
  max-width: 620px;
  padding: 12px 0 80px;
}

.services-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  padding: 6px 14px 6px 10px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 999px;
  background: #ffffff;
  color: #111111;
  font-family: var(--misiom-font, "Neue Montreal", Arial, sans-serif);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
}

.services-hero__badge-icon {
  display: inline-flex;
}

.services-hero__title {
  margin: 0 0 16px;
  font-family: var(--misiom-font, "Neue Montreal", Arial, sans-serif);
  font-size: clamp(34px, 4.4vw, 58px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: #111111;
}

.services-hero__title .italic-display {
  display: inline;
}

.services-hero__text {
  margin: 0 0 26px;
  max-width: 40ch;
  font-family: var(--misiom-font, "Neue Montreal", Arial, sans-serif);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  color: rgba(17, 17, 17, 0.68);
}

.services-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.services-hero__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px 8px 18px;
  border-radius: 999px;
  font-family: var(--misiom-font, "Neue Montreal", Arial, sans-serif);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
}

.services-hero__btn--primary {
  background: #111111;
  color: #ffffff;
}

.services-hero__btn--primary:hover {
  background: #000000;
  color: #ffffff;
}

.services-hero__btn-icon,
.services-hero__btn-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
}

.services-hero__btn--primary .services-hero__btn-icon {
  background: rgba(255, 255, 255, 0.16);
}

.services-hero__btn--ghost {
  background: #ffffff;
  color: #111111;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.services-hero__btn--ghost:hover {
  color: #111111;
}

.services-hero__proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-family: var(--misiom-font, "Neue Montreal", Arial, sans-serif);
  font-size: 14px;
  color: rgba(17, 17, 17, 0.7);
}

.services-hero__stars {
  display: inline-flex;
  gap: 2px;
  color: #e31c23;
  font-size: 11px;
}

.services-hero__proof-logo {
  height: 18px;
  width: auto;
  display: inline-block;
}

.services-hero__proof-logo--goodfirms {
  height: 14px;
}

.services-hero__visual {
  position: absolute;
  top: 40px;
  right: auto;
  left: 32%;
  bottom: 0;
  z-index: 4;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  width: auto;
  margin: 0;
  min-height: 0;
  pointer-events: none;
}

.services-hero__visual img {
  display: block;
  width: auto;
  max-width: none;
  height: 900px;
  object-fit: contain;
  object-position: left bottom;
  transform: translateY(160px);
}

.services-hero__marquee {
  position: relative;
  z-index: 1;
  margin-top: 0;
  padding: 18px 0 32px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 55%, transparent 78%);
}

.services-hero__marquee-track {
  display: flex;
  width: max-content;
  animation: servicesHeroMarquee 34s linear infinite;
}

.services-hero__pills {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-right: 12px;
}

.services-hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 8px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  white-space: nowrap;
  color: #111111;
}

.services-hero__pill-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f0f0f0;
  color: #111111;
}

.services-hero__pill-text {
  font-family: var(--misiom-font, "Neue Montreal", Arial, sans-serif);
  font-size: 14px;
  font-weight: 500;
  color: #111111;
}

@keyframes servicesHeroMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.services-two--after-hero {
  padding-top: 80px;
}

@media (max-width: 1199px) {
  .services-hero {
    padding-top: 148px;
  }

  .services-hero__row {
    min-height: 506px;
    padding-right: min(56%, 620px);
  }

  .services-hero__visual {
    top: 40px;
    left: 32%;
  }

  .services-hero__visual img {
    height: 900px;
    transform: translateY(160px);
  }
}

@media (max-width: 991px) {
  .services-hero__row {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-right: 0;
  }

  .services-hero__copy {
    padding-bottom: 8px;
    max-width: none;
    z-index: 3;
  }

  .services-hero__visual {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    max-width: 420px;
    height: min(420px, 52vh);
    margin: 0 auto -24px;
    z-index: 4;
    justify-content: center;
    pointer-events: none;
  }

  .services-hero__visual img {
    height: 100%;
    max-width: 100%;
  }

  .services-hero__marquee {
    mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  }
}

@media (max-width: 767px) {
  .services-hero {
    padding-top: 132px;
  }

  .services-hero__title {
    font-size: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .services-hero__marquee-track {
    animation: none;
  }
}
