/* ==========================================================================
   Service (treatment) page: service.php
   Uses tokens, .pg-wrap and .pg-i from nav.css; the article text itself is
   styled only by prose.css. No boxed cards.
   Intro: deep plum band, title and section chips on the left, the treatment
   uncropped 16:9 picture, a facts row with a rotating clinic stamp below it,
   and a soft curve where the band meets the page.
   Body: the article on the left; on the right a sticky column with booking,
   "In this article", helpful resources and related treatments, set off by one hairline.
   ========================================================================== */

.pg-svd { display: block; font-family: var(--pg-font); color: var(--pg-ink); }
.pg-svd a { text-decoration: none; transition: color .2s, background-color .2s, border-color .2s; }
.pg-svd a:focus-visible, .pg-svd summary:focus-visible { outline: 2px solid var(--pg-pink); outline-offset: 3px; border-radius: 6px; }
.pg-svd .visually-hidden {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Reading progress, just under the sticky header bar */
.pg-svd__progress { position: fixed; left: 0; right: 0; top: var(--pg-bar-h); z-index: 998; height: 3px; pointer-events: none; }
.pg-svd__progress span {
	display: block; width: 100%; height: 100%;
	background: linear-gradient(90deg, var(--pg-plum), var(--pg-pink));
	transform: scaleX(0); transform-origin: left;
}

.pg-svd__kicker {
	display: flex; align-items: center; gap: 10px; margin: 0 0 10px;
	font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--pg-pink);
}
.pg-svd__kicker::before { content: ""; width: 22px; height: 2px; background: currentColor; }

