/* Testul cervical (25 nov. 2026), primul test v3. Peste simptom-durere-picior.css + simptom-cap-gat.css; aici doar tc-*.
   Direcția A: fiecare răspuns se desenează pe figura din dreapta (imagini/test-cervical/brat-*.webp, SVG pe 999×1300). Scala calmă (B) doar pe rezultat. */

/* ── cadrul: panoul testului + figura lipită ────────────────────────── */
.tc-hero { padding-block: clamp(1.5rem, 1rem + 2vw, 3rem) clamp(3rem, 2rem + 3vw, 5rem); }
.tc-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: clamp(2rem, 1rem + 4vw, 6rem); align-items: start; }
.tc-panel { min-height: min(720px, calc(100svh - 200px)); max-width: 600px; }
.tc-scr { padding-top: clamp(1.5rem, 1rem + 1.5vw, 2.5rem); }
.tc-h1 { margin-top: 0; }
.tc-scr [data-band] p, .tc-alert p, .tc-stop-i p { margin: .75rem 0 0; }
.tc-scr[hidden] { display: none; }
.tc-h1 span { display: block; color: #d4b07a; }
.tc-h { margin: 0; font: 500 clamp(1.75rem, 1.2rem + 1.4vw, 2.5rem)/1.12 var(--font-display); letter-spacing: -0.025em; color: #ede8df; text-wrap: balance; outline: 0; }
.tc-h3 { margin: var(--space-6, 1.5rem) 0 var(--space-3, .75rem); font: 500 1.125rem/1.35 var(--font-display); color: #d4b07a; }
.tc-scr p { color: var(--v8-soft, rgb(237 232 223 / .78)); font-size: 1.0625rem; line-height: 1.55; }
.tc-scr p b { font-weight: 500; color: #ede8df; }
.tc-top { display: flex; justify-content: space-between; gap: 1rem; margin: 0 0 12px; font: 500 .875rem/1.3 var(--font-display) !important; color: #b5c2c0 !important; }
.tc-top b { font-weight: 500; color: inherit !important; font-variant-numeric: tabular-nums; }
.tc-bar { height: 4px; margin: 0 0 clamp(1.5rem, 1rem + 1.5vw, 2.25rem); border-radius: 4px; background: rgb(255 255 255 / .1); overflow: hidden; }
.tc-bar i { display: block; height: 100%; width: 0; background: #d4b07a; border-radius: 4px; transition: width 300ms cubic-bezier(.23, 1, .32, 1); }

/* butoanele */
.tc-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 24px; border: 0; border-radius: 999px; background: #5ed0d8; color: #0e2226; font: 500 1.0625rem/1 var(--font-display); text-decoration: none; cursor: pointer; transition: transform 150ms cubic-bezier(.23, 1, .32, 1), opacity 200ms ease, background-color 200ms ease; }
.tc-btn:active { transform: scale(.97); }
.tc-btn:disabled { opacity: .35; cursor: default; transform: none; }
@media (hover: hover) and (pointer: fine) { .tc-btn:not(:disabled):hover { background: #7fdde3; } }
.tc-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0; border: 0; background: none; color: #ede8df; opacity: .75; font: 500 1rem/1.3 var(--font-display); text-decoration: none; cursor: pointer; }
@media (hover: hover) and (pointer: fine) { .tc-link:hover { opacity: 1; } }
.tc-btn:focus-visible, .tc-link:focus-visible, .tc-o:focus-visible, .tc-yn button:focus-visible { outline: 2px solid #5ed0d8; outline-offset: 3px; }
.tc-nav { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: clamp(1.5rem, 1rem + 1vw, 2rem); }
.tc-go-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: var(--space-8, 2rem); }
.tc-meta { margin: 0 !important; font-size: .9375rem !important; color: #8fa09d !important; }
.tc-safe { display: flex; gap: 10px; align-items: flex-start; margin-top: var(--space-8, 2rem) !important; font-size: .9375rem !important; color: #8fa09d !important; }
.tc-safe .bo-i { flex: none; margin-top: 2px; }
.tc-saved { margin-top: var(--space-4, 1rem) !important; font-size: .9375rem !important; }
.tc-saved .tc-link { min-height: 0; color: #5ed0d8; opacity: 1; text-decoration: underline; text-underline-offset: 3px; }

/* întrebările: o singură vizibilă */
.tc-qs { list-style: none; margin: 0; padding: 0; }
.tc-q fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.tc-q legend { padding: 0; }
.tc-os { display: grid; gap: 10px; margin-top: clamp(1.25rem, 1rem + 1vw, 1.75rem); }
.tc-o { display: grid; grid-template-columns: 24px 1fr; gap: 14px; align-items: center; width: 100%; min-height: 64px; padding: 12px 20px; border: 0; border-radius: 18px; background: rgb(255 255 255 / .05); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .12); color: #ede8df; font: 500 1.0625rem/1.35 var(--font-display); text-align: left; cursor: pointer; transition: background-color 200ms ease, color 200ms ease, box-shadow 200ms ease, transform 150ms cubic-bezier(.23, 1, .32, 1); }
.tc-o:active { transform: scale(.985); }
@media (hover: hover) and (pointer: fine) { .tc-o:hover { background: rgb(255 255 255 / .09); } }
.tc-r { width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 2px rgb(255 255 255 / .35); transition: box-shadow 200ms cubic-bezier(.23, 1, .32, 1); }
.tc-o[aria-pressed="true"] { background: #d4b07a; color: #13201f; box-shadow: none; }
.tc-o[aria-pressed="true"] .tc-r { box-shadow: inset 0 0 0 7px #13201f; }

/* ecranul de siguranță */
.tc-sg { display: grid; gap: 10px; margin-top: var(--space-6, 1.5rem); }
.tc-sg-i { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px 16px 16px 20px; border-radius: 18px; background: rgb(255 255 255 / .05); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .12); }
.tc-sg-i p { margin: 0; font-size: 1rem !important; line-height: 1.5 !important; }
.tc-yn { display: flex; gap: 6px; }
.tc-yn button { min-width: 64px; min-height: 44px; padding: 0 16px; border: 0; border-radius: 999px; background: rgb(255 255 255 / .08); color: #ede8df; font: 500 .9375rem/1 var(--font-display); cursor: pointer; transition: background-color 200ms ease, color 200ms ease, transform 150ms cubic-bezier(.23, 1, .32, 1); }
.tc-yn button:active { transform: scale(.96); }
.tc-yn [data-yn="nu"][aria-pressed="true"] { background: #5ed0d8; color: #0e2226; }

/* oprirea */
.tc-stop-i .tc-h { color: #ffb48a; }
.tc-stop-i p { margin: var(--space-4, 1rem) 0 0; }
.tc-call { margin-top: var(--space-6, 1.5rem); }
.tc-stop-n { margin-top: var(--space-8, 2rem) !important; font-size: .9375rem !important; color: #8fa09d !important; }

/* rezultatul */
.tc-res .tc-h + p { margin-top: var(--space-4, 1rem); }
.tc-alert { padding: clamp(1.25rem, 1rem + 1vw, 1.75rem); border-radius: 24px; background: rgb(255 138 76 / .1); box-shadow: inset 0 0 0 1px rgb(255 138 76 / .4); }
.tc-alert .tc-h { font-size: clamp(1.5rem, 1.1rem + 1vw, 2rem); }
.tc-alert .tc-call span { font-variant-numeric: tabular-nums; }
.tc-tel-n { margin: 8px 0 0 !important; font-size: .875rem !important; color: #8fa09d !important; }
.tc-scale { position: relative; margin: var(--space-2, .5rem) 0 0; }
.tc-scale-t { display: grid; grid-template-columns: 8fr 8fr 9fr; gap: 6px; }
.tc-scale-t span { height: 8px; border-radius: 6px; background: rgb(255 255 255 / .1); transition: background-color 300ms ease; }
.tc-scale-t span.is-on { background: #d4b07a; }
.tc-scale-k { display: grid; grid-template-columns: 8fr 8fr 9fr; gap: 6px; margin-top: 8px; font: 500 .8125rem/1 var(--font-display); color: #8fa09d; font-variant-numeric: tabular-nums; }
.tc-scale-m { position: absolute; top: -8px; left: 0; width: 24px; height: 24px; margin-left: -12px; border-radius: 50%; background: #ede8df; box-shadow: 0 0 0 4px #0b2329; transition: left 500ms cubic-bezier(.23, 1, .32, 1); }
.tc-score { margin: var(--space-4, 1rem) 0 var(--space-6, 1.5rem) !important; font-size: .9375rem !important; color: #b5c2c0 !important; font-variant-numeric: tabular-nums; }
.tc-tips { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgb(255 255 255 / .12); }
.tc-tips li { position: relative; padding: 11px 0 11px 22px; border-bottom: 1px solid rgb(255 255 255 / .12); color: var(--v8-soft, rgb(237 232 223 / .78)); font-size: 1rem; line-height: 1.45; }
.tc-tips li::before { content: ""; position: absolute; left: 2px; top: 1.1em; width: 8px; height: 8px; border-radius: 50%; background: #5ed0d8; }
.tc-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: var(--space-6, 1.5rem) !important; }
.tc-cta .tc-link { display: inline; min-height: 0; color: #5ed0d8; opacity: 1; line-height: 1.4; }
.tc-cta .tc-link svg { display: inline-block; margin-left: 6px; vertical-align: -3px; }
.tc-vest { margin-top: var(--space-6, 1.5rem); padding: 18px 20px; border-radius: 20px; background: rgb(212 176 122 / .08); box-shadow: inset 0 0 0 1px rgb(212 176 122 / .35); }
.tc-vest .tc-h3 { margin-top: 0; }
.tc-vest p { margin: 8px 0 0; font-size: 1rem !important; }
.tc-res-nav { justify-content: flex-start; gap: 20px; flex-wrap: wrap; }

/* ── figura ─────────────────────────────────────────────────────────── */
.tc-fig { position: sticky; top: 88px; margin: 0; }
.tc-body { position: relative; width: min(100%, calc((100svh - 170px) * 999 / 1300)); aspect-ratio: 999 / 1300; margin-inline: auto; }
.tc-body img, .tc-body svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.tc-ghost { fill: none; stroke: rgb(237 232 223 / .18); stroke-width: 3; stroke-dasharray: 2 10; stroke-linecap: round; }
.tc-tr { stroke-dasharray: 1100; stroke-dashoffset: 1100; fill: none; stroke: #ff8a4c; stroke-width: 8; stroke-linecap: round; filter: url(#tc-g); transition: stroke-dashoffset 700ms cubic-bezier(.23, 1, .32, 1); }
.tc-z { opacity: 0; filter: url(#tc-bl); transition: opacity 400ms ease; }
.tc-neck { fill: #ff8a4c; }
.tc-numb { fill: #5ed0d8; }
.tc-head { fill: #d4b07a; }
.tc-ring { fill: none; stroke: #d4b07a; stroke-width: 4; stroke-dasharray: 6 8; opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(.85); transition: opacity 300ms ease, transform 400ms cubic-bezier(.23, 1, .32, 1); }
.tc-ring.is-faint { opacity: .45; transform: none; } .tc-ring.is-on { opacity: 1; transform: none; stroke-dasharray: none; }
.tc-numb.is-faint { opacity: .25; } .tc-numb.is-on { opacity: .6; }
.tc-head.is-faint { opacity: .18; } .tc-head.is-on { opacity: .38; }
.tc-dot { fill: #ff8a4c; filter: url(#tc-g); }
.tc-lg { fill: #ede8df; stroke: #0b2329; stroke-width: 10px; stroke-linejoin: round; paint-order: stroke; font: 500 30px var(--font-display); opacity: 0; transition: opacity 300ms ease; } .tc-lg.is-on, .tc-lg.is-faint { opacity: 1; }
.tc-cap { justify-content: center; }

/* ── secțiunile de sub test ─────────────────────────────────────────── */
.tc-lead { margin: 0; max-width: 38rem; font: 400 1.25rem/1.5 var(--font-display); color: var(--color-muted-foreground); }
.tc-rmn { margin-top: var(--space-8, 2rem); padding: 20px 24px; border-radius: 22px; background: var(--color-card, #fff); box-shadow: inset 0 0 0 1px var(--hh-line); }
.tc-rmn p { margin: 0; color: var(--color-muted-foreground); font-size: 1rem; line-height: 1.55; }
.tc-rmn .cg-quote { margin: 8px 0 10px; font-size: 1.25rem; }
.tc-rmn-k { font: 500 .9375rem/1.3 var(--font-display) !important; color: #9a7442 !important; }
html.dark .tc-rmn-k { color: #d4b07a !important; }
.tc-links { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.tc-why .cg-go a { color: var(--hh-teal, #006f7a); } html.dark .tc-why .cg-go a { color: #5ed0d8; }

/* ── telefon ───────────────────────────────────────────────────────── */
@media (max-width: 1023px) {
  .tc-hero { padding-top: 1rem; }
  .tc-res-nav { flex-direction: column; align-items: flex-start; gap: 0; }
  .tc-in { grid-template-columns: 1fr; gap: 0; }
  .tc-fig { position: relative; top: 0; order: -1; }
  .tc-body { width: auto; height: 230px; }
  .tc-cap { display: none; }
  .tc-lg { display: none; }
  .tc-panel { min-height: 0; }
  .tc-scr { padding-top: 1.25rem; }
  .tc-o { min-height: 58px; padding: 10px 16px; font-size: 1rem; }
  .tc-sg-i { grid-template-columns: 1fr; gap: 12px; padding: 16px; }
  .tc-btn { min-height: 50px; }
  .tc-lead { font-size: 1.125rem; }
}
:is(.rm, .mk-shot) :is(.tc-tr, .tc-z, .tc-ring, .tc-lg, .tc-bar i, .tc-scale-m) { transition: none !important; }

/* ── corecturile lui Victor, 25 nov. ─────────────────────────────────
   1) butoanele de apel se văd (lipsea --u-r în test); 2) ecranul de oprire: eticheta, ce a bifat, butonul 112;
   3) figura lipită jos, pe o linie aurie care se stinge la capete (desktop). */
.tc-hero { --u-r: #ff8a4c; }
.tc-hero .u-call { background: #ff8a4c; color: #1b0f0c; box-shadow: 0 10px 30px -12px rgb(255 138 76 / .7); }
.tc-stop .u-call { background: #ff6b4a; box-shadow: 0 10px 30px -12px rgb(255 107 74 / .8); }
.tc-stop-k { display: flex; align-items: center; gap: 10px; margin: 0 0 var(--space-4, 1rem) !important; font: 500 .9375rem/1.2 var(--font-display) !important; color: #ffb48a !important; }
.tc-stop-d { width: 10px; height: 10px; border-radius: 50%; background: #ff6b4a; box-shadow: 0 0 0 0 rgb(255 107 74 / .6); animation: tc-puls 1.8s ease-out infinite; }
@keyframes tc-puls { 0% { box-shadow: 0 0 0 0 rgb(255 107 74 / .6); } 70%, 100% { box-shadow: 0 0 0 10px rgb(255 107 74 / 0); } }
.tc-stop-i .tc-h { font-size: clamp(2rem, 1.4rem + 1.6vw, 3rem); line-height: 1.06; }
.tc-stop-l { font-size: 1.125rem !important; color: #ede8df !important; }
.tc-stop-w { margin-top: var(--space-6, 1.5rem); padding: 16px 20px; border-radius: 18px; background: rgb(255 107 74 / .08); box-shadow: inset 0 0 0 1px rgb(255 107 74 / .3); }
.tc-stop-wk { margin: 0 !important; font: 500 .875rem/1.3 var(--font-display) !important; color: #ffb48a !important; }
.tc-stop-w ul { display: grid; gap: 6px; margin: 10px 0 0; padding: 0; list-style: none; }
.tc-stop-w li { position: relative; padding-left: 18px; font-size: 1rem; line-height: 1.45; color: #ede8df; }
.tc-stop-w li::before { content: ""; position: absolute; left: 2px; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: #ff8a4c; }
.tc-stop .tc-link { margin-top: var(--space-8, 2rem); }
@media (prefers-reduced-motion: reduce) { .tc-stop-d { animation: none; } }
@media (min-width: 1024px) {
  .tc-hero { padding-bottom: 0; }
  .tc-panel { padding-bottom: clamp(3rem, 2rem + 3vw, 5rem); }
  .tc-in { align-items: stretch; }
  .tc-fig { position: sticky; top: auto; bottom: 0; align-self: end; display: flex; flex-direction: column-reverse; }
  .tc-fig::after { content: ""; position: absolute; left: -14%; right: -14%; bottom: 0; height: 2px; background: linear-gradient(90deg, transparent, #d4b07a 28%, #d4b07a 72%, transparent); }
  .tc-cap { margin: 0 0 14px; }
}
