/* =========================================================================
   Service · "PGH solves your worries" — Framer "WorryPhotos"
   (worry bubble gets struck through, the circle turns navy, a gold "Solved" stamp lands)
   ========================================================================= */
.wp { --gold: #C8A96A; --s: 120px; width: 100%; box-sizing: border-box; overflow-x: clip; color: #0B1B3F; font-family: 'DM Sans', 'Noto Sans SC', sans-serif; padding: 110px 40px;
  background: radial-gradient(ellipse at 50% 0%, color-mix(in srgb, #C8A96A 14%, transparent), transparent 55%), linear-gradient(180deg, #F6F6F6, #F6F6F6); }
.wp-in { max-width: 1100px; margin: 0 auto; }
.wp-head { text-align: center; margin-bottom: 50px; }
.wp-eyebrow { display: inline-flex; align-items: center; gap: 14px; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #C8A96A; margin-bottom: 14px; }
.wp-eyebrow i { width: 30px; height: 1px; background: #C8A96A; }
.wp-title { margin: 0; font-size: 44px; font-weight: 500; line-height: 1.15; letter-spacing: -.01em; color: #0B1B3F; text-wrap: balance; }
.wp-title b { font-weight: inherit; color: #C8A96A; }
.wp [data-wp] { opacity: 0; transform: translateY(22px); }
.wp.is-in [data-wp] { opacity: 1; transform: none; transition: opacity .7s ease var(--d, 0s), transform .9s cubic-bezier(0.22, 1, 0.36, 1) var(--d, 0s); }

.wp-grid { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; column-gap: 30px; row-gap: 56px; }
.wp-item { display: flex; flex-direction: column; align-items: center; width: calc(var(--s) + 60px); text-align: center; translate: 0 var(--dr, 0px); }
.wp-slot { order: -1; min-height: 66px; width: 100%; display: flex; align-items: flex-end; justify-content: center; }
.wp-bubble { position: relative; display: inline-block; padding: 8px 16px; border-radius: 14px; background: #fff; border: 1px solid rgba(11, 27, 63, .08); color: #0B1B3F; font-size: 16.5px; font-weight: 800; line-height: 1.35;
  box-shadow: 0 14px 26px -14px rgba(11, 27, 63, .5); opacity: 0; transform: translateY(14px) rotate(4deg) scale(.8); transition: opacity .4s ease calc(var(--d) + .25s), transform .6s cubic-bezier(0.34, 1.56, 0.64, 1) calc(var(--d) + .25s), background .5s ease, color .5s ease; }
.wp-bubble::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 12px; height: 12px; margin-left: -6px; rotate: 45deg; background: #fff; transition: background .5s ease; }
.wp-item.is-in .wp-bubble { opacity: 1; transform: rotate(-2deg); }
.wp-item.is-solved .wp-bubble { background: rgba(255, 255, 255, .9); color: #8A90A0; text-decoration: line-through; text-decoration-color: color-mix(in srgb, #C8A96A 80%, transparent); box-shadow: 0 6px 14px -10px rgba(11, 27, 63, .35); }
.wp-item.is-solved .wp-bubble::after { background: rgba(255, 255, 255, .9); }
.wp-item:hover .wp-bubble { animation: wpWob .5s ease; }

.wp-circle { position: relative; flex-shrink: 0; width: var(--s); height: var(--s); margin-top: 30px; opacity: 0; transform: scale(.6) rotate(-8deg); transition: opacity .5s ease var(--d), transform .8s cubic-bezier(0.34, 1.56, 0.64, 1) var(--d); }
.wp-item.is-in .wp-circle { opacity: 1; transform: none; }
.wp-ring { position: absolute; inset: -6px; border-radius: 50%; background: conic-gradient(from 0deg, #C8A96A, transparent 30%, #C8A96A 50%, transparent 80%, #C8A96A); opacity: .35; animation: wpSpin 9s linear infinite; transition: opacity .6s ease; }
.wp-item.is-solved .wp-ring { opacity: 1; }
.wp-item:hover .wp-ring { animation-duration: 2.5s; }
.wp-ringbg { position: absolute; inset: -2px; border-radius: 50%; background: #F6F6F6; }
.wp-face { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; background: #FBF6EC; box-shadow: inset 0 0 0 1px rgba(200, 169, 106, .25); display: flex; align-items: center; justify-content: center; text-align: center; box-sizing: border-box; padding: 16%; transition: background .8s ease, box-shadow .8s ease; }
.wp-item.is-solved .wp-face { background: radial-gradient(circle at 35% 30%, #1D3266, #0B1B3F); box-shadow: 0 20px 40px -18px rgba(11, 27, 63, .55); }
.wp-word { font-weight: 700; line-height: 1.1; letter-spacing: -.01em; text-wrap: balance; color: #0B1B3F; font-size: calc(var(--s) * var(--f)); transition: color .8s ease, transform .6s cubic-bezier(0.22, 1, 0.36, 1); }
.wp-item.is-solved .wp-word { color: #C8A96A; }
.wp-item:hover .wp-word { transform: scale(1.06); }
.wp-stamp { position: absolute; right: 2px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: linear-gradient(135deg, #F3DE9E, #C8A96A 55%, #A8843F); color: #0B1B3F; font-size: 13px; font-weight: 800; white-space: nowrap; box-shadow: 0 10px 20px -8px rgba(0, 0, 0, .6);
  opacity: 0; transform: rotate(-30deg) scale(2); transition: transform .45s cubic-bezier(0.34, 1.56, 0.64, 1), opacity .2s ease; }
.wp-item.is-solved .wp-stamp { opacity: 1; transform: rotate(-8deg) scale(1); }

.wp-ans { order: 2; width: 100%; display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s cubic-bezier(0.22, 1, 0.36, 1); }
.wp-item.is-solved .wp-ans { grid-template-rows: 1fr; }
.wp-ans > div { overflow: hidden; }
.wp-ans p { margin: 0 auto; padding-top: 22px; max-width: 280px; font-size: 15.5px; line-height: 1.65; color: #4A5568; opacity: 0; transform: translateY(10px); transition: opacity .5s ease .15s, transform .6s cubic-bezier(0.22, 1, 0.36, 1) .15s; }
.wp-item.is-solved .wp-ans p { opacity: 1; transform: none; }

@keyframes wpSpin { to { transform: rotate(360deg); } }
@keyframes wpWob { 0%, 100% { transform: rotate(-2deg); } 25% { transform: rotate(3deg) scale(1.04); } 75% { transform: rotate(-4deg); } }

@media (max-width: 699.98px) {
  .wp { --s: 110px; padding: 64px 18px; }
  .wp-head { margin-bottom: 30px; } .wp-title { font-size: 28px; }
  .wp-grid { flex-direction: column; align-items: stretch; row-gap: 22px; }
  .wp-item { width: 100%; display: grid; grid-template-columns: var(--s) minmax(0, 1fr); column-gap: 16px; align-items: center; text-align: left; translate: none; }
  .wp-circle { grid-column: 1; grid-row: 1 / span 2; margin-top: 0; }
  .wp-slot { order: 0; grid-column: 2; grid-row: 1; min-height: 0; justify-content: flex-start; }
  .wp-bubble { padding: 6px 12px; font-size: 14px; } .wp-bubble::after { display: none; }
  .wp-ans { order: 0; grid-column: 2; grid-row: 2; margin-top: 8px; } .wp-ans p { margin: 0; padding-top: 0; font-size: 14px; max-width: none; }
  .wp-stamp { right: -8px; bottom: -4px; padding: 4px 9px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { .wp [data-wp], .wp-bubble, .wp-circle { opacity: 1 !important; transform: none !important; transition: none !important; } .wp-ring { animation: none; } .wp-bubble { transform: rotate(-2deg) !important; } }
