/* PureMed Services page (below the video banner). Everything is scoped to .svc. */
body .svc { font: 400 1.06rem/1.75 var(--pm-f-body); color: var(--pm-text); -webkit-font-smoothing: antialiased; }
body .svc *, body .svc *::before, body .svc *::after { box-sizing: border-box; }
body .svc :is(h2, h3, p, ol, ul, figure) { margin: 0; }
body .svc a { color: inherit; text-decoration: none; }
body .svc img, body .svc video { max-width: 100%; display: block; }
body .svc .wrap { width: 100%; max-width: var(--pm-wrap); margin: 0 auto; padding: 0 var(--pm-gut); }

/* Type + buttons */
body .svc .eyebrow { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px; font: 600 .76rem/1 var(--pm-f-body); letter-spacing: .28em; text-transform: uppercase; color: var(--pm-accent); }
body .svc .eyebrow::before { content: ""; width: 30px; height: 1px; background: currentColor; }
body .svc .eyebrow--gold { color: var(--pm-accent-soft); }
body .svc .h2 { font: 400 clamp(2rem, 1.3rem + 2.2vw, 3.2rem)/1.1 "Creato Display", var(--pm-f-body); color: var(--pm-ink); letter-spacing: .005em; }
body .svc .h2 em { display: block; font-style: italic; font-weight: 300; color: var(--pm-accent); }
body .svc .h2--light { color: var(--pm-white); }
body .svc .h2--light em { color: var(--pm-accent-soft); }
body .svc .btn { display: inline-flex; align-items: center; justify-content: center; padding: 16px 30px 14px; border: 1px solid transparent; border-radius: 2px; font: 600 .78rem/1 var(--pm-f-body); letter-spacing: .18em; text-transform: uppercase; cursor: pointer; transition: background .35s var(--pm-ease), color .35s var(--pm-ease); white-space: nowrap; }
body .svc .btn--lg { padding: 19px 34px 17px; }
body .svc .btn--dark, body .svc .btn--dark:hover { background: var(--pm-ink); color: var(--pm-white); }
body .svc .btn--dark:hover { background: var(--pm-accent); }
body .svc .btn--gold, body .svc .btn--gold:hover { background: var(--pm-accent); color: var(--pm-white); }
body .svc .btn--gold:hover { background: var(--pm-accent-hover); }
body .svc .btn--line { border-color: rgba(255, 255, 255, .7); color: var(--pm-white); }
body .svc .btn--line:hover { background: var(--pm-white); color: var(--pm-night); }

/* Intro */
body .svc-intro { padding: clamp(72px, 9vw, 130px) 0; background: var(--pm-ivory); }
body .svc-intro__in { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
body .svc-intro__copy > p:not(.eyebrow) { margin-top: 22px; color: var(--pm-muted); max-width: 34em; }
body .svc-trust { list-style: none; padding: 30px 0 0; margin: 34px 0 0; border-top: 1px solid var(--pm-line); display: flex; flex-wrap: wrap; gap: 18px 40px; }
body .svc-trust strong { display: block; font: 400 1.5rem/1.1 "Creato Display", var(--pm-f-body); color: var(--pm-accent); }
body .svc-trust span { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--pm-muted); }
body .svc-intro__depts { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
body .svc a.svc-dept { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: 18px; overflow: hidden; background: var(--pm-night); color: var(--pm-white); }
body .svc-dept video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--pm-ease); }
body .svc-dept::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 16, 19, .05) 35%, rgba(20, 16, 19, .85)); }
body .svc-dept:hover video { transform: scale(1.06); }
body .svc-dept__body { position: absolute; left: 22px; right: 22px; bottom: 22px; z-index: 1; font: 400 1.65rem/1.15 "Creato Display", var(--pm-f-body); }
body .svc-dept__body small { display: block; margin-bottom: 8px; font: 600 .68rem/1 var(--pm-f-body); letter-spacing: .22em; text-transform: uppercase; color: var(--pm-accent-soft); }
body .svc-dept__body em { display: block; margin-top: 8px; font: 400 .9rem/1.45 var(--pm-f-body); font-style: normal; color: rgba(255, 255, 255, .78); }
body .svc-dept:nth-child(2) { margin-top: 48px; }

