/* Services: the policy and procedure manual, with a 3D binder (built by assets/js/services.js) */
.pf-services-manual { background: var(--wp--preset--color--base); overflow: hidden; }
.pf-services-manual .pf-services-manual__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; max-width: none; }
.pf-services-manual .pf-binder-stage { perspective: 1800px; height: 540px; display: grid; place-items: center; position: relative; }
.pf-services-manual .pf-binder { position: relative; width: 300px; height: 380px; transform-style: preserve-3d; transform: rotateX(14deg) rotateY(-26deg) rotateZ(2deg); transition: transform 1.2s var(--wp--custom--ease); }
.pf-services-manual .pf-binder-stage:hover .pf-binder { transform: rotateX(8deg) rotateY(-12deg); }

.pf-services-manual .pf-binder__page, .pf-services-manual .pf-binder__cover, .pf-services-manual .pf-binder__back { position: absolute; inset: 0; border-radius: 6px 16px 16px 6px; }
.pf-services-manual .pf-binder__back { background: var(--wp--preset--color--primary-dark); transform: translateZ(-26px); box-shadow: 0 40px 60px -30px rgba(14, 26, 51, 0.6); }
.pf-services-manual .pf-binder__page { background: var(--wp--preset--color--base); transform: translateZ(-2px); padding: 34px 34px 30px 44px; box-shadow: inset 8px 0 14px -10px rgba(0, 0, 0, 0.25); }
.pf-services-manual .pf-binder__page h4 { font-size: 1.1rem; font-variation-settings: "wdth" 112; font-weight: 800; margin: 0; }
.pf-services-manual .pf-binder__page ol { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; counter-reset: t; }
.pf-services-manual .pf-binder__page li { counter-increment: t; display: flex; justify-content: space-between; gap: 10px; font-size: 0.84rem; border-bottom: 1px dotted rgba(14, 26, 51, 0.3); padding-bottom: 6px; }
.pf-services-manual .pf-binder__page li::before { content: counter(t) "."; color: var(--wp--preset--color--primary); font-weight: 700; margin-right: 6px; }
.pf-services-manual .pf-binder__page li span { flex: 1; }
.pf-services-manual .pf-binder__rings { position: absolute; left: 14px; top: 40px; bottom: 40px; display: flex; flex-direction: column; justify-content: space-between; }
.pf-services-manual .pf-binder__rings i { width: 14px; height: 14px; border-radius: 50%; border: 3px solid #9aa6bf; background: var(--wp--preset--color--base); }
.pf-services-manual .pf-binder__cover { background: linear-gradient(135deg, #2652ba, var(--wp--preset--color--primary) 55%, var(--wp--preset--color--primary-dark)); transform-origin: left center; transform: translateZ(2px) rotateY(0); transition: transform 1.6s var(--wp--custom--easeInOut); padding: 34px 30px; color: var(--wp--preset--color--base); display: flex; flex-direction: column; backface-visibility: hidden; box-shadow: inset 10px 0 12px -8px rgba(0, 0, 0, 0.35); }
.pf-services-manual.is-in .pf-binder__cover { transform: translateZ(2px) rotateY(-148deg); }
.pf-services-manual .pf-binder__cover::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background-image: linear-gradient(rgba(202, 219, 255, 0.12) 1px, transparent 1px), linear-gradient(90deg, rgba(202, 219, 255, 0.12) 1px, transparent 1px); background-size: 20px 20px; }
.pf-services-manual .pf-binder__cover b { position: relative; font-size: 2rem; font-variation-settings: "wdth" 120; font-weight: 850; letter-spacing: -0.04em; line-height: 0.95; margin-top: auto; }
.pf-services-manual .pf-binder__cover span { position: relative; font-family: var(--wp--preset--font-family--hand); color: var(--wp--preset--color--accent); margin-top: 10px; }
.pf-services-manual .pf-binder__tabs { position: absolute; right: -112px; top: 40px; display: grid; gap: 10px; transform: translateZ(-1px); transform-style: preserve-3d; }
.pf-services-manual .pf-binder__tab { display: block; width: 128px; padding: 10px 12px 10px 22px; border-radius: 0 10px 10px 0; font-size: 0.78rem; font-weight: 700; color: var(--wp--preset--color--base); text-align: left; transform: translateX(-100px); transition: transform 0.6s var(--wp--custom--ease); box-shadow: 0 8px 18px -10px rgba(0, 0, 0, 0.5); }
.pf-services-manual .pf-binder__tab:nth-child(1) { background: var(--wp--preset--color--primary); }
.pf-services-manual .pf-binder__tab:nth-child(2) { background: var(--wp--preset--color--success); }
.pf-services-manual .pf-binder__tab:nth-child(3) { background: var(--wp--preset--color--accent-dark); }
.pf-services-manual .pf-binder__tab:nth-child(4) { background: var(--wp--preset--color--contrast); }
.pf-services-manual.is-in .pf-binder__tab { transform: translateX(0); }
.pf-services-manual.is-in .pf-binder__tab:nth-child(2) { transition-delay: 0.1s; }
.pf-services-manual.is-in .pf-binder__tab:nth-child(3) { transition-delay: 0.2s; }
.pf-services-manual.is-in .pf-binder__tab:nth-child(4) { transition-delay: 0.3s; }
.pf-services-manual .pf-binder-shadow { position: absolute; bottom: 40px; width: 300px; height: 40px; border-radius: 50%; background: radial-gradient(rgba(14, 26, 51, 0.35), transparent 70%); filter: blur(8px); }
.pf-services-manual .pf-mtypes { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pf-services-manual .pf-mtypes li { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 14px; background: var(--wp--preset--color--secondary); font-weight: 700; }
.pf-services-manual .pf-mtypes li::before { content: ""; width: 12px; height: 30px; border-radius: 3px; flex: none; }
.pf-services-manual .pf-mtypes li:nth-child(1)::before { background: var(--wp--preset--color--primary); }
.pf-services-manual .pf-mtypes li:nth-child(2)::before { background: var(--wp--preset--color--success); }
.pf-services-manual .pf-mtypes li:nth-child(3)::before { background: var(--wp--preset--color--accent-dark); }
.pf-services-manual .pf-mtypes li:nth-child(4)::before { background: var(--wp--preset--color--contrast); }
.pf-services-manual .pf-services-manual__cta { margin-top: 30px; }
@media (max-width: 960px) {
	.pf-services-manual .pf-services-manual__grid { grid-template-columns: 1fr; gap: 20px; }
	.pf-services-manual .pf-binder-stage { height: 460px; transform: scale(0.85); }
}
