.service-shell {
  --service-accent: #ff2b1f;
  --service-accent-rgb: 255,43,31;
  --service-bg: #eaf1ff;
  background: var(--service-bg);
  color: var(--ink);
}

.service-shell .service-site-header {
  color: var(--ink);
  background: transparent;
  border-color: rgba(17,17,17,.12);
}
.service-shell .service-site-header .brand img { filter: none; }
.service-shell .service-site-header:not(.is-scrolled) .button--small {
  color: var(--ink);
  background: rgba(255,255,255,.28);
  border-color: rgba(17,17,17,.36);
  backdrop-filter: blur(12px);
}
.service-shell .service-site-header.is-scrolled {
  background: rgba(244,241,235,.9);
  color: var(--ink);
  border-color: rgba(17,17,17,.13);
}
.service-shell .mobile-menu { color: var(--ink); }

.service-hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-h) + clamp(62px, 9vh, 120px)) clamp(22px, 4vw, 68px) clamp(48px, 7vh, 86px);
  background:
    radial-gradient(circle at 78% 30%, rgba(var(--service-accent-rgb), .20), transparent 30%),
    radial-gradient(circle at 18% 65%, rgba(255,255,255,.72), transparent 34%),
    linear-gradient(135deg, var(--service-bg), color-mix(in srgb, var(--service-bg) 75%, white));
  color: var(--ink);
}
.service-hero--index {
  --service-bg: #dfeaff;
  --service-accent: #ff2b1f;
  --service-accent-rgb: 255,43,31;
}
.service-hero__network,
.service-hero__grid,
.service-hero__glow,
.service-hero__image-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.service-hero__network { z-index: 1; }
.service-hero__grid {
  z-index: 0;
  opacity: .58;
  background-image:
    linear-gradient(rgba(21,35,58,.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21,35,58,.075) 1px, transparent 1px);
  background-size: 78px 78px;
  mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 82%, transparent 100%);
  transform: perspective(900px) rotateX(63deg) scale(1.45) translateY(27%);
  transform-origin: 50% 66%;
}
.service-hero__glow {
  z-index: 0;
  inset: auto auto 3% 58%;
  width: min(42vw, 650px);
  height: min(42vw, 650px);
  border-radius: 50%;
  background: rgba(var(--service-accent-rgb), .13);
  filter: blur(90px);
  animation: serviceGlow 8s ease-in-out infinite alternate;
}
.service-hero__image-layer {
  z-index: 0;
  background-image: var(--service-social-image, none);
  background-position: 82% 50%;
  background-repeat: no-repeat;
  background-size: min(55vw, 840px) auto;
  opacity: .10;
  filter: saturate(.65) contrast(.95);
  mask-image: linear-gradient(90deg, transparent 38%, #000 64%, #000 94%, transparent);
}
.service-hero > *:not(.service-hero__network):not(.service-hero__grid):not(.service-hero__glow):not(.service-hero__image-layer) {
  position: relative;
  z-index: 2;
}
@keyframes serviceGlow {
  from { transform: translate3d(-3%, 2%, 0) scale(.92); opacity: .72; }
  to { transform: translate3d(5%, -4%, 0) scale(1.08); opacity: 1; }
}

.service-hero__eyebrow {
  margin: 0 0 clamp(38px, 6vh, 74px);
  font-size: 10px;
  letter-spacing: .19em;
  text-transform: uppercase;
  color: rgba(17,17,17,.72);
}
.service-hero__layout {
  width: 100%;
  max-width: var(--max);
  margin: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .52fr);
  gap: clamp(34px, 6vw, 96px);
  align-items: end;
}
.service-hero__title {
  margin: 0;
  max-width: 1040px;
  font-size: clamp(64px, 9.2vw, 150px);
  font-weight: 400;
  line-height: .84;
  letter-spacing: -.078em;
}
.service-hero__title span { color: var(--service-accent); }
.service-hero__copy {
  max-width: 390px;
  justify-self: end;
  padding-bottom: .5rem;
}
.service-hero__copy p {
  margin: 0 0 1.6rem;
  color: rgba(17,17,17,.67);
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.58;
}
.service-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.service-hero__actions .button { min-height: 48px; }
.service-hero__actions .button--outline {
  color: var(--ink);
  background: rgba(255,255,255,.42);
  border-color: rgba(17,17,17,.24);
  backdrop-filter: blur(12px);
}
.service-hero__footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-top: clamp(44px, 8vh, 90px);
  font-size: 10px;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.service-hero__footer p { margin: 0; }
