/* Testul „Sacroiliacă” (26 nov. 2026): peste test-cervical.css (tc-*), piesele testelor lombar (tl-weight), „RMN normal” (rn-next, rn-nodx, rn-why),
   de amorțeală (tm-book), „Hernie de disc” (hd-note, hd-next-l) și „Sciatică” (tabelul, fundalul). Prefixul propriu: sac-.
   Direcțiile: C = „testul care spune ce nu poate” pe primul ecran, A = harta bazinului cu două scale, B = testul cu un deget la 1.
   Culorile: articulația = portocaliul de durere (#ff8a4c); asimetriile = turcoaz pal, punctat („context, nu dovadă”);
   drumurile spre altceva (genunchi, șold) = auriu cald (#f0c27a), ca nervul de la sciatică. */

/* ── primul ecran (C): imagistica față în față cu testele clinice ───── */
.sac-vs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: var(--space-6, 1.5rem) 0 0; }
.sac-vs-i { padding: 16px 18px 14px; border-radius: 20px; background: rgb(255 255 255 / .04); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1); }
.sac-vs-h { display: flex; gap: 9px; align-items: center; margin: 0 !important; font: 500 1rem/1.25 var(--font-display) !important; color: #ede8df !important; }
.sac-vs-h i { flex: none; width: 12px; height: 12px; border-radius: 50%; background: #8fa09d; }
.sac-vs-i[data-v="clinic"] .sac-vs-h i { background: #ff8a4c; box-shadow: 0 0 10px #ff8a4c; }
.sac-vs-i p + p { margin: 8px 0 0; font-size: .9375rem; line-height: 1.45; color: #b5c2c0; }
.sac-hero .tc-h1 { font-size: clamp(2.5rem, 1.5rem + 2.2vw, 3.5rem); }   /* H1 din S e mai lung decât la celelalte teste: încape pe 3 rânduri la 1440 */
.sac-one { margin: 12px 0 0; padding: 12px 18px; border-radius: 16px; background: rgb(212 176 122 / .12); box-shadow: inset 0 0 0 1px rgb(212 176 122 / .3); font-size: 1rem; line-height: 1.5; color: #ede8df; }
.sac-one b { font-weight: 500; color: #f3dcb4; }
.sac-sg-n { margin-top: 14px; }

/* ── figura (A): bazinul din spate ─────────────────────────────────── */
.sac-fig { position: relative; }
.sac-body { position: relative; height: min(calc(100svh - 340px), 640px); aspect-ratio: 1024 / 1536; margin-inline: auto; }
.sac-body img, .sac-body svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
/* imaginea e tăiată sus (coastele) și jos (sub genunchi): marginile se topesc în scenă */
.sac-body img { -webkit-mask: linear-gradient(transparent, #000 8%, #000 90%, transparent); mask: linear-gradient(transparent, #000 8%, #000 90%, transparent); }
.sac-body.is-tap { cursor: crosshair; }
.sac-body svg * { transition: opacity 320ms ease, stroke-dasharray 800ms cubic-bezier(.23, 1, .32, 1), transform 500ms cubic-bezier(.23, 1, .32, 1); }
.sac-body svg [data-crest], .sac-body svg [data-knee] { transform-box: fill-box; transform-origin: center; }

/* articulația: cusătura, nodul, aura, pulsurile */
.sac-seam { fill: none; stroke: #ede8df; stroke-width: 5; stroke-linecap: round; stroke-dasharray: 4 12; opacity: .3; }
.sac-seam.is-faint { stroke: #ffb48a; opacity: .6; }
.sac-seam.is-on { stroke: #ffb48a; stroke-width: 9; stroke-dasharray: none; opacity: 1; filter: url(#sac-g); }
.sac-node { fill: #0b2a30; stroke: rgb(237 232 223 / .45); stroke-width: 3; opacity: 0; }
.sac-node.is-faint { opacity: .8; fill: #ff8a4c; stroke: #ffd2b4; }
.sac-node.is-on { opacity: 1; fill: #ff8a4c; stroke: #ffd2b4; filter: url(#sac-g); }
.sac-halo { fill: #ff8a4c; opacity: 0; filter: url(#sac-bl); }
.sac-pulse { fill: none; stroke: #ffb48a; stroke-width: 4; opacity: 0; transform-box: fill-box; transform-origin: center; }
.sac-pulse.is-on { animation: sac-puls 2.2s cubic-bezier(.23, 1, .32, 1) infinite; }
.sac-pulse[data-pulse="2"].is-on { animation-delay: 1.1s; }
@keyframes sac-puls { 0% { opacity: .9; transform: scale(.6); } 100% { opacity: 0; transform: scale(2.6); } }
/* 1 · degetul: punct, halou sau nor */
.sac-finger { opacity: 0; }
.sac-finger.is-on, .sac-finger.is-soft { opacity: 1; }
.sac-f-d { fill: #ede8df; filter: url(#sac-g); }
.sac-f-r { fill: none; stroke: #ede8df; stroke-width: 4; }
.sac-f-r2 { fill: none; stroke: #ede8df; stroke-width: 3; opacity: .4; transform-box: fill-box; transform-origin: center; animation: sac-atins 2.4s ease-out infinite; }
.sac-f-h { fill: #ede8df; opacity: .14; filter: url(#sac-bl); }
.sac-finger.is-soft .sac-f-d, .sac-finger.is-soft .sac-f-r, .sac-finger.is-soft .sac-f-r2 { opacity: 0; }
.sac-finger.is-soft .sac-f-h { opacity: .45; transform: scale(1.8); transform-box: fill-box; transform-origin: center; }
@keyframes sac-atins { 0% { opacity: .5; transform: scale(.7); } 100% { opacity: 0; transform: scale(1.6); } }
.sac-cloud { fill: #ede8df; opacity: 0; filter: url(#sac-bl); }
.sac-cloud.is-on { opacity: .2; }
.sac-zone { fill: none; stroke: #f3dcb4; stroke-width: 3; stroke-dasharray: 3 9; opacity: 0; }
.is-tap .sac-zone { opacity: .75; }
/* 3 · urcă (fir pe coloană) sau rămâne jos (zona fesieră) */
.sac-up { fill: none; stroke: #ede8df; stroke-width: 7; stroke-linecap: round; stroke-dasharray: 2 18; opacity: 0; }
.sac-up.is-faint { opacity: .35; } .sac-up.is-on { opacity: .9; filter: url(#sac-g); }
.sac-low { fill: #ff8a4c; opacity: 0; filter: url(#sac-bl); }
.sac-low.is-on { opacity: .32; }
/* 7–9 · asimetriile: punctat, turcoaz pal */
.sac-belt { fill: none; stroke: #d4b07a; stroke-width: 4; stroke-dasharray: 2 14; stroke-linecap: round; opacity: .55; }
.sac-twist, .sac-crest, .sac-knee { fill: none; stroke: #bfeef1; stroke-width: 5; stroke-dasharray: 12 10; stroke-linecap: round; opacity: 0; }
:is(.sac-twist, .sac-crest, .sac-knee).is-on { opacity: .85; }
/* 10 · drumul spre genunchi · 11 · șoldul · 12 · tratat mai sus */
.sac-leg { fill: none; stroke: #f0c27a; stroke-width: 8; stroke-linecap: round; opacity: 0; }
.sac-leg.is-faint { opacity: .55; } .sac-leg.is-on { opacity: 1; filter: url(#sac-g); }
.sac-hip { fill: none; stroke: #f0c27a; stroke-width: 5; stroke-dasharray: 6 8; opacity: 0; }
.sac-hip.is-faint { opacity: .5; } .sac-hip.is-on { opacity: 1; stroke-dasharray: none; filter: url(#sac-g); }
.sac-lomb-m { opacity: 0; }
.sac-lomb-m circle { fill: none; stroke: #bfeef1; stroke-width: 5; stroke-dasharray: 6 8; }
.sac-lomb-m path { fill: none; stroke: #ede8df; stroke-width: 4; stroke-dasharray: 3 9; stroke-linecap: round; }
.sac-lomb-m.is-faint { opacity: .5; } .sac-lomb-m.is-on { opacity: 1; }
/* etichetele */
.sac-lg { fill: #f3dcb4; stroke: #0b2329; stroke-width: 10px; stroke-linejoin: round; paint-order: stroke; font: 500 40px var(--font-display); opacity: 0; }
.sac-lg.is-faint { opacity: .65; } .sac-lg.is-on { opacity: 1; }
.sac-lg-s { font-size: 34px; }
.sac-lg-c { fill: #bfeef1; }
.sac-lg-g { fill: #f0c27a; }
/* intro: cele două articulații, punctate, și linia de scanare care nu găsește nimic */
[data-ecran="intro"] .sac-seam { stroke: #ffb48a; opacity: .75; }
[data-ecran="intro"] .sac-node { opacity: .9; fill: #0b2a30; stroke: #ffb48a; }
[data-ecran="intro"] .sac-lg[data-t="si"] { opacity: 1; }
.sac-scan { position: absolute; left: 4%; right: 4%; top: 16%; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, #bfeef1 30%, #bfeef1 70%, transparent); box-shadow: 0 0 18px rgb(191 238 241 / .8); opacity: 0; pointer-events: none; }
[data-ecran="intro"] .sac-scan { opacity: .85; animation: sac-scan 3.8s ease-in-out infinite alternate; }
@keyframes sac-scan { from { top: 14%; } to { top: 46%; } }
.sac-rmn { display: none; position: absolute; z-index: 2; top: 18px; right: 0; margin: 0; padding: 8px 14px; border-radius: 999px; background: rgb(11 42 48 / .88); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .16); backdrop-filter: blur(14px); font: 500 .875rem/1.2 var(--font-display); color: #b5c2c0; }
.sac-rmn b { font-weight: 500; color: #ede8df; }
[data-ecran="intro"] .sac-rmn { display: block; }
/* la rezultat, cu tiparul sub 7: articulația se stinge, rămân drumurile spre altceva */
.sac-body.is-low :is(.sac-seam, .sac-node, .sac-halo, .sac-pulse, .sac-lg[data-t="si"], .sac-lg[data-t="click"]) { opacity: .12 !important; filter: none !important; animation: none !important; }

/* ── la 1 (B): testul cu un deget ──────────────────────────────────── */
.sac-tap { position: absolute; z-index: 2; left: 50%; bottom: 46%; transform: translateX(-50%); display: flex; gap: 10px; align-items: center; padding: 9px 16px; border-radius: 999px; background: rgb(11 42 48 / .9); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .18), 0 10px 30px -12px rgb(0 0 0 / .6); backdrop-filter: blur(14px); font: 500 .9375rem/1.2 var(--font-display); color: #ede8df; white-space: nowrap; pointer-events: none; }
.sac-tap[hidden], .sac-ver[hidden], .sac-sc[hidden] { display: none; }
.sac-tap i { flex: none; width: 10px; height: 10px; border-radius: 50%; background: #ede8df; box-shadow: 0 0 0 6px rgb(237 232 223 / .2); animation: tc-puls 1.8s ease-out infinite; }
.sac-ver { width: min(400px, 100%); margin: 14px auto 0; padding: 14px 18px; border-radius: 20px; background: rgb(11 42 48 / .86); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .12); box-sizing: border-box; }
.sac-ver.is-in { box-shadow: inset 0 0 0 1px rgb(255 138 76 / .55), 0 0 30px -10px rgb(255 138 76 / .6); }
.sac-ver-h { margin: 0; font: 500 1.0625rem/1.3 var(--font-display); color: #f3dcb4; }
.sac-ver-p { margin: 4px 0 0; font-size: .9375rem; line-height: 1.5; color: #d7dedc; }
.sac-ver-b { margin-top: 6px; color: #5ed0d8; }

/* ── cele două scale (sub figură și în rezultat) ───────────────────── */
.sac-sc { width: min(400px, 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; }
.sac-sc-row { display: grid; grid-template-columns: 84px minmax(0, 1fr) 62px; gap: 12px; align-items: center; font: 500 .875rem/1.2 var(--font-display); color: #ede8df; }
.sac-sc-row + .sac-sc-row { margin-top: 8px; }
.sac-sc-row em { font-style: normal; text-align: right; color: #b5c2c0; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sac-sc-t { position: relative; height: 12px; border-radius: 6px; background: rgb(255 255 255 / .08); }
.sac-sc-t b { position: absolute; inset: 0; border-radius: 6px; background: linear-gradient(90deg, rgb(255 138 76 / .35), rgb(255 138 76 / .7)); transform: scaleX(0); transform-origin: left; transition: transform 700ms cubic-bezier(.23, 1, .32, 1), background 300ms ease, box-shadow 300ms ease; }
.sac-sc-row.is-over .sac-sc-t b { background: linear-gradient(90deg, rgb(255 138 76 / .7), #ff8a4c); box-shadow: 0 0 14px rgb(255 138 76 / .55); }
.sac-sc-t i { position: absolute; top: -5px; bottom: -5px; left: calc(9 / 14 * 100%); width: 2px; margin-left: -1px; border-radius: 1px; background: #ede8df; }
/* asimetria: subțire și hașurată (S: „nu schimbă concluzia”) */
.sac-sc-light { color: #8fa09d; }
.sac-sc-light .sac-sc-t { height: 6px; }
.sac-sc-light .sac-sc-t b { background: repeating-linear-gradient(135deg, rgb(191 238 241 / .6) 0 4px, transparent 4px 8px); }
.sac-sc-n { margin: 10px 0 0 !important; font-size: .875rem !important; line-height: 1.45 !important; color: #8fa09d !important; }
[data-ecran="intro"] .sac-fig .sac-sc, [data-ecran="siguranta"] .sac-fig .sac-sc, [data-ecran="stop"] .sac-fig .sac-sc { display: none; }
[data-ecran="rezultat"] .sac-fig .sac-sc { display: none; }   /* rezultatul are scalele lui, în panou */
.sac-sc-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); }
.sac-sc-r .tm-sc-k { margin-bottom: 10px; }
.sac-sc-r .sac-sc-row { grid-template-columns: 132px minmax(0, 1fr) 62px; }

/* ── rezultatul ────────────────────────────────────────────────────── */
.sac-pt { margin-top: 1.5rem; }
.sac-pt-k, .sac-route-k { display: flex; gap: 9px; align-items: center; margin: 0 0 .5rem !important; font: 500 .9375rem/1.2 var(--font-display) !important; color: #ffb48a !important; }
.sac-pt-k::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #ff8a4c; box-shadow: 0 0 10px #ff8a4c; }
.sac-pt[data-p="asimetrii"] .sac-pt-k { color: #bfeef1 !important; } .sac-pt[data-p="asimetrii"] .sac-pt-k::before { background: #bfeef1; box-shadow: none; }
:is(.sac-pt[data-p="mic"], .sac-pt[data-p="incomplet"]) .sac-pt-k { color: #b5c2c0 !important; } :is(.sac-pt[data-p="mic"], .sac-pt[data-p="incomplet"]) .sac-pt-k::before { background: #8fa09d; box-shadow: none; }
.sac-pt p, .sac-route p, .sac-lomb p { margin: .75rem 0 0; }
.sac-pt b, .sac-lomb b { font-weight: 500; color: #ede8df; }
.sac-route { margin-top: 1rem; padding: 18px 20px; border-radius: 20px; background: rgb(240 194 122 / .08); box-shadow: inset 0 0 0 1px rgb(240 194 122 / .4); }
.sac-route-k { color: #f0c27a !important; }
.sac-route-k i { width: 10px; height: 10px; border-radius: 50%; background: #f0c27a; box-shadow: 0 0 10px #f0c27a; }
.sac-route .tc-h, .sac-route .tc-h3 { margin-top: 0; }
.sac-route-s { margin-top: 1.5rem; }
.sac-lomb { margin-top: 1.25rem; padding: 16px 20px; border-radius: 18px; background: rgb(94 208 216 / .08); box-shadow: inset 0 0 0 1px rgb(94 208 216 / .3); }
.sac-lomb-k { margin: 0 !important; font: 500 1rem/1.3 var(--font-display) !important; color: #bfeef1 !important; }

/* ── „De ce asimetria nu cântărește mult” ──────────────────────────── */
.sac-why > p + p, .sac-why > ul + p { margin-top: 14px; }
.sac-three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.sac-three li { padding: 16px 18px; border-radius: 18px; background: var(--card, #fff); box-shadow: inset 0 0 0 1px rgb(19 32 31 / .08); font: 500 1rem/1.35 var(--font-display); color: var(--ink, #13201f); }
.sac-three li b { font-weight: 500; }
.sac-three li::before { content: ""; display: block; width: 36px; height: 0; margin-bottom: 12px; border-top: 3px dashed #4aa9b0; }
.sac-q { margin-top: 18px !important; padding: 16px 20px; border-radius: 16px; background: rgb(212 176 122 / .12); font: 500 1.125rem/1.45 var(--font-display); color: var(--ink, #13201f); }
.sac-why .tc-link { color: #006f7a; }
.dark .sac-three li { background: rgb(255 255 255 / .04); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .08); color: #ede8df; }
.dark .sac-three li::before { border-top-color: #bfeef1; }
.dark .sac-q { background: rgb(212 176 122 / .1); color: #ede8df; }
.dark .sac-why .tc-link { color: #5ed0d8; }

/* cifra numărului de surse („1”), ca la umăr (sciatica adaugă 1 px sus, pentru „2”) */
.sac-page .hh-src-h span { padding-top: 0; }

/* ── telefon ───────────────────────────────────────────────────────── */
@media (max-width: 1023px) {
  .sac-vs { grid-template-columns: minmax(0, 1fr); }
  .sac-body { height: 310px; }
  .sac-lg { display: block; font-size: 58px; stroke-width: 14px; }
  .sac-lg-s { font-size: 50px; }
  .sac-lg-c, .sac-lg[data-t="lomb"] { display: none; }
  .sac-rmn { top: 4px; right: 50%; transform: translateX(50%); white-space: nowrap; font-size: .8125rem; }
  /* pe telefon, oprirea și ecranul de siguranță vin primele: figura nu stă deasupra lor */
  [data-ecran="siguranta"] .sac-fig, [data-ecran="stop"] .sac-fig { display: none; }
  .sac-ver { padding: 12px 14px; }
  .sac-ver-h { font-size: 1rem; } .sac-ver-p { font-size: .875rem; line-height: 1.45; }
  .sac-tap { bottom: 52%; font-size: .8125rem; padding: 8px 14px; }
  .sac-sc, .sac-ver { width: 100%; margin-top: 10px; }
  .sac-sc-row { grid-template-columns: 76px minmax(0, 1fr) 58px; }
  .sac-sc-r .sac-sc-row { grid-template-columns: 104px minmax(0, 1fr) 58px; }
  .sac-three { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 1024px) {
  .sac-rmn { right: -4%; }
}
:is(.rm, .mk-shot) :is(.sac-body svg *, .sac-sc-t b) { transition: none !important; }
:is(.rm, .mk-shot) :is(.sac-pulse.is-on) { animation: none !important; opacity: .7; transform: scale(1.5); }
:is(.rm, .mk-shot) .sac-pulse[data-pulse="2"].is-on { transform: scale(2.2); opacity: .35; }
:is(.rm, .mk-shot) :is(.sac-f-r2, .sac-tap i) { animation: none !important; }
:is(.rm, .mk-shot) [data-ecran="intro"] .sac-scan { animation: none !important; top: 30%; }
@media (prefers-reduced-motion: reduce) { .sac-pulse.is-on, .sac-f-r2, .sac-tap i, [data-ecran="intro"] .sac-scan { animation: none !important; } }
@media print {
  .site-hdr, .site-ftr, .mk-bar, .tc-fig, .tm-book, .tc-res-nav, .hh-crumbs, main > section:not(#test) { display: none !important; }
  .tc-hero, .tc-hero * { background: none !important; color: #000 !important; box-shadow: none !important; }
}
