/* Fees and session planner. Tokens from site.css (design plan). */

/* ---------- opener: the planner ---------- */
.fx-open { background: linear-gradient(180deg, #F3F4FC 0%, var(--mist) 55%, #F3EEF4 100%); padding: calc(var(--head-h) + 30px) 0 40px; overflow: clip; isolation: isolate; }
.fx-open::before { content: ''; position: absolute; z-index: -1; width: 56vw; height: 56vw; left: -16vw; top: -12vw; border-radius: 50%; background: radial-gradient(closest-side, rgba(239,164,106,.18), rgba(142,134,208,.14) 55%, transparent 72%); animation: glowDrift 18s ease-in-out infinite alternate; pointer-events: none; }
.fx-threads { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; overflow: visible; }
.fx-threads path { fill: none; stroke: var(--peri-soft); stroke-width: 1.4; vector-effect: non-scaling-stroke; opacity: .7; }
.fx-threads path:nth-child(3n+2) { stroke: var(--lilac); opacity: .55; }
.fx-threads path:nth-child(4n) { stroke: var(--glow); opacity: .7; }
.fx-open__head { margin-bottom: 16px; }
.fx-title { font-size: clamp(2.4rem, 4.6vw, 4.4rem); line-height: 1.02; font-weight: 400; letter-spacing: -.02em; margin: 0; }
.fx-lede { margin: 8px 0 0; font-size: clamp(1.1rem, 1.3vw, 1.22rem); color: var(--muted); }

/* panel */
.planner { position: relative; }
.pl { position: relative; margin: 0; background: #fff; border-radius: var(--r); padding: 20px 28px 20px; box-shadow: 0 40px 80px -46px rgba(22,26,61,.5), 0 0 0 1px rgba(22,26,61,.06);
  display: grid; grid-template-columns: 286px minmax(0, 1fr) minmax(0, 1.12fr); grid-template-areas: 'help config result' 'help config foot'; grid-template-rows: auto 1fr; gap: 0 32px; }
.pl fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.pl-label { display: block; margin: 0 0 10px; padding: 0; font: 600 .875rem/1.3 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--peri-deep); }
.pl-help { grid-area: help; border-right: 1px solid var(--line) !important; padding-right: 26px !important; }
.pl-config { grid-area: config; min-width: 0; }
.pl-result { grid-area: result; min-width: 0; }
.pl-foot { grid-area: foot; align-self: end; border-top: 1px solid var(--line); padding-top: 14px; margin-top: 16px; }

/* chips: a radio group, arrow keys move through it natively */
.pl-chips { display: grid; gap: 3px; }
.chip { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 36px; padding: 6px 12px 6px 14px; border-radius: var(--rb); cursor: pointer; color: var(--ink); font-weight: 600; font-size: .95rem; line-height: 1.25; isolation: isolate; transition: color .35s var(--ease); }
.chip::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--mist); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.chip:hover::before { transform: scaleX(1); }
.chip::after { content: ''; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; background: var(--glow); transform: scaleY(0); transition: transform .4s var(--ease); }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.chip__from { flex: 0 0 auto; font-weight: 400; font-size: .875rem; color: var(--muted); transition: color .35s; }
.chip.is-on, .chip:has(input:checked) { color: #fff; }
.chip.is-on::before, .chip:has(input:checked)::before { background: var(--ink); transform: scaleX(1); }
.chip.is-on::after, .chip:has(input:checked)::after { transform: scaleY(1); }
.chip.is-on .chip__from, .chip:has(input:checked) .chip__from { color: var(--peri-soft); }
.chip:has(input:focus-visible) { outline: 3px solid var(--glow); outline-offset: 2px; }
.chip--gap { margin-top: 9px; }
.chip--gap > .chip__name::before { content: ''; position: absolute; left: 0; right: 0; top: -6px; height: 1px; background: var(--line); }

/* the chosen item */
.pl-pick__media { position: relative; aspect-ratio: 2 / 1; border-radius: var(--r); overflow: clip; background: var(--mist); }
.pl-pick__img { position: absolute; inset: 0; opacity: 0; visibility: hidden; }
.pl-pick__img.is-on { opacity: 1; visibility: visible; }
.pl-pick__img img { width: 100%; height: 100%; object-fit: cover; animation: breathe 14s ease-in-out infinite alternate; }
.pl-pick__title { margin: 14px 0 4px; font: 450 1.35rem/1.2 var(--display); color: var(--ink); }
.pl-pick__desc { margin: 0 0 16px; color: var(--muted); font-size: .97rem; line-height: 1.5; min-height: 3em; }
.pl-opt[hidden] { display: none; }
.pl-note--m { display: none; }
.pl-range__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.pl-range__head .pl-label { margin: 0; }
.pl-range__out { font: 450 1.35rem/1 var(--display); color: var(--ink); white-space: nowrap; }
.pl-range { --p: 33.3%; -webkit-appearance: none; appearance: none; width: 100%; height: 44px; margin: 2px 0 0; background: transparent; cursor: pointer; }
.pl-range::-webkit-slider-runnable-track { height: 4px; background: linear-gradient(90deg, var(--peri) var(--p), rgba(76,102,168,.18) var(--p)); }
.pl-range::-moz-range-track { height: 4px; background: linear-gradient(90deg, var(--peri) var(--p), rgba(76,102,168,.18) var(--p)); }
.pl-range::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -11px; background: var(--glow); border: 2px solid var(--ink); border-radius: var(--rb); box-shadow: 0 6px 14px -6px rgba(22,26,61,.6); transition: transform .25s var(--ease); }
.pl-range::-moz-range-thumb { width: 22px; height: 22px; background: var(--glow); border: 2px solid var(--ink); border-radius: var(--rb); }
.pl-range:active::-webkit-slider-thumb { transform: scale(1.15); }
.pl-range:focus-visible { outline: 3px solid var(--glow); outline-offset: 4px; }
.pl-range__ends { display: flex; justify-content: space-between; font-size: .875rem; color: var(--muted); margin-top: -10px; }
.pl-note { margin: 10px 0 0; font-size: .95rem; color: var(--muted); line-height: 1.45; }
.seg { margin-bottom: 12px !important; }
.seg__row { display: grid; grid-template-columns: 1fr 1fr; border: 1.5px solid var(--ink); }
.seg__row label { position: relative; cursor: pointer; }
.seg__row input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.seg__row span { display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 8px 12px; font-weight: 600; color: var(--ink); background: #fff; transition: background .35s var(--ease), color .35s var(--ease); }
.seg__row label + label span { border-left: 1.5px solid var(--ink); }
.seg__row input:checked + span { background: var(--ink); color: #fff; }
.seg__row input:focus-visible + span { outline: 3px solid var(--glow); outline-offset: -5px; }
.seg__row label:hover input:not(:checked) + span { background: var(--mist); }

/* result */
.pl-total { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 18px; margin: -4px 0 6px; }
.pl-total__n { display: inline-block; min-width: 4.1ch; font: 400 clamp(3.2rem, 4.6vw, 4.4rem)/1 var(--display); letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums lining-nums; }
.pl-save { display: inline-flex; align-items: center; min-height: 34px; padding: 5px 12px; background: var(--glow); color: var(--ink); font-weight: 600; font-size: .95rem; transform-origin: left center; }
.pl-save.is-off { visibility: hidden; }
.pl-pips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-height: 30px; margin: 4px 0 10px; padding: 0; list-style: none; }
.pip-grp { display: inline-flex; gap: 5px; padding: 5px 7px; border: 1.5px solid var(--peri-soft); border-radius: var(--r); }
.pip-grp--4 { border-color: var(--lilac); }
.pip { width: 14px; height: 14px; border-radius: 50%; background: var(--peri); display: block; }
.pip-grp--4 .pip { background: var(--lilac); }
.pip--one { background: transparent; border: 2px solid var(--glow-deep); }
.pip--follow { background: transparent; border: 2px dashed var(--peri-soft); }
.pip-cap { font-size: .875rem; color: var(--muted); margin-left: 4px; }
.pl-lines { margin: 0 0 12px; padding: 0; list-style: none; min-height: 58px; }
.pl-lines li { display: flex; justify-content: space-between; gap: 16px; padding: 5px 0; border-bottom: 1px dashed var(--line); font-size: .98rem; }
.pl-lines li span:last-child { font-weight: 600; font-variant-numeric: tabular-nums; }
.pl-bars { display: grid; gap: 8px; margin-bottom: 10px; }
.pl-bars[hidden] { display: none; }
.bar { display: grid; grid-template-columns: 1fr auto; gap: 3px 10px; font-size: .9rem; }
.bar__label { color: var(--muted); }
.bar__val { font-weight: 600; font-variant-numeric: tabular-nums; }
.bar__track { grid-column: 1 / -1; position: relative; height: 10px; background: rgba(22,26,61,.07); overflow: hidden; }
.bar__fill { position: absolute; inset: 0; transform-origin: left; background: var(--peri-soft); transform: scaleX(var(--w, .4)); }
.bar--best .bar__fill { background: var(--peri); }
.bar__gap { position: absolute; top: 0; bottom: 0; left: var(--g0, 37.5%); width: var(--gw, 2.5%); background: repeating-linear-gradient(135deg, var(--glow) 0 3px, transparent 3px 6px); }
.pl-tip { margin: 0 0 10px; padding: 9px 12px; background: var(--dusk); border-left: 3px solid var(--glow); font-size: .93rem; line-height: 1.45; }
.pl-tip[hidden] { display: none; }
.pl-incl { margin: 0; padding: 0; list-style: none; display: grid; gap: 3px; }
.pl-incl li { display: flex; align-items: flex-start; gap: 10px; font-size: .95rem; line-height: 1.4; }
.pl-incl svg, .fx-card__incl svg { flex: 0 0 auto; width: 14px; height: 11px; margin-top: .35em; fill: none; stroke: var(--glow-deep); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pl-guide { margin: 0 0 10px; font-size: .95rem; color: var(--muted); }
.pl-foot__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
.pl-phone { display: inline-flex; align-items: center; min-height: 46px; font-weight: 600; color: var(--ink); }

/* no JS: a plain price list instead of the planner */
.pl-static { display: none; background: #fff; border-radius: var(--r); padding: 26px 28px; box-shadow: 0 0 0 1px rgba(22,26,61,.08); }
.pl-static ul { margin: 0 0 14px; padding: 0; list-style: none; columns: 2; column-gap: 48px; }
.pl-static li { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px dashed var(--line); break-inside: avoid; }
.pl-static li span:last-child { font-weight: 600; white-space: nowrap; }
.no-js .pl { display: none; }
.no-js .pl-static { display: block; }

/* first paint: the opener settles in; a CSS safety net completes it at 1.5 s if scripts are late */
.js:not(.rm) .fx-title { opacity: 0; animation: fxSafe .6s 1.5s both; }
.js:not(.rm) .fx-lede { opacity: 0; animation: fxSafe .6s 1.5s both; }
.js:not(.rm) .pl { clip-path: inset(0 0 100% 0 round 8px); animation: fxPanel .8s 1.5s both; }
.fx-open.is-go .fx-title, .fx-open.is-go .fx-lede, .fx-open.is-go .pl { animation: none; opacity: 1; }
.fx-open.is-go .pl { clip-path: none; }
@keyframes fxSafe { to { opacity: 1; } }
@keyframes fxPanel { to { clip-path: inset(0 0 0 0 round 8px); } }

@media (max-width: 1240px) {
  .pl { grid-template-columns: 250px minmax(0, 1fr); grid-template-areas: 'help config' 'help result' 'help foot'; grid-template-rows: auto auto 1fr; }
  .pl-result { margin-top: 22px; }
  .pl-pick__media { aspect-ratio: 21 / 9; }
}
@media (max-width: 860px) {
  .fx-open { padding: calc(var(--head-h) + 10px) 0 40px; }
  .fx-open__head { margin-bottom: 16px; }
  .fx-lede { margin: 6px 0 0; font-size: 1.05rem; line-height: 1.45; }
  .pl { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'help' 'config' 'result' 'foot'; grid-template-rows: none; padding: 16px 16px 20px; }
  .pl-help { border-right: 0 !important; padding-right: 0 !important; margin: 0 -16px; }
  .pl-help .pl-label { padding: 0 16px; margin-bottom: 8px; }
  .pl-chips { grid-auto-flow: column; grid-template-rows: repeat(2, auto); grid-auto-columns: max-content; gap: 6px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: 16px; padding: 3px 16px 8px; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 28px), transparent); }
  .pl-chips::-webkit-scrollbar { display: none; }
  .chip { min-height: 42px; padding: 8px 14px; scroll-snap-align: start; border: 1px solid var(--line); white-space: nowrap; font-size: .93rem; }
  .chip::after { display: none; }
  .chip__from { display: none; }
  .chip--gap { margin-top: 0; }
  .chip--gap > .chip__name::before { display: none; }
  .pl-pick { display: none; }
  .pl-note--d { display: none; }
  .pl-note--m { display: block; }
  .pl-config { margin-top: 12px; }
  .pl-result { margin-top: 12px; }
  .pl-total__n { font-size: 3rem; }
  .pl-label { font-size: .875rem; letter-spacing: .06em; }
}

/* ---------- therapy sessions ---------- */
.fx-sessions { background: var(--white); padding: clamp(64px, 5vw, 84px) 0 clamp(56px, 4.6vw, 76px); overflow: clip; isolation: isolate; }
.fx-sessions .sec-head { margin-bottom: clamp(26px, 2.6vw, 40px); }
.fx-sessions__grid { display: grid; grid-template-columns: minmax(0, 1fr) min(26vw, calc(var(--media-cap) * .66)); gap: clamp(36px, 5vw, 80px); align-items: center; }
.fx-ladder { position: relative; }
.fx-ladder__line { position: absolute; left: 0; top: 0; width: 100%; height: 90px; overflow: visible; pointer-events: none; }
.fx-ladder__path { fill: none; stroke: var(--glow); stroke-width: 2.5; stroke-linecap: round; }
.fx-prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.fx-price { position: relative; padding: 88px 26px 0; text-align: center; }
.fx-price + .fx-price { border-left: 1px solid var(--line); }
.fx-price__node { position: absolute; left: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: #fff; border: 2.5px solid var(--peri); }
.fx-price:nth-child(1) .fx-price__node { top: 22px; }
.fx-price:nth-child(2) .fx-price__node { top: 46px; }
.fx-price:nth-child(3) .fx-price__node { top: 70px; }
.fx-price__node::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--glow); }
.fx-price__name { font-family: var(--body); font-weight: 600; font-size: 1.05rem; letter-spacing: 0; color: var(--peri-deep); margin: 0 0 .2em; }
.fx-price__n { font: 400 clamp(3rem, 4.6vw, 4.4rem)/1 var(--display); letter-spacing: -.03em; margin: 0 0 8px; color: var(--ink); font-variant-numeric: lining-nums; }
.fx-price__per { color: var(--muted); margin: 0 0 10px; }
.fx-dots { display: flex; justify-content: center; gap: 7px; min-height: 14px; margin-bottom: 8px; }
.fx-dots i { width: 12px; height: 12px; border-radius: 50%; background: var(--peri); display: block; }
.fx-price:nth-child(2) .fx-dots i { background: var(--lilac); }
.fx-price:nth-child(1) .fx-dots i { background: transparent; border: 2px solid var(--glow-deep); }
.fx-try { display: inline-flex; align-items: center; gap: .5em; min-height: 44px; font-weight: 600; font-size: .95rem; color: var(--peri-deep); text-decoration: underline; text-decoration-color: rgba(61,85,146,.35); text-underline-offset: .25em; transition: text-decoration-color .3s, color .3s; }
.fx-try::after { content: ''; width: 18px; height: 10px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 12'%3E%3Cpath d='M0 6h22M17 1l5 5-5 5' fill='none' stroke='%23000' stroke-width='1.8'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 12'%3E%3Cpath d='M0 6h22M17 1l5 5-5 5' fill='none' stroke='%23000' stroke-width='1.8'/%3E%3C/svg%3E") center / contain no-repeat; transform: rotate(-90deg); transition: transform .35s var(--ease); }
.fx-try:hover { color: var(--ink); text-decoration-color: currentColor; }
.fx-try:hover::after { transform: rotate(-90deg) translateX(4px); }
.fx-promise { display: flex; gap: 22px; align-items: flex-start; margin-top: clamp(22px, 2.4vw, 34px); padding: 20px 26px; background: var(--mist); border-radius: var(--r); }
.fx-promise__mark { flex: 0 0 auto; width: 44px; height: 44px; fill: none; stroke: var(--glow-deep); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.fx-promise h3 { margin: 0 0 .3em; font-size: clamp(1.3rem, 1.6vw, 1.55rem); }
.fx-promise p { margin: 0; color: var(--muted); }
.fx-sessions__media { aspect-ratio: 4 / 5; width: 100%; max-height: var(--media-cap); }
@media (max-width: 960px) {
  .fx-sessions__grid { grid-template-columns: 1fr; }
  .fx-sessions__media { width: min(100%, 420px); aspect-ratio: 4 / 3; }
}
@media (max-width: 700px) {
  .fx-ladder__line { display: none; }
  .fx-prices { grid-template-columns: 1fr; gap: 0; }
  .fx-price { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0 16px; text-align: left; padding: 18px 0 14px; }
  .fx-price + .fx-price { border-left: 0; border-top: 1px solid var(--line); }
  .fx-price__node { display: none; }
  .fx-price__name { grid-column: 1; }
  .fx-price__n { grid-column: 2; grid-row: 1 / span 2; font-size: 2.8rem; margin: 0; }
  .fx-price__per { grid-column: 1; margin: 0; }
  .fx-dots { grid-column: 1 / -1; justify-content: flex-start; margin: 10px 0 2px; }
  .fx-try { grid-column: 1 / -1; }
  .fx-promise { padding: 20px; gap: 14px; }
  .fx-promise__mark { width: 34px; height: 34px; }
}

/* ---------- programmes ---------- */
.fx-prog { background: var(--dusk); padding: var(--sec) 0; overflow: clip; }
.fx-prog__line { position: absolute; left: 0; right: 0; top: 18px; }
.fx-prog__line path { stroke: var(--glow); }
.fx-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 1.6vw, 24px); margin: 0; padding: 0; list-style: none; perspective: 1400px; }
.fx-card { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--r); box-shadow: 0 30px 60px -40px rgba(22,26,61,.55); will-change: transform; }
.fx-card__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: clip; border-radius: var(--r) var(--r) 0 0; }
.fx-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: breathe 14s ease-in-out infinite alternate; }
.fx-card:nth-child(2) .fx-card__media img { animation-delay: -4s; }
.fx-card:nth-child(3) .fx-card__media img { animation-delay: -8s; }
.fx-card:nth-child(4) .fx-card__media img { animation-delay: -11s; }
.fx-card__body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 18px; }
.fx-card__title { font-size: clamp(1.3rem, 1.5vw, 1.5rem); margin: 0 0 .3em; }
.fx-card__lede { color: var(--muted); margin: 0 0 12px; font-size: .98rem; }
.fx-card__incl { margin: 0 0 16px; padding: 0; list-style: none; display: grid; gap: 6px; }
.fx-card__incl li { display: flex; gap: 10px; font-size: .95rem; line-height: 1.4; }
.fx-card__prices { margin: auto 0 6px; padding: 0; }
.fx-card__prices div { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 8px 0; border-top: 1px solid var(--line); }
.fx-card__prices dt { font-size: .93rem; color: var(--muted); line-height: 1.35; }
.fx-card__prices dd { margin: 0; font: 450 1.6rem/1 var(--display); color: var(--ink); }
.fx-prog__note { margin: clamp(28px, 3vw, 40px) 0 0; font-size: 1.05rem; color: var(--muted); }
@media (max-width: 1180px) { .fx-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .fx-cards { grid-template-columns: 1fr; } }

