/* Сторінки послуг — поверх основного style.css */
.rv-on [data-rise] { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease) var(--d, 0ms), transform 1s var(--ease) var(--d, 0ms); }
.rv-on [data-rise].is-in { opacity: 1; transform: none; }

.svc-hero { position: relative; z-index: 1; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(110px + var(--safe-t)) 0 60px; }
.svc-hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 32px; align-items: center; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); margin-bottom: 22px; }
.crumbs a:hover { color: var(--gold); }
.crumbs i { font-style: normal; opacity: .5; }
.svc-hero h1 { font-family: var(--cond); font-weight: 700; text-transform: uppercase; letter-spacing: -.01em; line-height: .92; font-size: clamp(46px, 5.4vw, 92px); }
.svc-hero h1 em { font-style: normal; color: var(--gold); display: block; }
.svc-hero__lead { margin: 24px 0 26px; max-width: 520px; font-size: 19px; line-height: 1.5; color: var(--muted); }
.svc-hero__lead b { color: var(--text); font-weight: 600; }
.svc-price { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-bottom: 28px; }
.svc-price strong { font-family: var(--cond); font-weight: 600; font-size: 44px; line-height: 1; }
.svc-price strong small { font-family: var(--body); font-size: 15px; font-weight: 500; color: var(--muted); margin-right: 6px; }
.svc-price span { display: inline-block; padding: 7px 14px; border-radius: 99px; font-size: 13px; box-shadow: inset 0 0 0 1px var(--line-2); }
.svc-price span b { color: var(--gold); }
.svc-shape { position: relative; width: min(560px, 100%); aspect-ratio: 1; justify-self: center; }
.svc-shape::before { content: ""; position: absolute; inset: 12%; border-radius: 50%; background: radial-gradient(circle, rgba(90, 120, 255, .3), transparent 70%); filter: blur(30px); }
html[data-theme="light"] .svc-shape::before { opacity: .35; }

.svc-sec { position: relative; z-index: 1; padding: 100px 0; scroll-margin-top: 90px; }
.svc-sec .head { margin-bottom: 40px; }
.svc-sec h2 { font-size: clamp(40px, 5.4vw, 84px); }
.svc-sec .head p { margin-top: 16px; color: var(--muted); font-size: 18px; max-width: 640px; }

/* що входить */
.incl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.incl li { position: relative; padding: 28px 26px 30px; border-radius: 24px; background: rgb(var(--s1) / .5); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; transition: box-shadow .4s, transform .5s var(--ease); }
.incl li:hover { box-shadow: inset 0 0 0 1px var(--gold); transform: translateY(-4px); }
.incl em { display: block; font-style: normal; font-family: var(--cond); font-weight: 600; font-size: 15px; color: var(--gold); margin-bottom: 30px; }
.incl h3 { font-size: 21px; margin-bottom: 10px; }
.incl p { color: var(--muted); font-size: 15px; }