/* Buttons */
.pg-svd__btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 0 20px;
	border: 1px solid #ddd8ee; border-radius: 999px; background: #fff;
	font-size: 15px; font-weight: 500; color: var(--pg-ink) !important; white-space: nowrap;
}
.pg-svd__btn .pg-i { width: 18px; height: 18px; color: var(--pg-pink); }
.pg-svd__btn:hover { border-color: var(--pg-plum); }
.pg-svd__btn--primary { background: var(--pg-pink); border-color: var(--pg-pink); color: #fff !important; box-shadow: 0 10px 22px -12px rgba(230, 8, 127, .8); }
.pg-svd__btn--primary .pg-i { color: #fff; }
.pg-svd__btn--primary:hover { background: var(--pg-pink-deep); border-color: var(--pg-pink-deep); }
.pg-svd__btn--wa { background: #e8f8ee; border-color: #c4ebd2; color: #0f6b38 !important; }
.pg-svd__btn--wa .pg-i { color: #1fa855; }
.pg-svd__btn--wa:hover { background: #d9f3e3; border-color: #1fa855; }

/* --------------------------------------------------------------------------
   Intro band
   -------------------------------------------------------------------------- */
.pg-svd__hero {
	position: relative; isolation: isolate; overflow: hidden;
	padding: 22px 0 52px;
	background:
		linear-gradient(160deg, #1d1748 0%, #2c2568 48%, #43307f 100%);
	color: rgba(255, 255, 255, .8);
}
.pg-svd__glow { position: absolute; z-index: -1; border-radius: 50%; filter: blur(80px); pointer-events: none; }
.pg-svd__glow--a { width: 520px; height: 420px; right: 8%; top: -160px; background: rgba(230, 8, 127, .38); }
.pg-svd__glow--b { width: 460px; height: 360px; left: -120px; bottom: -160px; background: rgba(122, 104, 214, .4); }
/* soft wave at the bottom edge of the band */
.pg-svd__hero::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: -1px; z-index: -1; height: 46px;
	background: #fff;
	clip-path: ellipse(70% 100% at 50% 100%);
}

.pg-svd__hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }

.pg-svd__crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 18px; font-size: 13.5px; color: rgba(255, 255, 255, .6); }
.pg-svd__crumbs a { color: rgba(255, 255, 255, .7); }
.pg-svd__crumbs a:hover { color: #fff; }
.pg-svd__crumbs .pg-i { width: 14px; height: 14px; opacity: .55; }

.pg-svd__eyebrow {
	display: flex; align-items: center; gap: 10px; margin: 0 0 14px;
	font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #ff9fd0;
}
.pg-svd__chip { display: inline-grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #ff9fd0; }
.pg-svd__chip .pg-i { width: 17px; height: 17px; }

.pg-svd__title {
	max-width: none; margin: 0 0 14px;
	font: 600 clamp(32px, 3.4vw, 50px)/1.06 var(--pg-font);
	letter-spacing: -.025em; color: #fff; text-transform: none;
}
.pg-svd .pg-svd__title span { display: block; color: #ff8cc6 !important; -webkit-text-fill-color: #ff8cc6; }
.pg-svd__lede { max-width: none; margin: 0; font-size: 16px; line-height: 1.65; color: rgba(255, 255, 255, .78); }
.pg-svd__byline { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 12px 0 0; font-size: 13.5px; color: rgba(255, 255, 255, .7); }
.pg-svd__byline b { font-weight: 600; color: #fff; }
.pg-svd__byline a, .pg-svd__foot b a { color: inherit; text-decoration: underline; text-decoration-color: rgba(230, 8, 127, .5); text-underline-offset: 3px; }

.pg-svd__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.pg-svd__btn--ghost { background: transparent; border-color: rgba(255, 255, 255, .35); color: #fff !important; }
.pg-svd__btn--ghost .pg-i { color: #ff9fd0; }
.pg-svd__btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }

/* Section chips */
.pg-svd__jump { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; margin-top: -18px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .12); }
.pg-svd__jump a {
	padding: 7px 14px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px;
	font-size: 13.5px; color: rgba(255, 255, 255, .82);
}
.pg-svd__jump a:hover { border-color: #ff9fd0; color: #fff; background: rgba(255, 255, 255, .06); }
.pg-svd__jump-more { color: #ff9fd0 !important; }

/* Picture in an arch, hanging over the band into the page */
.pg-svd__arch { position: relative; justify-self: end; width: 100%; max-width: 620px; margin: 0 24px 0 0; }
.pg-svd__arch-frame {
	position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9;
}
/* the whole picture, uncropped, no shadow or glow */
/* sized to the picture itself inside the 16:9 space, so the 8px corners sit on the image */
.pg-svd__arch-frame img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; border-radius: 8px; }
.pg-svd__arch-icon { position: absolute; inset: 0; display: grid; place-items: center; color: #ff9fd0; }
.pg-svd__arch-icon .pg-i { width: 96px; height: 96px; stroke-width: 1.2; }

.pg-svd__stamp { flex: none; width: 58px; height: 58px; margin: -6px 4px -6px 0; }
.pg-svd__stamp circle { fill: var(--pg-pink); }
.pg-svd__stamp path { fill: #fff; }
.pg-svd__stamp text { fill: #fff; font: 600 9.6px var(--pg-font); letter-spacing: 1.6px; }
.pg-svd__stamp-ring { transform-origin: 60px 60px; animation: pg-svd-spin 22s linear infinite; }
@keyframes pg-svd-spin { to { transform: rotate(360deg); } }

.pg-svd__badge {
	display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px;
	margin-top: 16px; font-size: 13.5px; color: rgba(255, 255, 255, .7);
}
.pg-svd__badge b { font-weight: 700; color: #fff; }
.pg-svd__badge span:nth-of-type(1) b { color: #ff9fd0; font-size: 1.15em; }

/* --------------------------------------------------------------------------
   Body: article left, sticky column right
   -------------------------------------------------------------------------- */
.pg-svd__body {
	display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(36px, 5vw, 80px);
	align-items: start; padding-top: 64px; padding-bottom: 72px;
}
.pg-svd__article { width: 100%; min-width: 0; }

.pg-svd__aside {
	position: sticky; top: calc(var(--pg-bar-h) + 24px);
	display: flex; flex-direction: column; gap: 30px;
	padding-left: 32px; border-left: 1px solid var(--pg-line);
}
.pg-svd__aside-title, .pg-svd__toc summary {
	display: flex; align-items: center; gap: 9px; margin: 0 0 10px;
	font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--pg-pink);
}

/* Booking */
.pg-svd__book-title { margin: 0 0 6px; font: 600 22px/1.25 var(--pg-font); color: var(--pg-ink); }
.pg-svd__status { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 13.5px; color: var(--pg-muted); }
.pg-svd__status span { width: 8px; height: 8px; border-radius: 50%; background: #c9c5dc; }
.pg-svd__status.is-open span { background: #1fa855; box-shadow: 0 0 0 4px rgba(31, 168, 85, .15); }
.pg-svd__book-text { margin: 0 0 16px; font-size: 14.5px; line-height: 1.6; color: var(--pg-muted); }
.pg-svd__btn--block { width: 100%; }
.pg-svd__book-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.pg-svd__book-row a {
	display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px;
	border: 1px solid #ddd8ee; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--pg-ink);
}
.pg-svd__book-row a .pg-i { width: 17px; height: 17px; color: var(--pg-pink); }
.pg-svd__book-row a:hover { border-color: var(--pg-plum); }
.pg-svd__book-row a.is-wa .pg-i { color: #1fa855; }
.pg-svd__book-row a.is-wa:hover { border-color: #1fa855; }

/* In this article */
.pg-svd__toc summary { list-style: none; cursor: pointer; }
.pg-svd__toc summary::-webkit-details-marker { display: none; }
.pg-svd__toc-count { margin-left: auto; padding: 2px 8px; border-radius: 999px; background: var(--pg-lilac); font-size: 11.5px; letter-spacing: 0; color: var(--pg-plum); }
.pg-svd__toc ol { margin: 0; padding: 0; list-style: none; }
.pg-svd__toc li { margin: 0; }
.pg-svd__toc a {
	display: flex; gap: 10px; padding: 7px 0;
	font-size: 14.5px; line-height: 1.4; color: var(--pg-muted);
}
.pg-svd__toc a span { flex: none; min-width: 20px; padding-top: 2px; font-size: 12px; font-weight: 700; color: #b8b3d1; }
.pg-svd__toc a:hover { color: var(--pg-plum); }
.pg-svd__toc a.is-active { color: var(--pg-ink); font-weight: 500; }
.pg-svd__toc a.is-active span { color: var(--pg-pink); }

/* Helpful resources (Manage > Services > Links), right column */
.pg-svd__res ul { margin: 0; padding: 0; list-style: none; }
.pg-svd__res li { margin: 0; border-bottom: 1px solid var(--pg-line); }
.pg-svd__res li:first-child { border-top: 1px solid var(--pg-line); }
.pg-svd__res-link { display: flex; align-items: center; gap: 12px; padding: 12px 0; color: inherit; }
.pg-svd__res-icon {
	display: inline-grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 50%;
	background: var(--pg-blush); color: var(--pg-pink); transition: background-color .25s, color .25s;
}
.pg-svd__res-icon .pg-i { width: 18px; height: 18px; }
.pg-svd__res-text { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.pg-svd__res-tag { font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--pg-muted); }
.pg-svd__res-title { font-size: 15px; font-weight: 600; line-height: 1.35; color: var(--pg-ink); transition: color .25s; }
.pg-svd__res-link > .pg-i { flex: none; width: 16px; height: 16px; color: #c4bfdb; transition: transform .3s var(--pg-ease), color .25s; }
.pg-svd__res-link:hover .pg-svd__res-title { color: var(--pg-pink); }
.pg-svd__res-link:hover .pg-svd__res-icon { background: var(--pg-pink); color: #fff; }
.pg-svd__res-link:hover > .pg-i { color: var(--pg-pink); transform: translateX(3px); }

/* Related */
.pg-svd__related ul { margin: 0 0 12px; padding: 0; list-style: none; }
.pg-svd__related li { margin: 0; border-bottom: 1px solid var(--pg-line); }
.pg-svd__rel { display: flex; align-items: center; gap: 12px; padding: 10px 0; color: inherit; }
.pg-svd__rel-media { display: grid; place-items: center; flex: none; width: 58px; height: 58px; overflow: hidden; border-radius: 14px; background: var(--pg-lilac); color: var(--pg-pink); }
.pg-svd__rel-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--pg-ease); }
.pg-svd__rel-media .pg-i { width: 26px; height: 26px; }
.pg-svd__rel-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pg-svd__rel-title { font-size: 15.5px; font-weight: 600; line-height: 1.3; color: var(--pg-ink); transition: color .25s; }
.pg-svd__rel-sub { font-size: 12.5px; color: var(--pg-muted); }
.pg-svd__rel:hover .pg-svd__rel-title { color: var(--pg-pink); }
.pg-svd__rel:hover .pg-svd__rel-media img { transform: scale(1.08); }
html.pg-lazy-ready .pg-svd__rel-media img:not(.is-loaded) { background-image: none; }
.pg-svd__more { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; color: var(--pg-plum); }
.pg-svd__more .pg-i { width: 16px; height: 16px; color: var(--pg-pink); transition: transform .3s var(--pg-ease); }
.pg-svd__more:hover { color: var(--pg-pink); }
.pg-svd__more:hover .pg-i { transform: translateX(4px); }

/* Questions (reuse .pg-faq__item from faq.css) */
.pg-svd__faq { margin-top: 56px; padding-top: 36px; border-top: 1px solid var(--pg-line); scroll-margin-top: calc(var(--pg-bar-h) + 24px); }
.pg-svd__faq h2 { margin: 0 0 14px; font: 600 clamp(23px, 1.4vw + 16px, 30px)/1.25 var(--pg-font); color: var(--pg-ink); text-transform: none; letter-spacing: -.01em; }
.pg-svd__faq .pg-faq__answer.pg-prose { font-size: 16px; }

/* Helpful resources (file/common/helpful-resources.php) */
.pg-svd .helpful-resources { margin-top: 44px; padding: 26px 0 0; border-top: 1px solid var(--pg-line); background: none; }
.pg-svd .helpful-resources h2 { margin: 0 0 12px; font: 600 20px/1.3 var(--pg-font); color: var(--pg-ink); text-transform: none; }
.pg-svd .helpful-resources ul { margin: 0; padding: 0; list-style: none; }
.pg-svd .helpful-resources li { margin: 0; padding: 10px 0; border-bottom: 1px solid var(--pg-line); font-size: 15px; color: var(--pg-muted); }
.pg-svd .helpful-resources strong { font-weight: 600; color: var(--pg-ink); }
.pg-svd .helpful-resources a { color: var(--pg-plum); font-weight: 500; }
.pg-svd .helpful-resources a:hover { color: var(--pg-pink); }

.pg-svd__foot {
	display: flex; flex-direction: column; gap: 4px; margin-top: 44px; padding-top: 20px;
	border-top: 1px solid var(--pg-line); font-size: 13.5px; color: var(--pg-muted);
}
.pg-svd__foot b { font-weight: 600; color: var(--pg-ink); }

/* --------------------------------------------------------------------------
   Smaller screens
   -------------------------------------------------------------------------- */
@media (max-width: 1099.98px) {
	.pg-svd__body { grid-template-columns: minmax(0, 1fr) 290px; gap: 40px; }
	.pg-svd__aside { padding-left: 24px; }
	.pg-svd__arch { margin-right: 16px; }
}

@media (max-width: 899.98px) {
	.pg-svd__hero { padding: 18px 0 44px; }
	.pg-svd__hero-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
	.pg-svd__title { font-size: 32px; }
	.pg-svd__lede { font-size: 16px; }
	.pg-svd__arch { justify-self: stretch; max-width: none; margin: 4px 12px 10px 0; }
	.pg-svd__stamp { width: 48px; height: 48px; }
	.pg-svd__badge { margin-top: 10px; gap: 4px 14px; font-size: 13px; }
	.pg-svd__jump { margin: 0 calc(var(--pg-gutter) * -1); padding: 16px var(--pg-gutter) 2px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
	.pg-svd__jump::-webkit-scrollbar { display: none; }
	.pg-svd__jump a { flex: none; white-space: nowrap; }

	/* One column: contents above the article, booking and related after it */
	.pg-svd__body { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 34px; padding-bottom: 48px; }
	.pg-svd__aside { position: static; display: contents; }
	.pg-svd__toc { order: -1; margin-bottom: 28px; padding: 14px 0; border-top: 1px solid var(--pg-line); border-bottom: 1px solid var(--pg-line); }
	.pg-svd__toc summary { margin: 0; }
	.pg-svd__toc[open] summary { margin-bottom: 10px; }
	.pg-svd__article { max-width: none; }
	.pg-svd__book { margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--pg-line); }
	.pg-svd__res, .pg-svd__related { margin-top: 30px; }
}

@media (max-width: 479.98px) {
	.pg-svd__actions .pg-svd__btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
	.pg-svd__stamp-ring { animation: none; }
	.pg-svd__rel-media img, .pg-svd__more .pg-i { transition: none; }
}