/* ---------- paying ---------- */
.fx-pay { background: var(--ink); color: #fff; padding: var(--sec) 0; overflow: clip; isolation: isolate; }
.fx-pay h2, .fx-pay h3 { color: #fff; }
.fx-pay__waves { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.fx-time { position: relative; margin: clamp(26px, 3vw, 44px) 0 clamp(36px, 4vw, 60px); }
.fx-time__line { position: absolute; left: 0; top: 0; width: 100%; height: 60px; overflow: visible; }
.fx-time__base { fill: none; stroke: rgba(143,163,217,.3); stroke-width: 2; vector-effect: non-scaling-stroke; }
.fx-time__draw { fill: none; stroke: var(--glow); stroke-width: 3; stroke-linecap: round; }
.fx-time__flow { fill: none; stroke: #FFD9B8; stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 2 34; animation: fxFlow 2.6s linear infinite; opacity: .9; }
@keyframes fxFlow { to { stroke-dashoffset: -72; } }
.js:not(.rm) .fx-time__flow { opacity: 0; transition: opacity .8s ease; }
.js:not(.rm) .fx-time.is-done .fx-time__flow { opacity: .9; }
.fx-time__dot { position: absolute; left: 0; top: 30px; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: var(--glow); box-shadow: 0 0 0 6px rgba(239,164,106,.2), 0 0 26px rgba(239,164,106,.8); pointer-events: none; }
.fx-time__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.fx-time__steps li { position: relative; padding: 76px 28px 0; text-align: center; }
.fx-time__node { position: absolute; left: 50%; top: 30px; width: 24px; height: 24px; margin: -12px 0 0 -12px; border-radius: 50%; background: var(--ink); border: 2px solid var(--peri-soft); transition: border-color .4s, background .4s; }
.fx-time__node::after { content: ''; position: absolute; inset: 4px; border-radius: 50%; background: var(--glow); transform: scale(0); transition: transform .5s var(--ease); }
.fx-time__steps li.is-on .fx-time__node { border-color: var(--glow); }
.fx-time__steps li.is-on .fx-time__node::after { transform: scale(1); }
.fx-time__steps h3 { font-size: clamp(1.3rem, 1.7vw, 1.6rem); margin-bottom: .35em; }
.fx-time__steps p { color: rgba(255,255,255,.8); margin: 0; }
.fx-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.fx-tile { background: rgba(34,40,89,.85); border: 1px solid rgba(143,163,217,.22); border-radius: var(--r); padding: 24px 22px; transition: border-color .4s, transform .5s var(--ease); }
.fx-tile:hover { border-color: rgba(239,164,106,.6); transform: translateY(-4px); }
.fx-tile svg { width: 40px; height: 40px; fill: none; stroke: var(--glow); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 14px; }
.fx-tile h3 { font-size: 1.3rem; margin-bottom: .35em; }
.fx-tile p { margin: 0; color: rgba(255,255,255,.8); font-size: 1rem; }
.no-js .fx-time__steps li .fx-time__node::after, .rm .fx-time__steps li .fx-time__node::after { transform: scale(1); }
.no-js .fx-time__dot, .rm .fx-time__dot { display: none; }
@media (max-width: 1100px) { .fx-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .fx-time__line, .fx-time__dot { display: none; }
  .fx-time__steps { grid-template-columns: 1fr; gap: 22px; padding-left: 44px; position: relative; }
  .fx-time__steps::before { content: ''; position: absolute; left: 11px; top: 12px; bottom: 12px; width: 2px; background: repeating-linear-gradient(180deg, var(--glow) 0 3px, transparent 3px 20px), linear-gradient(rgba(143,163,217,.4), rgba(143,163,217,.4)) 50% / 1px 100% no-repeat; animation: fxFlowDown 2.4s linear infinite; }
  .fx-time__steps li { padding: 0; text-align: left; }
  .fx-time__node { left: -44px; top: 2px; margin: 0; }
  .fx-tiles { grid-template-columns: 1fr; }
}
@keyframes fxFlowDown { to { background-position: 0 23px, 50% 0; } }

/* ---------- well-being prices ---------- */
.fx-well { background: var(--white); padding: clamp(72px, 6.6vw, 100px) 0; overflow: clip; }
.fx-well__grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(40px, 6vw, 100px); align-items: center; }
.fx-well__lede { font-size: 1.15rem; color: var(--muted); margin-bottom: 1.1em; }
.fx-menu { margin: 0; padding: 0; list-style: none; border-bottom: 1px solid var(--line); }
.fx-menu__row { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 0 20px; padding: 16px 0 6px 22px; border-top: 1px solid var(--line); transition: background .4s; }
.fx-menu__main { grid-column: 1 / -1; }
.fx-menu__row::before { content: ''; position: absolute; left: 0; top: 20px; bottom: 14px; width: 3px; background: var(--glow); transform: scaleY(0); transform-origin: top; transition: transform .5s var(--ease); }
.fx-menu__row.is-on::before { transform: scaleY(1); }
.fx-menu__main { display: flex; align-items: baseline; gap: 14px; }
.fx-menu__main h3 { margin: 0; font-size: clamp(1.35rem, 1.8vw, 1.7rem); }
.fx-menu__lead { flex: 1; min-width: 20px; border-bottom: 2px dotted rgba(76,102,168,.35); transform: translateY(-.3em); transition: border-color .4s; }
.fx-menu__row.is-on .fx-menu__lead { border-color: var(--glow); }
.fx-menu__price { margin: 0; font: 400 clamp(2rem, 3vw, 2.8rem)/1 var(--display); color: var(--ink); transition: color .4s; }
.fx-menu__row.is-on .fx-menu__price { color: var(--peri-deep); }
.fx-menu__det { margin: 4px 0 0; color: var(--muted); }
.fx-menu__row .fx-try { margin-top: 2px; white-space: nowrap; }
.fx-well__note { margin: 18px 0 0; color: var(--muted); }
.fx-well__pane { position: relative; width: min(100%, 30vw, calc(var(--media-cap) * .7)); aspect-ratio: 4 / 5; justify-self: end; }
.fx-well__pane::after { content: ''; position: absolute; inset: 16px -16px -16px 16px; border: 1.5px solid var(--peri-soft); border-radius: var(--r); z-index: -1; }
.fx-well__img { position: absolute; inset: 0; margin: 0; border-radius: var(--r); overflow: clip; visibility: hidden; clip-path: inset(0 0 100% 0 round 8px); transition: clip-path .9s var(--ease), visibility 0s .9s; }
.fx-well__img.is-on { visibility: visible; clip-path: inset(0 0 0 0 round 8px); transition: clip-path .9s var(--ease), visibility 0s; z-index: 1; }
.fx-well__img img { width: 100%; height: 100%; object-fit: cover; animation: breathe 14s ease-in-out infinite alternate; }
.fx-well__img figcaption { position: absolute; left: 14px; bottom: 14px; background: rgba(255,255,255,.92); color: var(--ink); padding: 8px 14px; border-radius: calc(var(--r) - 2px); font-size: .9rem; font-weight: 600; }
.fx-well { isolation: isolate; }
@media (max-width: 960px) {
  .fx-well__grid { grid-template-columns: 1fr; }
  .fx-well__pane { justify-self: start; width: min(100%, 420px); aspect-ratio: 4 / 3; order: -1; }
}
@media (max-width: 700px) { .fx-menu__row { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .fx-menu__row { padding-left: 14px; } .fx-menu__main h3 { font-size: 1.25rem; } .fx-menu__price { font-size: 1.9rem; } }

/* ---------- call to action ---------- */
.fx-cta { background: var(--peri); color: #fff; padding: var(--sec) 0; overflow: clip; isolation: isolate; }
/* the photo can only darken the band (multiply on the layer itself, so it blends with the peri behind it) */
.fx-cta__bg { position: absolute; inset: 0; z-index: -2; overflow: clip; mix-blend-mode: multiply; opacity: .4; }
.fx-cta__bg img { position: absolute; left: 0; top: -15%; width: 100%; height: 130%; object-fit: cover; filter: grayscale(1); }
.fx-cta h2 { color: #fff; }
.fx-cta__line { position: absolute; left: 0; right: 0; top: 22px; }
.fx-cta__line path { stroke: rgba(255,255,255,.55); }
.fx-cta__line path[data-i='2'] { stroke: var(--glow); }
.fx-cta__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(40px, 6vw, 100px); align-items: center; }
.fx-cta__copy p { font-size: 1.15rem; color: rgba(255,255,255,.9); }
.fx-cta__acts { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.fx-cta__media { aspect-ratio: 4 / 3; width: 100%; max-height: var(--media-cap); }
.fx-cta__media::after { border-color: var(--glow); }
@media (max-width: 860px) { .fx-cta__grid { grid-template-columns: 1fr; } }

/* reveal starting states (JS with motion only) */
.js:not(.rm) [data-deal], .js:not(.rm) [data-tile], .js:not(.rm) [data-tier] { opacity: 0; }
.pl-pick__img.is-on { z-index: 2; }
@media (any-hover: hover) { .fx-price:hover .fx-price__n { color: var(--peri-deep); } }

/* ---------- refinements after looking ---------- */
.js:not(.rm) .pl-pips .pip { animation: pipBreathe 2.6s ease-in-out infinite alternate; }
.pl-pips li:nth-child(2n) .pip, .pl-pips .pip:nth-child(2n) { animation-delay: -.65s; }
.pl-pips li:nth-child(3n) .pip, .pl-pips .pip:nth-child(3n) { animation-delay: -1.3s; }
.pl-pips .pip:nth-child(4n) { animation-delay: -1.95s; }
@keyframes pipBreathe { from { translate: 0 2px; opacity: .6; } to { translate: 0 -2px; opacity: 1; } }
.fx-sessions__line { position: absolute; left: 0; right: 0; bottom: 22px; pointer-events: none; }
.fx-sessions__line { bottom: auto; top: 20px; }
.js:not(.rm) .pl-save { background: linear-gradient(110deg, var(--glow) 38%, #F9C9A0 50%, var(--glow) 62%) 0 0 / 300% 100%; animation: saveSheen 4.5s ease-in-out infinite; }
@keyframes saveSheen { from { background-position: 100% 0; } to { background-position: 0 0; } }
@media (max-width: 860px) { .fx-threads path { opacity: .9; stroke-width: 1.6; } }
@media (min-width: 861px) and (max-height: 800px) {
  .fx-title { font-size: clamp(2.4rem, 4vw, 3.6rem); }
  .chip { min-height: 34px; padding-top: 5px; padding-bottom: 5px; }
  .pl-pick__media { aspect-ratio: 9 / 4; }
}
@media (max-width: 960px) { .fx-well__pane { width: min(100%, 420px); } }

/* QA round 2: the heading clears the fixed header; short screens keep the whole planner above the fold */
@media (min-width: 861px) and (max-height: 800px) {
  .fx-open { padding-top: calc(var(--head-h) + 22px); padding-bottom: 24px; }
  .fx-open__head { margin-bottom: 12px; }
  .pl { padding-top: 16px; padding-bottom: 16px; }
}
@media (min-width: 861px) and (max-height: 740px) {
  .fx-title { font-size: clamp(2.1rem, 3.4vw, 3rem); }
  .fx-lede { margin-top: 4px; }
  .pl-pick__media { display: none; }
}
@media (min-width: 861px) and (max-height: 740px) {
  .chip { min-height: 31px; padding-top: 3px; padding-bottom: 3px; }
  .pl-foot { padding-top: 10px; margin-top: 10px; }
  .pl-guide { margin-bottom: 6px; }
  .pl-foot__acts { gap: 6px 14px; }
  .pl-foot__acts .btn { padding: 12px 18px; min-height: 46px; }
}
