/* Testul „Călcâi” (26 nov. 2026): peste test-cervical.css (tc-*) și piesele testelor lombar, „RMN normal” (rn-nodx), de amorțeală (tm-book),
   „Hernie de disc” (hd-note), „Sciatică” (si-80), umăr (us-do) și genunchi (gk-q, gk-why, titlul pe două rânduri). Prefixul propriu: cc-.
   Direcțiile: C = „testul care merge invers” pe primul ecran (omul din spate), A = trei surse pe același călcâi (piciorul), B = cele trei apăsări.
   Culorile: fascia = portocaliul de durere (#ff8a4c), nervul = turcoaz deschis (#9ff3f7), tunelul = auriu (#d4b07a). */

/* ── primul ecran (C): titlul pe două rânduri la 1440 ────────────────── */
.cc-hero .tc-h1 { font-size: clamp(2rem, 1rem + 2vw, 2.75rem); }

/* ── primul ecran (C): cele trei surse ─────────────────────────────── */
.cc-three { display: grid; gap: 8px; margin: var(--space-6, 1.5rem) 0 0; padding: 0; list-style: none; }
.cc-three li { display: grid; grid-template-columns: 12px minmax(0, 168px) minmax(0, 1fr); column-gap: 12px; align-items: baseline; padding: 13px 18px; border-radius: 18px; background: rgb(255 255 255 / .04); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1); }
.cc-three i { width: 10px; height: 10px; border-radius: 50%; transform: translateY(-1px); }
.cc-three [data-src="fascia"] i, .cc-src-g [data-src="fascia"]::before { background: #ff8a4c; box-shadow: 0 0 10px rgb(255 138 76 / .8); }
.cc-three [data-src="nerv"] i, .cc-src-g [data-src="nerv"]::before { background: #9ff3f7; box-shadow: 0 0 10px rgb(159 243 247 / .8); }
.cc-three [data-src="tunel"] i, .cc-src-g [data-src="tunel"]::before { background: #d4b07a; box-shadow: 0 0 10px rgb(212 176 122 / .8); }
.cc-three b { font: 500 .9375rem/1.3 var(--font-display); color: #ede8df; }
.cc-three span { font-size: .875rem; line-height: 1.45; color: #b5c2c0; }

/* ── figura ────────────────────────────────────────────────────────── */
.cc-fig { position: relative; }
.cc-body { position: relative; height: min(calc(100svh - 340px), 640px); aspect-ratio: 497 / 1236; margin-inline: auto; }
.cc-foot { position: relative; width: 82%; aspect-ratio: 1028 / 800; margin-right: auto; }
.cc-body[hidden], .cc-foot[hidden], .cc-meter[hidden] { display: none; }
.cc-body img, .cc-body svg, .cc-foot img, .cc-foot svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.cc-body img, .cc-foot img { object-fit: contain; }

/* C: omul din spate */
.cc-scan { fill: rgb(94 208 216 / .08); stroke: rgb(237 232 223 / .7); stroke-width: 3; stroke-dasharray: 10 8; }
.cc-x { stroke: #ede8df; stroke-width: 5; stroke-linecap: round; }
.cc-down { fill: none; stroke: #d4b07a; stroke-width: 5; stroke-linecap: round; stroke-dasharray: 3 12; filter: url(#tc-g); animation: cc-run 1.4s linear infinite; }
.cc-src-pt { fill: #10252a; stroke: #ff8a4c; stroke-width: 4; filter: url(#tc-g); }
.cc-lgb { font: 500 34px var(--font-display); fill: #ede8df; stroke: #10252a; stroke-width: 9px; stroke-linejoin: round; paint-order: stroke; }
.cc-lgb-s { font-size: 28px; fill: #b5c2c0; }
.cc-lgb-g { fill: #f3dcb4; text-anchor: middle; }
@keyframes cc-run { to { stroke-dashoffset: -30; } }

/* A: piciorul cu cele trei surse */
.cc-fas { --f: 0; fill: none; stroke: #ff8a4c; stroke-width: 16; stroke-linecap: round; opacity: 0; transition: opacity 400ms ease; }
.cc-fas.is-on { opacity: calc(.25 + var(--f) * .6); }
.cc-fas.is-max { opacity: 1; filter: url(#tc-g); }
.cc-nrv-b { fill: none; stroke: rgb(237 232 223 / .22); stroke-width: 3; stroke-dasharray: 2 10; stroke-linecap: round; }
.cc-nrv { --n: 0; fill: none; stroke: #9ff3f7; stroke-width: 5; stroke-linecap: round; stroke-dasharray: 2 16; opacity: 0; transition: opacity 400ms ease; animation: cc-run2 1.1s linear infinite; }
.cc-nrv.is-on { opacity: calc(.3 + var(--n) * .7); }
.cc-nrv.is-max { opacity: 1; filter: url(#tc-g); }
@keyframes cc-run2 { to { stroke-dashoffset: -36; } }
.cc-tun { fill: none; stroke: rgb(212 176 122 / .35); stroke-width: 3; stroke-dasharray: 4 8; transition: stroke 300ms ease, opacity 300ms ease; }
.cc-tun.is-faint { stroke: rgb(212 176 122 / .75); stroke-dasharray: none; }
.cc-tun.is-on { stroke: #d4b07a; stroke-width: 5; stroke-dasharray: none; filter: url(#tc-g); }
.cc-pt { fill: #10252a; stroke: rgb(237 232 223 / .7); stroke-width: 4; transition: stroke 300ms ease; }
.cc-n { font: 500 24px var(--font-display); fill: #ede8df; text-anchor: middle; dominant-baseline: central; pointer-events: none; }
.cc-halo { fill: #ff8a4c; opacity: 0; filter: url(#tc-bl); transition: opacity 400ms ease; }
.cc-press-r { fill: none; stroke: #ede8df; stroke-width: 3; opacity: 0; transform-box: fill-box; transform-origin: center; }
[data-pt][data-st="1"] .cc-pt { stroke: rgb(255 138 76 / .8); }
[data-pt][data-st="2"] .cc-pt { stroke: #ff8a4c; fill: #ff8a4c; filter: url(#tc-g); }
[data-pt][data-st="2"] .cc-n { fill: #1b0f0c; }
[data-pt][data-st="2"] .cc-halo { opacity: .55; }
[data-pt][data-st="3"] .cc-pt { stroke: #9ff3f7; fill: #9ff3f7; filter: url(#tc-g); }
[data-pt][data-st="3"] .cc-n { fill: #0e2226; }
[data-pt].is-press .cc-press-r { animation: cc-press 1.8s cubic-bezier(.23, 1, .32, 1) infinite; }
.cc-seq [data-pt="2"].is-press .cc-press-r { animation-delay: .6s; }
.cc-seq [data-pt="3"].is-press .cc-press-r { animation-delay: 1.2s; }
@keyframes cc-press { 0% { transform: scale(2.1); opacity: 0; } 40% { transform: scale(1); opacity: 1; } 75%, 100% { transform: scale(1); opacity: 0; } }
.cc-lg { font: 500 30px var(--font-display); fill: #8fa09d; stroke: #10252a; stroke-width: 9px; stroke-linejoin: round; paint-order: stroke; transition: fill 300ms ease, opacity 300ms ease; }
.cc-lg-v.is-on { fill: #c9f6f8; } .cc-lg-t.is-on { fill: #f3dcb4; } .cc-lg-f.is-on { fill: #ffd2b4; }
.cc-lg-s { font-size: 24px; fill: #b5c2c0; }
.cc-lg-up { fill: #f3dcb4; }
.cc-fig .is-dim { opacity: .14 !important; filter: none !important; }
.cc-fig .cc-lg.is-dim { opacity: .35 !important; }

/* indicatorul „Spre ce arată” (sub figură și în rezultat) */
.cc-meter { width: min(360px, 100%); margin: 14px auto 0; padding: 12px 16px; border-radius: 18px; background: rgb(11 42 48 / .86); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .12); box-sizing: border-box; }
.cc-meter-h { display: flex; justify-content: space-between; gap: 10px; margin: 0 0 8px; font: 500 .875rem/1.2 var(--font-display); color: #ede8df; }
.cc-meter-h em { font-style: normal; color: #d4b07a; text-align: right; }
.cc-mr { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.cc-mr li { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 10px; align-items: center; font: 500 .8125rem/1.2 var(--font-display); color: #8fa09d; transition: color 300ms ease; }
.cc-mr li > i { position: relative; height: 8px; border-radius: 4px; background: rgb(255 255 255 / .08); overflow: hidden; }
.cc-mr li > i b { position: absolute; inset: 0; border-radius: 4px; transform: scaleX(0); transform-origin: left; transition: transform 700ms cubic-bezier(.23, 1, .32, 1); }
.cc-mr li[data-k="fascia"] > i b { background: rgb(255 138 76 / .75); }
.cc-mr li[data-k="nerv"] > i b { background: rgb(159 243 247 / .75); }
.cc-mr li.is-top { color: #ede8df; }
.cc-mr li.is-top > i b { box-shadow: 0 0 12px currentColor; }
.cc-mr li[data-k="fascia"].is-top > i b { background: #ff8a4c; }
.cc-mr li[data-k="nerv"].is-top > i b { background: #9ff3f7; }
.cc-mr em { font-style: normal; white-space: nowrap; font-variant-numeric: tabular-nums; color: #b5c2c0; text-align: right; }
.cc-mr small { display: block; margin-top: 2px; font: 400 .75rem/1.2 var(--font-sans); color: #8fa09d; }
[data-ecran="siguranta"] .cc-fig .cc-meter, [data-ecran="stop"] .cc-fig .cc-meter, [data-ecran="apasari"] .cc-fig .cc-meter { visibility: hidden; }
[data-ecran="rezultat"] .cc-fig .cc-meter { display: none; }   /* rezultatul are indicatorul lui, în panou */
.cc-meter-r { width: 100%; margin: 4px 0 0; padding: 14px 18px; background: rgb(255 255 255 / .04); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1); }
.cc-meter-r .tm-sc-k { margin-bottom: 10px; }
.cc-meter-r .cc-mr { gap: 10px; }
.cc-meter-r .cc-mr li { grid-template-columns: 150px minmax(0, 1fr) 76px; font-size: .9375rem; color: #b5c2c0; }

/* ── cele trei apăsări (B) ─────────────────────────────────────────── */
.cc-press-h { display: grid; grid-template-columns: minmax(0, 1fr) 112px; gap: 20px; align-items: center; }
.cc-sit { display: block; width: 112px; height: auto; padding: 8px; border-radius: 18px; background: rgb(255 255 255 / .04); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1); box-sizing: border-box; }
.cc-steps { display: grid; gap: 12px; margin: var(--space-6, 1.5rem) 0 0; padding: 0; list-style: none; }
.cc-steps li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 14px; align-items: start; font-size: 1.0625rem; line-height: 1.5; color: #d7dedc; }
.cc-steps .cifra-cerc { width: 32px; height: 32px; border-radius: 50%; background: #d4b07a; color: #13201f; font: 500 .9375rem/1 var(--font-display); }
.cc-steps b { color: #ede8df; font-weight: 500; }
.cc-press .hd-note { margin-top: var(--space-6, 1.5rem); }

/* ── rezultatul ─────────────────────────────────────────────────────── */
.cc-pt { margin-top: 1.5rem; }
.cc-pt .tc-h { font-size: clamp(1.625rem, 1.1rem + 1.1vw, 2.125rem); line-height: 1.12; }
.cc-pt p { margin: .75rem 0 0; }
.cc-tip { margin: 1.25rem 0 0; padding: 18px 20px; border-radius: 20px; background: rgb(255 138 76 / .08); box-shadow: inset 0 0 0 1px rgb(255 138 76 / .35); }
.cc-tip p { margin: 8px 0 0; font-size: .9375rem; line-height: 1.55; color: #d7dedc; }
.cc-tip .cc-tip-k { margin: 0; font: 500 1.0625rem/1.3 var(--font-display); color: #ffd2b4; }
.cc-add { margin: 1.5rem 0 0; padding: 18px 20px; border-radius: 20px; background: rgb(212 176 122 / .1); box-shadow: inset 0 0 0 1px rgb(212 176 122 / .4); }
.cc-add-l { background: rgb(159 243 247 / .07); box-shadow: inset 0 0 0 1px rgb(159 243 247 / .35); }
.cc-add p { margin: 8px 0 0; font-size: .9375rem; line-height: 1.55; color: #d7dedc; }
.cc-add .cc-add-k { margin: 0; font: 500 1.0625rem/1.3 var(--font-display); color: #f3dcb4; }
.cc-add-l .cc-add-k { color: #c9f6f8; }
.cc-add b { color: #ede8df; font-weight: 500; }

/* ── „Nu orice durere de călcâi e fasciită” ─────────────────────────── */
.cc-src { margin-top: 1.75rem; }
.cc-src-g { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.cc-src-g li { position: relative; display: grid; gap: 8px; align-content: start; padding: 38px 18px 18px; border-radius: 22px; background: #fff; box-shadow: inset 0 0 0 1px rgb(19 32 31 / .1), 0 1px 2px rgb(19 32 31 / .04), 0 8px 24px -12px rgb(19 32 31 / .18); }
.cc-src-g li::before { content: ""; position: absolute; left: 18px; top: 18px; width: 10px; height: 10px; border-radius: 50%; }
.cc-src-g b { font: 500 1.0625rem/1.25 var(--font-display); color: var(--ink, #13201f); }
.cc-src-g span { font-size: .9375rem; line-height: 1.5; color: var(--ink-2, #4a5a58); }
.dark .cc-src-g li { background: rgb(255 255 255 / .04); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1); }
.dark .cc-src-g b { color: #ede8df; } .dark .cc-src-g span { color: #b5c2c0; }
.cc-src .si-80 { margin-top: 12px; }

@media (min-width: 1024px) {
  /* la primul ecran și la rezultat, figura stă sus, lângă titlu (panoul e lung; jos ar ieși sub ecran) */
  .cc-hero[data-ecran="intro"] .cc-fig, .cc-hero[data-ecran="rezultat"] .cc-fig { position: sticky; top: 96px; bottom: auto; align-self: start; }
  .cc-hero[data-ecran="intro"] .cc-fig::after { display: none; }
}
@media (max-width: 1023px) {
  .cc-three li { grid-template-columns: 12px minmax(0, 1fr); }
  .cc-three span { grid-column: 2; margin-top: 2px; }
  .cc-body { height: 300px; }
  .cc-lgb { font-size: 46px; stroke-width: 14px; } .cc-lgb-s { font-size: 38px; }
  .cc-foot { width: 74%; }
  .cc-lg { font-size: 60px; stroke-width: 15px; } .cc-lg-s { font-size: 46px; }
  .cc-n { font-size: 28px; }
  .cc-meter { width: 100%; margin-top: 10px; padding: 10px 14px; }
  [data-ecran="siguranta"] .cc-fig .cc-meter, [data-ecran="stop"] .cc-fig .cc-meter, [data-ecran="apasari"] .cc-fig .cc-meter { display: none; }
  .cc-fig .cc-mr { gap: 4px; }
  .cc-fig .cc-mr li { grid-template-columns: 84px minmax(0, 1fr); }
  .cc-meter-r .cc-mr li { grid-template-columns: 108px minmax(0, 1fr) 70px; }
  .cc-press-h { grid-template-columns: minmax(0, 1fr) 84px; gap: 14px; }
  .cc-sit { width: 84px; padding: 6px; border-radius: 14px; }
  .cc-src-g { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .cc-down, .cc-nrv, [data-pt].is-press .cc-press-r { animation: none; } }
:is(.rm, .mk-shot) :is(.cc-down, .cc-nrv) { animation: none; }
:is(.rm, .mk-shot) [data-pt].is-press .cc-press-r { animation: none; opacity: .9; transform: none; }
:is(.rm, .mk-shot) :is(.cc-fas, .cc-nrv, .cc-tun, .cc-pt, .cc-halo, .cc-lg, .cc-mr li > i b) { transition: none !important; }
html:not(.dark) .cc-src-g [data-src="nerv"]::before { background: #2bb3bd; box-shadow: 0 0 8px rgb(43 179 189 / .6); }
.cc-page .hh-src-h span { will-change: auto; }   /* fără stratul propriu al genunchiului: aici cifra „1” ieșea la +0,73 px pe rezultatul nervos la 1440 */