/* Sticky category nav */
body .svc-nav { position: sticky; top: 88px; z-index: 40; background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-block: 1px solid var(--pm-line); }
.admin-bar .svc-nav { top: 120px; }
body .svc-nav__in { display: flex; justify-content: center; gap: clamp(8px, 3vw, 44px); overflow-x: auto; scrollbar-width: none; }
body .svc-nav__in::-webkit-scrollbar { display: none; }
body .svc-nav a { position: relative; padding: 20px 4px 18px; font: 600 .78rem/1 var(--pm-f-body); letter-spacing: .18em; text-transform: uppercase; color: var(--pm-muted); white-space: nowrap; transition: color .3s; }
body .svc-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--pm-accent); transform: scaleX(0); transition: transform .35s var(--pm-ease); }
body .svc-nav a:hover, body .svc-nav a.is-active { color: var(--pm-ink); }
body .svc-nav a.is-active::after { transform: scaleX(1); }

/* Category sections */
body .svc-cat { padding: clamp(80px, 9vw, 130px) 0; background: var(--pm-white); scroll-margin-top: 150px; }
body .svc-cat--alt { background: var(--pm-ivory); }
body .svc-cat__head { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(36px, 5vw, 80px); align-items: center; margin-bottom: clamp(44px, 5vw, 64px); }
body .svc-cat__head--flip .svc-cat__media { order: 2; }
body .svc-cat__media { position: relative; aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden; background: var(--pm-night); }
body .svc-cat__media video { width: 100%; height: 100%; object-fit: cover; }
body .svc-cat__num { position: absolute; left: 22px; top: 18px; font: 300 3.2rem/1 "Creato Display", var(--pm-f-body); color: rgba(255, 255, 255, .88); text-shadow: 0 2px 20px rgba(0, 0, 0, .35); }
body .svc-cat__intro > p:not(.eyebrow) { margin: 20px 0 30px; color: var(--pm-muted); }

/* Treatment cards */
body .svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
body .svc-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 30px 28px 26px; background: var(--pm-white); border: 1px solid var(--pm-line); border-radius: 14px; transition: transform .45s var(--pm-ease), box-shadow .45s var(--pm-ease), border-color .45s; }
body .svc-cat--alt .svc-card { background: var(--pm-white); }
body .svc-cat:not(.svc-cat--alt) .svc-card { background: var(--pm-ivory); }
body .svc-card:hover { transform: translateY(-6px); border-color: rgba(89, 66, 85, .35); box-shadow: 0 28px 50px -34px rgba(58, 42, 49, .55); }
body .svc-card h3 { font: 400 1.45rem/1.2 "Creato Display", var(--pm-f-body); color: var(--pm-ink); }
body .svc-card p { color: var(--pm-muted); font-size: .98rem; line-height: 1.6; flex: 1; }
body .svc-card__tag { align-self: flex-start; padding: 7px 10px 5px; border-radius: 2px; background: var(--pm-accent); color: var(--pm-white); font: 600 .64rem/1 var(--pm-f-body); letter-spacing: .2em; text-transform: uppercase; }
body .svc-card__more { margin-top: 8px; font: 600 .74rem/1 var(--pm-f-body); letter-spacing: .18em; text-transform: uppercase; color: var(--pm-accent); }
body .svc-card__more::after { content: " →"; transition: margin .3s; }
body .svc-card:hover .svc-card__more::after { margin-left: 6px; }

