.services-page {
  background: #050505;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.services-page main,
.services-page section,
.services-hero-copy,
.services-system,
.service-detail-inner,
.service-detail-grid,
.service-detail-grid > *,
.service-outcome,
.service-outcome > *,
.combination-copy,
.combination-grid,
.combination-grid > * {
  min-width: 0;
  max-width: 100%;
}

.services-hero {
  isolation: isolate;
  width: min(100%, var(--page-width));
  min-height: 760px;
  margin: 0 auto;
  padding: 122px var(--side) 64px;
  display: grid;
  gap: 42px;
  align-items: center;
  grid-template-columns: minmax(0, 1fr);
}

.services-hero::before {
  content: "";
  position: absolute;
  z-index: -3;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5,5,5,.98) 0%, rgba(5,5,5,.88) 48%, rgba(5,5,5,.28) 100%),
    url("../img/services-hero-tiktok-mobile.webp?v=1") center / cover no-repeat;
  opacity: .78;
}

.services-hero::after {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5,5,5,.72), transparent 22%, transparent 68%, #050505 100%),
    radial-gradient(circle at 85% 45%, rgba(255,196,0,.16), transparent 33%);
}

.services-hero-glow {
  position: absolute;
  z-index: -1;
  width: 380px;
  height: 380px;
  right: -110px;
  bottom: 24px;
  border-radius: 50%;
  background: rgba(255,196,0,.13);
  filter: blur(90px);
  pointer-events: none;
}

.services-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 780px;
  width: 100%;
}

.services-hero h1 {
  margin: 0;
  max-width: 800px;
  font-size: clamp(50px, 9.2vw, 108px);
  line-height: .94;
  letter-spacing: -.06em;
  font-weight: 900;
  max-width: 100%;
  overflow-wrap: break-word;
}

.services-hero h1 em {
  display: block;
  color: var(--yellow);
  font-style: normal;
}

.services-lead {
  max-width: 680px;
  margin: 28px 0;
  color: #c7c7c7;
  font-size: clamp(18px, 2.1vw, 25px);
  line-height: 1.48;
}

.services-system {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 20px;
  background: rgba(8,8,8,.78);
  box-shadow: 0 28px 70px rgba(0,0,0,.5);
  backdrop-filter: blur(18px);
  width: 100%;
  max-width: 100%;
}

.system-label {
  margin: 0 0 4px;
  color: var(--yellow);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .18em;
}

.system-stage {
  min-height: 64px;
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(40,40,40,.72), rgba(10,10,10,.96));
}

.system-stage b {
  color: var(--yellow);
  font-size: 12px;
  letter-spacing: .08em;
}

.system-stage span {
  font-size: 17px;
  font-weight: 900;
  text-transform: uppercase;
  min-width: 0;
  overflow-wrap: anywhere;
}