.service-hero__footer p span { color: var(--service-accent); margin: 0 .55rem; }
.service-hero__footer a { display: flex; align-items: center; gap: 12px; }
.service-hero__footer .scroll-line { background: rgba(17,17,17,.28); }
.service-hero__footer .scroll-line::after { background: var(--service-accent); }

.service-orbit {
  position: absolute;
  z-index: 2;
  right: clamp(20px, 5vw, 90px);
  top: 18%;
  width: min(39vw, 610px);
  aspect-ratio: 1;
  pointer-events: none;
  opacity: .88;
}
.service-orbit__ring {
  position: absolute;
  inset: 8%;
  border: 1px solid rgba(17,17,17,.13);
  border-radius: 50%;
  animation: orbitSpin 28s linear infinite;
}
.service-orbit__ring:nth-child(2) {
  inset: 23%;
  border-style: dashed;
  animation-duration: 21s;
  animation-direction: reverse;
}
.service-orbit__ring:nth-child(3) {
  inset: 38%;
  animation-duration: 16s;
}
.service-orbit__ring::before,
.service-orbit__ring::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--service-accent);
  box-shadow: 0 0 0 7px rgba(var(--service-accent-rgb), .12);
}
.service-orbit__ring::before { left: 50%; top: -4px; }
.service-orbit__ring::after { right: 11%; bottom: 13%; }
.service-orbit__core {
  position: absolute;
  left: 50%; top: 50%;
  width: 28%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  border-radius: 34%;
  color: var(--white);
  background: var(--service-accent);
  box-shadow: 0 30px 60px rgba(var(--service-accent-rgb), .25);
  animation: serviceCoreFloat 5.5s ease-in-out infinite;
}
.service-orbit__core svg, .service-orbit__core img { width: 56%; height: 56%; object-fit: contain; }
.service-orbit__node {
  position: absolute;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(17,17,17,.08);
  color: var(--node-color, var(--service-accent));
  box-shadow: 0 18px 38px rgba(17,17,17,.08);
  backdrop-filter: blur(12px);
  animation: serviceNodeFloat 6s ease-in-out infinite;
}
.service-orbit__node svg { width: 28px; height: 28px; }
.service-orbit__node:nth-child(5) { left: 2%; top: 20%; animation-delay: -.7s; }
.service-orbit__node:nth-child(6) { right: 1%; top: 24%; animation-delay: -1.8s; }
.service-orbit__node:nth-child(7) { left: 14%; bottom: 7%; animation-delay: -2.8s; }
.service-orbit__node:nth-child(8) { right: 12%; bottom: 6%; animation-delay: -4s; }
@keyframes orbitSpin { to { transform: rotate(360deg); } }
@keyframes serviceCoreFloat {
  0%,100% { transform: translate(-50%,-50%) translateY(0) rotate(-2deg); }
  50% { transform: translate(-50%,-50%) translateY(-14px) rotate(2deg); }
}
@keyframes serviceNodeFloat {
  0%,100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-12px) rotate(3deg); }
}