/* Results */
body .svc-results { padding: clamp(90px, 10vw, 140px) 0; background: var(--pm-night); color: var(--pm-white); }
body .svc-head { text-align: center; max-width: 40rem; margin: 0 auto clamp(44px, 5vw, 64px); }
body .svc-head .eyebrow { justify-content: center; }
body .svc-head > p:not(.eyebrow) { margin-top: 18px; color: rgba(255, 255, 255, .72); }
body .svc-head--left { text-align: left; margin-left: 0; }
body .svc-head--left .eyebrow { justify-content: flex-start; }
body .svc-results__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
body .svc-results figcaption { margin-top: 14px; font: 400 1.25rem/1.2 "Creato Display", var(--pm-f-body); color: var(--pm-white); }
body .svc-results__note { margin-top: 28px; text-align: center; font-size: .82rem; color: rgba(255, 255, 255, .5); }
body .svc .ba { position: relative; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; background: #2a2226; user-select: none; }
body .svc .ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
body .svc .ba__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
body .svc .ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: var(--pm-white); transform: translateX(-1px); pointer-events: none; }
body .svc .ba__handle::after { content: "‹ ›"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 46px; height: 46px; border-radius: 50%; background: var(--pm-white); color: var(--pm-ink); display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0, 0, 0, .3); }
body .svc .ba__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
body .svc .ba__tag { position: absolute; top: 16px; padding: 8px 12px 6px; border-radius: 2px; background: rgba(20, 16, 19, .72); color: var(--pm-white); font: 600 .68rem/1 var(--pm-f-body); letter-spacing: .2em; text-transform: uppercase; pointer-events: none; }
body .svc .ba__tag--l { left: 16px; }
body .svc .ba__tag--r { right: 16px; }

/* Steps */
body .svc-steps { padding: clamp(80px, 9vw, 130px) 0; background: var(--pm-ivory); }
body .svc-steps__list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--pm-line); }
body .svc-steps__list li { padding: 32px 28px 8px 0; }
body .svc-steps__list li + li { padding-left: 28px; border-left: 1px solid var(--pm-line); }
body .svc-steps__list span { font: 300 2.6rem/1 "Creato Display", var(--pm-f-body); color: var(--pm-accent); }
body .svc-steps__list h3 { margin: 18px 0 8px; font: 400 1.4rem/1.2 "Creato Display", var(--pm-f-body); color: var(--pm-ink); }
body .svc-steps__list p { color: var(--pm-muted); font-size: .98rem; line-height: 1.6; }

/* CTA */
body .svc-cta { position: relative; padding: clamp(100px, 12vw, 160px) 0; text-align: center; color: var(--pm-white); background: var(--pm-night); overflow: hidden; }
body .svc-cta__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
body .svc-cta__shade { position: absolute; inset: 0; background: linear-gradient(160deg, rgba(20, 16, 19, .85), rgba(89, 66, 85, .78)); }
body .svc-cta__in { position: relative; max-width: 46rem; }
body .svc-cta__in .eyebrow { justify-content: center; }
body .svc-cta__in > p:not(.eyebrow) { margin: 20px auto 34px; color: rgba(255, 255, 255, .82); }
body .svc-cta__btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
body .svc-cta .svc-cta__dha { margin: 40px auto 0; font-size: .85rem; color: rgba(255, 255, 255, .6); }
body .svc-cta__dha a { text-decoration: underline; text-underline-offset: 3px; }

/* Reveal on scroll */
.js body .svc .rv, .js .svc .rv { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--pm-ease), transform .9s var(--pm-ease); }
.js .svc .rv.in { opacity: 1; transform: none; }

@media (max-width: 1080px) {
  body .svc-grid { grid-template-columns: repeat(2, 1fr); }
  body .svc-steps__list { grid-template-columns: 1fr 1fr; }
  body .svc-steps__list li:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 960px) {
  body .svc-intro__in, body .svc-cat__head { grid-template-columns: 1fr; }
  body .svc-cat__head--flip .svc-cat__media { order: 0; }
  body .svc-nav { top: 76px; }
  .admin-bar .svc-nav { top: 122px; }
}
@media (max-width: 640px) {
  body .svc-grid, body .svc-results__grid { grid-template-columns: 1fr; }
  body .svc-intro__depts { grid-template-columns: 1fr 1fr; gap: 12px; }
  body .svc-dept:nth-child(2) { margin-top: 28px; }
  body .svc-dept__body { left: 14px; right: 14px; bottom: 14px; font-size: 1.15rem; }
  body .svc-dept__body em { display: none; }
  body .svc-nav__in { justify-content: flex-start; }
  body .svc-steps__list { grid-template-columns: 1fr; }
  body .svc-steps__list li, body .svc-steps__list li + li { padding: 26px 0 6px; border-left: 0; }
  body .svc-cta__btns .btn { flex: 1 1 100%; }
}
@media (max-width: 600px) { .admin-bar .svc-nav { top: 76px; } }
@media (prefers-reduced-motion: reduce) { .js .svc .rv { opacity: 1; transform: none; transition: none; } }