.system-stage.result {
  color: #080808;
  border-color: #ffd437;
  background: linear-gradient(135deg, #ffbc00, #ffdc4e);
  box-shadow: 0 12px 34px rgba(255,196,0,.18);
}

.system-stage.result b {
  color: #090909;
}

.services-system > i {
  display: none;
  color: var(--yellow);
  font-size: 28px;
  font-style: normal;
  text-align: center;
}

.services-intro {
  padding-bottom: clamp(44px, 6vw, 80px);
}

.services-intro h2 {
  max-width: 900px;
}

.section-intro {
  max-width: 780px;
  margin: 24px 0 0;
  color: #575757;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.55;
}

.service-detail {
  position: relative;
  overflow: hidden;
}

.service-detail-inner {
  width: min(100%, var(--page-width));
  margin: 0 auto;
  padding: clamp(54px, 8vw, 105px) var(--side);
}

.service-detail-dark {
  color: #fff;
  background:
    radial-gradient(circle at 85% 15%, rgba(164,101,255,.17), transparent 32%),
    linear-gradient(135deg, #090909, #030303 70%);
}

.service-detail-dark::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .15;
  pointer-events: none;
  background-image: radial-gradient(circle, #fff 1px, transparent 1.5px);
  background-size: 19px 19px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 70%);
  mask-image: linear-gradient(90deg, transparent, #000 70%);
}

.service-detail-yellow {
  color: #111;
  background:
    linear-gradient(115deg, rgba(255,184,0,.98), rgba(255,218,61,.98)),
    #ffc400;
}

.service-detail-yellow::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .16;
  pointer-events: none;
  background: repeating-linear-gradient(120deg, transparent 0 26px, rgba(0,0,0,.18) 27px 28px);
}

.service-detail-light {
  color: #111;
  background: #f4f1eb;
}

.service-detail-light::after {
  content: "";
  position: absolute;
  right: -8%;
  bottom: -30%;
  width: 54%;
  aspect-ratio: 1;
  opacity: .16;
  transform: rotate(-14deg);
  pointer-events: none;
  background-image: radial-gradient(circle, #333 1px, transparent 1.5px);
  background-size: 15px 15px;
  -webkit-mask-image: radial-gradient(circle, #000, transparent 72%);
  mask-image: radial-gradient(circle, #000, transparent 72%);
}

.service-detail-inner > * {
  position: relative;
  z-index: 2;
}

.service-detail-top {
  display: grid;
  grid-template-columns: auto 70px 1fr;
  align-items: center;
  gap: 18px;
  margin-bottom: 34px;
}

.service-detail-number {
  font-size: clamp(64px, 10vw, 130px);
  line-height: .8;
  font-weight: 900;
  letter-spacing: -.08em;
  opacity: .15;
}

.service-detail-icon {
  width: 70px;
  aspect-ratio: 1;
  display: block;
}

.service-detail-icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,.25));
}

.service-detail-label {
  margin: 0;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .18em;
}

.service-detail-dark .service-detail-label {
  color: var(--yellow);
}

.service-detail-grid {
  display: grid;
  gap: 38px;
}

.service-detail-grid h2 {
  max-width: 700px;
}

.service-detail-text {
  max-width: 720px;
  margin: 24px 0 0;
  font-size: clamp(17px, 1.8vw, 22px);
  line-height: 1.58;
  opacity: .76;
}

.service-points {
  align-self: end;
  padding: 24px;
  border: 1px solid currentColor;
  border-radius: 18px;
}

.service-detail-dark .service-points {
  border-color: rgba(255,255,255,.16);
  background: rgba(255,255,255,.035);
}

.service-detail-yellow .service-points {
  border-color: rgba(0,0,0,.18);
  background: rgba(255,255,255,.18);
}

.service-detail-light .service-points {
  border-color: #d4cec4;
  background: rgba(255,255,255,.56);
}

.service-points h3 {
  margin: 0 0 16px;
  font-size: 12px;
  letter-spacing: .16em;
}

.service-points ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-points li {
  position: relative;
  padding: 12px 0 12px 30px;
  border-bottom: 1px solid currentColor;
  font-size: 15px;
  line-height: 1.35;
}

.service-points li:last-child {
  border-bottom: 0;
}

.service-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 15px;
  height: 15px;
  background-color: var(--yellow);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 19 19 5M9 5h10v10' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 19 19 5M9 5h10v10' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.service-detail-yellow .service-points li,
.service-detail-light .service-points li {
  border-color: rgba(0,0,0,.14);
}

.service-detail-yellow .service-points li::before {
  background-color: #111;
}

.service-outcome {
  margin-top: 34px;
  display: grid;
  gap: 13px;
  padding-top: 26px;
  border-top: 1px solid currentColor;
}

.service-detail-dark .service-outcome {
  border-color: rgba(255,255,255,.18);
}

.service-detail-yellow .service-outcome,
.service-detail-light .service-outcome {
  border-color: rgba(0,0,0,.18);
}

.service-outcome > span {
  color: var(--yellow);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .18em;
}

.service-detail-yellow .service-outcome > span {
  color: #5e4300;
}

.service-outcome strong {
  max-width: 760px;
  font-size: clamp(20px, 2.5vw, 30px);
  line-height: 1.25;
}

.service-price {
  position: relative;
  isolation: isolate;
  width: min(100%, 620px);
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1px auto;
  align-items: center;
  gap: clamp(13px, 3vw, 24px);
  padding: 17px clamp(16px, 4vw, 26px);
  overflow: hidden;
  border: 1px solid rgba(255, 196, 0, .9);
  border-radius: 13px;
  background:
    radial-gradient(circle at 86% 40%, rgba(255, 196, 0, .12), transparent 34%),
    linear-gradient(115deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .012) 48%, rgba(255, 196, 0, .035));
  box-shadow:
    0 14px 38px rgba(0, 0, 0, .34),
    0 0 22px rgba(255, 196, 0, .08),
    inset 0 1px 0 rgba(255, 255, 255, .08);
}

.service-detail-yellow .service-price,
.service-detail-light .service-price {
  color: #fff;
  background:
    radial-gradient(circle at 86% 40%, rgba(255, 196, 0, .16), transparent 36%),
    linear-gradient(135deg, #171717, #070707 70%);
  box-shadow:
    0 16px 38px rgba(0, 0, 0, .24),
    0 0 22px rgba(255, 196, 0, .1),
    inset 0 1px 0 rgba(255, 255, 255, .08);
}

.service-price::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(105deg, transparent 25%, rgba(255,255,255,.06) 47%, transparent 68%);
  transform: translateX(-72%);
  transition: transform .65s ease;
}