.service-content {
  padding: clamp(90px, 10vw, 160px) clamp(22px, 4vw, 68px);
  background: var(--paper);
}
.service-content__inner { max-width: var(--max); margin: 0 auto; }
.service-content__head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .55fr);
  gap: 7vw;
  align-items: end;
  margin-bottom: clamp(52px, 7vw, 96px);
}
.service-content__head h2 {
  margin: 0;
  font-size: clamp(44px, 6.5vw, 104px);
  font-weight: 400;
  line-height: .94;
  letter-spacing: -.065em;
}
.service-content__head p {
  margin: 0;
  color: #53504b;
  font-size: clamp(16px, 1.25vw, 20px);
  line-height: 1.7;
}

.service-catalog {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.service-card {
  --accent: #ff2b1f;
  position: relative;
  overflow: hidden;
  min-height: 330px;
  padding: 24px 22px 22px 30px;
  display: flex;
  flex-direction: column;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(17,17,17,.08);
  border-radius: 30px 30px 9px 9px;
  box-shadow: 0 24px 52px rgba(17,17,17,.06);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s ease;
}
.service-card:hover {
  transform: translateY(-7px);
  border-color: color-mix(in srgb, var(--accent) 35%, rgba(17,17,17,.08));
  box-shadow: 0 32px 68px color-mix(in srgb, var(--accent) 13%, rgba(17,17,17,.08));
}
.service-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 8px;
  background: var(--accent);
}
.service-card::after {
  content: "";
  position: absolute;
  right: -46px; top: -46px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 13%, white 87%);
}
.service-card > * { position: relative; z-index: 1; }
.service-card__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.service-card__icon {
  width: 76px; height: 76px;
  display: grid; place-items: center;
  border-radius: 23px;
  color: var(--white);
  background: var(--accent);
  box-shadow: 0 17px 34px color-mix(in srgb, var(--accent) 24%, transparent);
}
.service-card__icon svg { width: 40px; height: 40px; }
.service-card__code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  height: 38px;
  padding: 0 .85rem;
  border-radius: 999px;
  color: var(--accent);
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(17,17,17,.08);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
}
.service-card h3 {
  margin: 1.8rem 0 .75rem;
  font-size: clamp(25px, 2vw, 34px);
  line-height: .98;
  letter-spacing: -.05em;
}
.service-card p { margin: 0 0 1.5rem; color: #4f4d49; font-size: 14px; line-height: 1.6; }
.service-card__links { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.service-card__links a { transition: transform .25s ease; }
.service-card__links a:hover { transform: translateY(-2px); }
.service-card__details { color: var(--accent); font-size: 12px; font-weight: 700; border-bottom: 1px solid currentColor; padding-bottom: .3rem; }
.service-card__app {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 12px;
  border: 1px solid rgba(17,17,17,.1);
  background: rgba(255,255,255,.8);
  color: var(--accent);
}

.service-detail__brand-row { display: flex; align-items: center; gap: 20px; }
.service-detail__icon {
  flex: 0 0 auto;
  width: clamp(76px, 7vw, 112px);
  aspect-ratio: 1;
  display: grid; place-items: center;
  border-radius: 30%;
  color: var(--white);
  background: var(--service-accent);
  box-shadow: 0 24px 48px rgba(var(--service-accent-rgb), .24);
}
.service-detail__icon svg { width: 50%; height: 50%; }
.service-detail__wordmark {
  min-width: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: .18em;
  font-size: clamp(56px, 8.2vw, 132px);
  font-weight: 700;
  line-height: .82;
  letter-spacing: -.075em;
}
.service-detail__wordmark .service-detail__code { color: var(--service-accent); }
.service-detail__wordmark .service-detail__core-name { color: var(--ink); }
.service-detail__title {
  margin: 1.45rem 0 0;
  max-width: 880px;
  font-size: clamp(28px, 3.5vw, 58px);
  line-height: .98;
  font-weight: 400;
  letter-spacing: -.05em;
}
.service-detail__copy { max-width: 420px; justify-self: end; }
.service-detail__copy p { font-size: clamp(16px, 1.2vw, 19px); line-height: 1.65; }

.service-detail {
  padding: clamp(80px, 9vw, 145px) clamp(22px, 4vw, 68px);
  background: var(--paper);
}
.service-detail__inner { max-width: var(--max); margin: 0 auto; }
.service-detail__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .48fr);
  gap: 20px;
}
.service-detail__panel {
  padding: clamp(26px, 4vw, 54px);
  border-radius: 30px;
  background: var(--white);
  border: 1px solid rgba(17,17,17,.08);
  box-shadow: 0 22px 52px rgba(17,17,17,.05);
}
.service-detail__panel > p {
  margin: 0;
  color: #45433f;
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.75;
}
.service-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}
.service-feature {
  position: relative;
  overflow: hidden;
  min-height: 120px;
  padding: 20px 20px 18px 24px;
  display: flex;
  align-items: flex-end;
  border-radius: 20px;
  background: #f7f5f0;
  border: 1px solid rgba(17,17,17,.06);
  font-size: 16px;
  line-height: 1.4;
}
.service-feature::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 5px;
  background: var(--service-accent);
}
.service-detail__aside strong {
  display: block;
  margin-bottom: 1rem;
  font-size: 10px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted);
}
.service-detail__aside .button { margin-bottom: 2rem; }
.service-detail__facts { display: grid; gap: 10px; }
.service-detail__fact {
  padding: 14px 15px;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-radius: 16px;
  background: #faf8f4;
  border: 1px solid rgba(17,17,17,.06);
  font-size: 13px;
  color: #5a5853;
}
.service-detail__fact b { color: var(--ink); font-weight: 600; text-align: right; }
.service-detail__contact { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.service-detail__contact a { border-bottom: 1px solid currentColor; padding-bottom: .3rem; }

.service-shell .service-site-footer { background: var(--paper); }

.service-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.service-reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1220px) {
  .service-catalog { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
  .service-hero__layout,
  .service-content__head,
  .service-detail__grid { grid-template-columns: 1fr; }
  .service-hero__copy,
  .service-detail__copy { justify-self: start; }
  .service-orbit { opacity: .33; width: 72vw; right: -18vw; top: 17%; }
  .service-catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .service-hero { min-height: 900px; padding-inline: 18px; }
  .service-hero__title { font-size: clamp(56px, 16vw, 82px); }
  .service-detail__brand-row {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    min-width: 0;
  }
  .service-detail__icon { width: 70px; border-radius: 22px; }
  .service-detail__wordmark {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    font-size: clamp(42px, 12vw, 58px);
    line-height: .82;
  }
  .service-detail__wordmark .service-detail__core-name {
    max-width: 100%;
    white-space: nowrap;
    font-size: clamp(30px, 9.5vw, 43px);
    letter-spacing: -.08em;
  }
  .service-detail__title { font-size: clamp(28px, 8vw, 42px); }
  .service-orbit { width: 112vw; right: -50vw; top: 19%; opacity: .22; }
  .service-hero__copy { max-width: 100%; }
  .service-hero__footer p { display: none; }
  .service-catalog { grid-template-columns: 1fr; }
  .service-card { min-height: 300px; }
  .service-features { grid-template-columns: 1fr; }
  .service-detail__panel { padding: 22px; }
}

@media (max-width: 430px) {
  .service-hero { min-height: 860px; }
  .service-detail__brand-row { grid-template-columns: 62px minmax(0, 1fr); gap: 12px; }
  .service-detail__icon { width: 62px; border-radius: 19px; }
  .service-detail__wordmark { font-size: clamp(38px, 11.5vw, 50px); }
  .service-detail__wordmark .service-detail__core-name { font-size: clamp(27px, 8.7vw, 37px); }
  .service-detail__copy p { font-size: 15px; }
  .service-hero__actions { gap: 8px; }
  .service-hero__actions .button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .service-orbit__ring,
  .service-orbit__core,
  .service-orbit__node,
  .service-hero__glow { animation: none !important; }
  .service-reveal { opacity: 1; transform: none; }
}
