/* Pricing packages: wide stacking cards. Each card is white with a hairline edge; the left
   panel uses the contact-card pastels (blue, sky, lavender, mint) with a fine grid and a
   soft glow, and holds a white statement panel (plan, price, cash-flow line). While
   scrolling, each card slides up over the previous one; the card underneath eases back
   and dims (driven by --p from pricing.php). */

.pr-stack { display: grid; gap: 40px; padding-bottom: 8px; }

.pr-card { --p: 0; --panel: var(--p-blue); --grid: rgba(20, 69, 194, .08); --glow: rgba(255, 255, 255, .65);
  position: sticky; top: calc(104px + var(--i, 0) * 18px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: 1fr auto; column-gap: 64px;
  min-height: 460px; padding: 12px; border-radius: 40px; background: #fff;
  box-shadow: 0 0 0 1px var(--line), 0 -24px 60px -40px rgba(10, 26, 63, .45), 0 40px 70px -50px rgba(10, 26, 63, .4);
  scale: calc(1 - var(--p) * .06); transform-origin: 50% 0; }
.pr-card--sky  { --panel: var(--p-sky); }
.pr-card--lav  { --panel: var(--p-lav); --grid: rgba(75, 58, 168, .08); }
.pr-card--mint { --panel: var(--p-mint); --grid: rgba(28, 107, 76, .08); }

/* the card underneath dims as the next one covers it */
.pr-dim { position: absolute; inset: 0; z-index: 3; border-radius: inherit; background: #0a1a3f; opacity: calc(var(--p) * .22); pointer-events: none; }

/* left panel */
.pr-media { grid-row: 1 / -1; position: relative; overflow: hidden; isolation: isolate; border-radius: 30px; background: var(--panel); }
.pr-media::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 40px 40px; -webkit-mask-image: linear-gradient(160deg, #000 20%, transparent 85%); mask-image: linear-gradient(160deg, #000 20%, transparent 85%); }
.pr-media::after { content: ""; position: absolute; z-index: -1; left: -120px; top: -140px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(closest-side, var(--glow), transparent); }

/* white statement panel */
.pr-mock { position: absolute; left: 12%; top: 14%; right: -1px; bottom: -1px; display: flex; flex-direction: column; padding: 30px 34px 0; border-radius: 26px 0 0 0; background: #fff; box-shadow: 0 0 0 1px rgba(15, 30, 70, .06), 0 40px 70px -36px rgba(10, 26, 63, .5); }
.pr-mock-top { display: flex; align-items: center; gap: 12px; padding-bottom: 20px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.pr-mock-ic { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: var(--tint); color: var(--brand); }
.pr-mock-ic svg { width: 20px; height: 20px; }
.pr-name { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.pr-from { display: block; font-size: 13.5px; font-weight: 500; color: var(--muted); }
.pr-price { display: block; margin-top: 6px; font-size: clamp(48px, 5vw, 66px); line-height: 1; font-weight: 700; letter-spacing: -0.055em; color: var(--ink); }
.pr-price span { margin-left: 4px; font-size: 17px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.pr-chart { display: block; width: calc(100% + 68px); height: 120px; margin: auto -34px 0; }
.pr-chart-line { stroke-dasharray: 1; stroke-dashoffset: 0; }

/* details */
.pr-copy { grid-column: 2; padding: 52px 44px 0 0; }
.pr-num { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 600; letter-spacing: .12em; color: var(--brand); }
.pr-num i { width: 32px; height: 1px; background: var(--line); }
.pr-title { margin-top: 20px; font-size: clamp(30px, 2.8vw, 40px); line-height: 1.08; font-weight: 700; letter-spacing: -0.04em; color: var(--ink); }
.pr-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; margin-top: 28px; border-top: 1px solid var(--line); font-size: 15.5px; font-weight: 500; line-height: 1.4; color: var(--ink); }
.pr-list li { display: flex; align-items: flex-start; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.pr-list .hv-tick { flex: none; width: 20px; height: 20px; }
.pr-list .hv-tick svg { width: 11px; height: 11px; }
.pr-card > .hv-btn { grid-column: 2; justify-self: start; margin: 32px 0 36px; }

/* scroll entrance (cards stay visible without JS) */
.pr-js .pr-card { opacity: 0; translate: 0 70px; transition: opacity .8s cubic-bezier(.22, .8, .24, 1), translate 1s cubic-bezier(.22, .8, .24, 1); }
.pr-js .pr-card.is-in { opacity: 1; translate: 0 0; }
.pr-js .pr-mock { translate: 0 44px; opacity: 0; transition: translate 1s cubic-bezier(.22, .8, .24, 1) .2s, opacity .8s ease .2s; }
.pr-js .pr-card.is-in .pr-mock { translate: 0 0; opacity: 1; }
.pr-js .pr-chart-line { stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s cubic-bezier(.65, 0, .25, 1) .55s; }
.pr-js .pr-card.is-in .pr-chart-line { stroke-dashoffset: 0; }
.pr-js .pr-list li { opacity: 0; translate: 0 8px; transition: opacity .5s ease, translate .5s cubic-bezier(.22, .8, .24, 1); }
.pr-js .pr-card.is-in .pr-list li { opacity: 1; translate: 0 0; }
.pr-list li:nth-child(1) { transition-delay: .35s; } .pr-list li:nth-child(2) { transition-delay: .4s; }
.pr-list li:nth-child(3) { transition-delay: .45s; } .pr-list li:nth-child(4) { transition-delay: .5s; }
.pr-list li:nth-child(5) { transition-delay: .55s; } .pr-list li:nth-child(6) { transition-delay: .6s; }
.pr-list li:nth-child(7) { transition-delay: .65s; } .pr-list li:nth-child(8) { transition-delay: .7s; }
@media (prefers-reduced-motion: reduce) {
  .pr-card { scale: 1; }
  .pr-dim { display: none; }
  .pr-js .pr-card, .pr-js .pr-mock, .pr-js .pr-list li { opacity: 1; translate: none; transition: none; }
  .pr-js .pr-chart-line { stroke-dashoffset: 0; transition: none; }
}

@media (max-width: 1000px) {
  .pr-card { column-gap: 36px; min-height: 420px; }
  .pr-copy { padding: 36px 24px 0 0; }
  .pr-list { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .pr-stack { gap: 20px; }
  .pr-card { position: relative; top: auto; scale: 1; grid-template-columns: 1fr; grid-template-rows: auto; min-height: 0; padding: 10px; border-radius: 30px; }
  .pr-dim { display: none; }
  .pr-media { grid-row: auto; height: 270px; border-radius: 22px; }
  .pr-copy { grid-column: 1; padding: 26px 16px 0; }
  .pr-card > .hv-btn { grid-column: 1; margin: 24px 16px 18px; }
}

/* ---------- consultation form ----------
   White card like the plan cards: Advanced-blue panel (fine grid, glow) with the heading on
   the left, the form on the right with icon fields that turn white with a brand ring. */
.pr-consult { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 0; padding: 12px; border-radius: 40px; background: #fff;
  box-shadow: 0 0 0 1px var(--line), 0 40px 70px -50px rgba(10, 26, 63, .4); }
.pr-consult-copy { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; min-height: 460px; padding: 48px 44px; border-radius: 30px; color: rgba(255, 255, 255, .8);
  background: linear-gradient(150deg, #587edb 0%, #1445c2 60%, #0f379e 100%); }
.pr-consult-copy::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .09) 1px, transparent 1px); background-size: 40px 40px; -webkit-mask-image: linear-gradient(200deg, #000 15%, transparent 75%); mask-image: linear-gradient(200deg, #000 15%, transparent 75%); }
.pr-consult-copy::after { content: ""; position: absolute; z-index: -1; right: -140px; top: -160px; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .22), transparent); }
.pr-consult-ic { display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px; margin-bottom: auto; border-radius: 18px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); color: #fff; }
.pr-consult-ic svg { width: 28px; height: 28px; }
.pr-consult h2 { margin-top: 40px; font-size: clamp(30px, 3.2vw, 44px); color: #fff; }
.pr-consult h2 .hv-accent { color: #fff; opacity: .78; }
.pr-consult .hv-lead { margin-top: 18px; max-width: 440px; font-size: 17px; color: rgba(255, 255, 255, .85); }

.pr-form { display: grid; grid-template-columns: 1fr 1fr; align-content: center; gap: 14px; padding: 44px 40px 44px 48px; }
.pr-form > * { grid-column: 1 / -1; }
.pr-form > .pr-f:not(.is-full) { grid-column: auto; }
.pr-f { position: relative; display: block; }
.pr-f svg { position: absolute; left: 18px; top: 19px; width: 19px; height: 19px; color: var(--muted); pointer-events: none; transition: color .2s ease; }
.pr-f input, .pr-f textarea { display: block; width: 100%; height: 58px; padding: 0 18px 0 50px; border: 1px solid transparent; border-radius: 16px; background: var(--alt); font: inherit; font-size: 15.5px; color: var(--ink); transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease; }
.pr-f textarea { height: 140px; padding-top: 17px; resize: vertical; }
.pr-f input::placeholder, .pr-f textarea::placeholder { color: #8b95ab; }
.pr-f input:hover, .pr-f textarea:hover { border-color: #d3dcef; }
.pr-f input:focus, .pr-f textarea:focus { outline: 0; background: #fff; border-color: var(--brand); box-shadow: 0 0 0 5px rgba(20, 69, 194, .1); }
.pr-f:focus-within svg { color: var(--brand); }
.pr-form .hv-btn { width: 100%; margin-top: 6px; }

@media (max-width: 1000px) {
  .pr-consult { grid-template-columns: 1fr; }
  .pr-consult-copy { min-height: 0; }
  .pr-consult-ic { margin-bottom: 0; }
}
@media (max-width: 640px) {
  .pr-consult { padding: 10px; border-radius: 30px; }
  .pr-consult-copy { padding: 32px 24px; border-radius: 22px; }
  .pr-form { grid-template-columns: 1fr; padding: 28px 14px 18px; }
  .pr-form > .pr-f:not(.is-full) { grid-column: 1 / -1; }
}

/* Plans sold through /start/: recommended badge, unpriced plan, tagline, note */
.pr-badge { position: absolute; z-index: 4; top: -14px; left: 40px; padding: 6px 14px; border-radius: 999px; background: #ffe58a; color: #3b2f00; font-size: 13px; font-weight: 700; }
.pr-price--text { font-size: clamp(32px, 3.4vw, 44px); letter-spacing: -0.03em; }
.pr-tagline { margin: 6px 0 18px; font-size: 16px; line-height: 1.5; color: var(--body); }
.pr-note { margin: 28px 0 0; font-size: 14.5px; color: var(--muted); text-align: center; }
.pr-note a { color: var(--brand); font-weight: 600; }