.service-price:hover::before {
  transform: translateX(72%);
}

.service-price-label {
  min-width: 0;
  color: #fff;
  font-size: clamp(10px, 1.25vw, 13px);
  font-weight: 700;
  letter-spacing: .15em;
  line-height: 1.35;
}

.service-price-divider {
  display: block;
  width: 1px;
  height: 38px;
  background: linear-gradient(transparent, var(--yellow) 18%, var(--yellow) 82%, transparent);
  box-shadow: 0 0 10px rgba(255, 196, 0, .38);
}

.service-price .service-price-value {
  max-width: none;
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: clamp(8px, 1.5vw, 13px);
  color: #fff;
  font-size: clamp(18px, 2.2vw, 25px);
  line-height: 1;
  white-space: nowrap;
}

.service-price-value > span {
  font-weight: 900;
  letter-spacing: .05em;
}

.service-price-value > b {
  color: var(--yellow);
  font-size: clamp(34px, 5vw, 50px);
  line-height: .9;
  text-shadow: 0 0 18px rgba(255, 196, 0, .25);
}

.service-pricing-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  width: fit-content;
  max-width: 100%;
  margin-top: 6px;
  padding: 0 24px;
  border: 1px solid var(--yellow);
  border-radius: 12px;
  color: #080808;
  background: linear-gradient(135deg, #ffbc00, #ffda45);
  box-shadow: 0 12px 28px rgba(255, 196, 0, .18);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .06em;
  line-height: 1.25;
  text-align: center;
  overflow-wrap: anywhere;
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}

.service-detail-yellow .service-pricing-button,
.service-detail-light .service-pricing-button {
  border-color: #111;
  color: #fff;
  background: linear-gradient(135deg, #171717, #050505);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .2);
}

.service-pricing-button:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 16px 34px rgba(255, 196, 0, .24);
}

.service-pricing-button:focus-visible {
  outline: 3px solid rgba(255, 196, 0, .38);
  outline-offset: 3px;
}

.services-combination {
  display: grid;
  gap: 38px;
}

.combination-copy > p:last-child {
  max-width: 710px;
  margin: 24px 0 0;
  color: #aaa;
  font-size: clamp(17px, 1.8vw, 22px);
  line-height: 1.55;
}

.combination-grid {
  display: grid;
  gap: 12px;
}

.combination-grid article {
  position: relative;
  min-height: 180px;
  padding: 26px;
  border: 1px solid #292929;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(145deg, #151515, #080808);
}

.combination-grid article::after {
  content: "";
  position: absolute;
  width: 130px;
  height: 130px;
  right: -55px;
  bottom: -60px;
  border-radius: 50%;
  background: rgba(255,196,0,.13);
  filter: blur(25px);
}

.combination-grid span {
  color: var(--yellow);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
}