/* для кого / коли потрібно */
.fit { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.fit ul { display: grid; border-top: 1px solid var(--line); }
.fit li { display: grid; grid-template-columns: 34px 1fr; gap: 10px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
.fit li::before { content: "✓"; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font-size: 13px; color: var(--ink); background: var(--gold); }

/* пакети */
.packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: stretch; }
.pack { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 30px 28px; border-radius: 28px; background: rgb(var(--s1) / .55); box-shadow: inset 0 0 0 1px var(--line-2); }
.pack--hot { background: linear-gradient(160deg, var(--signal), var(--brand)); color: #fff; box-shadow: 0 30px 70px -30px rgba(47, 75, 255, .8); }
.pack--hot p, .pack--hot li { color: rgba(255, 255, 255, .82) !important; }
.pack--hot .pack__tag { background: var(--gold); color: #0B1450; }
.pack__tag { align-self: flex-start; padding: 4px 11px; border-radius: 99px; font-size: 12px; font-weight: 600; box-shadow: inset 0 0 0 1px var(--line-2); }
.pack h3 { font-family: var(--cond); font-weight: 600; text-transform: uppercase; letter-spacing: 0; font-size: 34px; }
.pack > p { color: var(--muted); font-size: 15px; }
.pack ul { display: grid; gap: 8px; margin: 4px 0 8px; }
.pack li { position: relative; padding-left: 20px; color: var(--muted); font-size: 15px; }
.pack li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.pack__meta { display: flex; justify-content: space-between; gap: 12px; align-items: end; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.pack--hot .pack__meta { border-color: rgba(255, 255, 255, .2); }
.pack__meta strong { font-family: var(--cond); font-weight: 600; font-size: 30px; line-height: 1; }
.pack__meta small { display: block; font-size: 12px; opacity: .75; margin-bottom: 4px; }
.pack .btn { margin-top: 6px; }
.pack--hot .btn--ghost { color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .08); }

/* кейси */
.svc-cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.svc-cases .case-card { min-height: 340px; }
.svc-cases--2 { grid-template-columns: repeat(2, 1fr); }
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
.metrics li { padding: 26px 22px; display: grid; gap: 6px; }
.metrics li + li { border-left: 1px solid var(--line); }
.metrics b { font-family: var(--cond); font-weight: 600; font-size: 30px; line-height: 1.05; }
.metrics span { color: var(--muted); font-size: 14px; }

/* інші послуги */
.others { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.others a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 26px 26px; border-radius: 22px; box-shadow: inset 0 0 0 1px var(--line-2); font-family: var(--cond); font-weight: 600; text-transform: uppercase; font-size: 28px; transition: box-shadow .35s, transform .45s var(--ease); }
.others a small { display: block; font-family: var(--body); text-transform: none; font-weight: 500; font-size: 13px; color: var(--muted); margin-top: 4px; }
.others a::after { content: "→"; color: var(--gold); transition: transform .4s var(--ease); }
.others a:hover { box-shadow: inset 0 0 0 1px var(--gold); transform: translateY(-3px); }
.others a:hover::after { transform: translateX(6px); }

.picks { display: flex; flex-wrap: wrap; gap: 6px; }
.picks label { position: relative; cursor: pointer; }
.picks input { position: absolute; opacity: 0; pointer-events: none; }
.picks span { display: inline-block; padding: 9px 14px; border-radius: 99px; font-size: 14px; box-shadow: inset 0 0 0 1px var(--line-2); transition: .25s; }
.picks input:checked + span { background: var(--gold); color: #0B1450; box-shadow: none; }
.picks input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.svc-closer .closer__grid { grid-template-columns: 1fr 1fr; }

@media (max-width: 1100px) {
  .incl, .packs, .svc-cases, .others { grid-template-columns: 1fr 1fr; }
  .fit { grid-template-columns: 1fr; gap: 24px; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .metrics li:nth-child(3) { border-left: 0; }
  .metrics li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 860px) {
  .svc-hero { min-height: 0; padding-top: calc(84px + var(--safe-t)); }
  .svc-hero__grid { display: flex; flex-direction: column-reverse; gap: 0; }
  .svc-shape { width: min(80vw, 340px); margin: -10px auto 0; }
  .svc-hero h1 { font-size: clamp(40px, 11.5vw, 60px); overflow-wrap: anywhere; }
  .svc-hero__lead { font-size: 17px; }
  .svc-sec { padding: 70px 0; }
  .incl, .packs, .svc-cases, .svc-cases--2, .others { grid-template-columns: minmax(0, 1fr); }
  .case-card__meta h3 { overflow-wrap: anywhere; }
  .svc-hero__grid > div { min-width: 0; max-width: 100%; }
  .svc-closer .closer__grid { grid-template-columns: 1fr; }
  .svc-hero .banner__actions { flex-direction: column; }
  .svc-hero .banner__actions .btn { width: 100%; }
}
@media (max-width: 560px) {
  .metrics { grid-template-columns: 1fr; }
  .metrics li + li { border-left: 0; border-top: 1px solid var(--line); }
}
.svc-sec .steps::before { transform: scaleX(0); transition: transform 1.6s var(--ease) .2s; }
.svc-sec .steps:has(li.is-in)::before, html:not(.rv-on) .svc-sec .steps::before { transform: scaleX(1); }
.svc-sec .steps li.is-in::before { background: var(--gold); box-shadow: 0 0 0 4px rgba(216, 150, 31, .18), 0 0 14px var(--gold); }
.svc-sec .steps li.is-in em, html:not(.rv-on) .svc-sec .steps em { color: var(--gold); }