.combination-grid h3 {
  margin: 30px 0 10px;
  font-size: clamp(20px, 1.65vw, 27px);
  line-height: 1.12;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.combination-grid p {
  margin: 0;
  color: #aaa;
  line-height: 1.5;
  overflow-wrap: anywhere;
  hyphens: auto;
}

@media (min-width: 800px) {
  .services-hero::before {
    background:
      linear-gradient(
        90deg,
        rgba(5, 5, 5, 1) 0%,
        rgba(5, 5, 5, .96) 34%,
        rgba(5, 5, 5, .72) 58%,
        rgba(5, 5, 5, .18) 100%
      ),
      url("../img/services-hero-tiktok-mobile.webp?v=2")
        right clamp(24px, 4vw, 72px) center / auto 92% no-repeat;
    opacity: .82;
  }

  .services-hero {
    min-height: max(820px, 100svh);
    padding-top: clamp(150px, 14vh, 190px);
    padding-bottom: clamp(70px, 8vh, 100px);
    grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
    gap: clamp(34px, 4vw, 70px);
  }

  .services-hero h1 {
    font-size: clamp(52px, 4.8vw, 88px);
    line-height: .92;
  }

  .services-lead {
    font-size: clamp(18px, 1.45vw, 23px);
  }

  .services-system {
    width: min(100%, 590px);
    justify-self: end;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding: 22px;
  }

  .services-system .system-label {
    position: static;
    grid-column: 1;
    margin: 0 0 5px;
  }

  .services-system > i {
    display: none;
  }

  .system-stage {
    width: 100%;
    min-width: 0;
    min-height: 92px;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 18px;
    padding: 18px 24px;
  }

  .system-stage b {
    font-size: 14px;
  }

  .system-stage span {
    font-size: clamp(17px, 1.3vw, 21px);
    line-height: 1.1;
    overflow-wrap: normal;
  }

  .service-detail-grid {
    grid-template-columns: 1.15fr .85fr;
    align-items: end;
  }

  .service-outcome {
    grid-template-columns: 120px 1fr auto;
    align-items: center;
    gap: 28px;
  }

  .service-price,
  .service-price + a {
    grid-column: 2 / -1;
  }

  .combination-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (min-width: 1280px) {
  .services-system {
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    gap: 14px;
  }

  .services-system .system-label {
    position: static;
  }

  .services-system > i {
    display: none;
  }

  .system-stage {
    grid-template-columns: 72px minmax(0, 1fr);
    justify-items: stretch;
    width: 100%;
    min-width: 0;
    padding: 18px 24px;
  }

  .system-stage span {
    font-size: clamp(17px, 1.1vw, 21px);
    text-align: left;
  }
}

@media (min-width: 1400px) {
  .services-combination {
    grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
    align-items: start;
    gap: clamp(48px, 5vw, 86px);
  }

  .combination-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .combination-grid article {
    min-height: 210px;
    padding: clamp(30px, 3vw, 44px);
  }

  .combination-grid h3 {
    margin-top: 42px;
    font-size: clamp(27px, 2.1vw, 36px);
  }

  .combination-grid p {
    max-width: 660px;
    font-size: clamp(18px, 1.35vw, 23px);
  }

  .combination-copy h2 {
    font-size: clamp(48px, 3.7vw, 68px);
    line-height: .96;
    letter-spacing: -.045em;
  }
}

@media (min-width: 800px) and (max-width: 1279px) {
  .services-system {
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
  }

  .services-system .system-label {
    grid-column: 1;
  }

  .services-system > i {
    display: none;
  }
}

@media (min-width: 800px) and (max-width: 1399px) {
  .services-combination {
    grid-template-columns: minmax(0, 1fr);
  }

  .combination-copy {
    max-width: 820px;
  }
}

@media (max-width: 560px) {
  .services-hero {
    min-height: 880px;
  }

  .services-hero::before {
    background-position: 63% center;
    opacity: .62;
  }

  .services-hero h1 {
    font-size: clamp(45px, 14vw, 72px);
  }

  .services-system {
    margin-top: 6px;
  }

  .service-detail-top {
    grid-template-columns: 70px 58px 1fr;
    gap: 10px;
  }

  .service-detail-number {
    font-size: 64px;
  }

  .service-detail-icon {
    width: 58px;
  }

  .service-detail-label {
    font-size: 10px;
    line-height: 1.35;
  }

  .service-points {
    padding: 18px;
  }

  .combination-grid article {
    min-height: 150px;
  }
}

@media (max-width: 680px) {
  .services-hero {
    width: 100%;
    max-width: 100%;
    min-height: 850px;
    padding-left: 18px;
    padding-right: 18px;
    grid-template-columns: minmax(0, 1fr);
  }

  .services-lead {
    max-width: 100%;
    font-size: 18px;
  }

  .services-system {
    width: 100%;
    max-width: 100%;
    padding: 14px;
  }

  .system-stage {
    width: 100%;
    min-width: 0;
    grid-template-columns: 38px minmax(0, 1fr);
    padding-left: 13px;
    padding-right: 13px;
  }

  .service-detail-inner,
  .services-intro,
  .services-combination {
    width: 100%;
    max-width: 100%;
    padding-left: 18px;
    padding-right: 18px;
  }

  .service-outcome a {
    width: 100%;
    max-width: 100%;
  }

  .service-price {
    width: 100%;
  }

}

@media (max-width: 420px) {
  .service-price {
    gap: 10px;
    padding: 15px 13px;
  }

  .service-price-label {
    font-size: 9px;
    letter-spacing: .11em;
  }

  .service-price-divider {
    height: 34px;
  }

  .service-price .service-price-value {
    gap: 6px;
    font-size: 16px;
  }

  .service-price-value > b {
    font-size: 32px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .services-hero::before {
    animation: services-wall 16s ease-in-out infinite alternate;
  }

  .system-stage {
    animation: system-stage-float 5.5s ease-in-out infinite;
  }

  .system-stage:nth-of-type(2) { animation-delay: -1.2s; }
  .system-stage:nth-of-type(3) { animation-delay: -2.4s; }
  .system-stage:nth-of-type(4) { animation-delay: -3.6s; }

  @keyframes services-wall {
    from { transform: scale(1.01); }
    to { transform: scale(1.04) translateY(-8px); }
  }

  @keyframes system-stage-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
  }
}