/* Paginile-suport ale programului „Primii pași” · Empatio Kinetics (27 nov. 2026):
   copii-talus-valgus-platfus.html și copii-genu-varum-valgum.html. Stă peste aceeași cascadă ca programul (hernie → … → programul de scolioză),
   deci folosește componentele comune (.kc-*, .hh-*, .sp-path, .um-vid, .ur/.ua, formularul .sp-f); aici doar ce e propriu (prefix cs-).
   Generatorul și jurnalul: docs/design/copii-picioare-2026-11-27/. */

/* ── 00 · primul ecran: textul în stânga, comparatorul în dreapta; pe telefon comparatorul vine imediat după titlu ── */
.cs-hero { padding-bottom: clamp(3.5rem, 2.5rem + 3vw, 6rem); }
.cs-hero-in { display: grid; gap: var(--space-8, 2rem); align-items: center; padding-top: clamp(1.5rem, 1rem + 2vw, 3rem); }
@media (min-width: 1024px) { .cs-hero-in { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(2rem, 5vw, 5.5rem); } }
.cs-hero .gn-big { max-width: 12ch; }
.cs-hero .hh-answer { max-width: 38rem; }
@media (max-width: 1023px) {
  .cs-hero-in { gap: 0; } .cs-hero-t { display: contents; }
  .cs-h { order: 0; } .cs-hero-in > .cs-cmp { order: 1; margin-top: var(--space-6, 1.5rem); } .cs-rest { order: 2; margin-top: var(--space-2, .5rem); }
}

/* ── comparatorul: imaginile stau una peste alta (crossfade), stratul SVG desenează ce s-a măsurat pe imagine (linia tălpii, axa piciorului) ── */
.cs-cmp { position: relative; margin: 0; display: grid; justify-items: center; gap: 16px; padding: 0 clamp(1rem, .8rem + 1vw, 1.75rem) clamp(1.25rem, 1rem + 1vw, 2rem);   /* imaginea lipită de marginea de sus, ca pe program (Victor, 26 nov.: să nu pară tăiată) */
  overflow: hidden;
  border-radius: 28px; background: radial-gradient(70% 60% at 50% 45%, rgb(94 208 216 / .11), transparent 70%), rgb(255 255 255 / .03); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1); }
.cs-cmp-st { position: relative; width: min(100%, var(--cs-w, 420px)); }
.cs-cmp-i { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; opacity: 0; }
.cs-cmp-i.is-on { opacity: 1; }
.cs-cmp-ax { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.cs-cmp-ax g { opacity: 0; }
.cs-cmp-ax g.is-on { opacity: 1; }
.mk-js:not(.rm):not(.mk-shot) .cs-cmp-i, .mk-js:not(.rm):not(.mk-shot) .cs-cmp-ax g { transition: opacity .55s cubic-bezier(.33, 1, .68, 1); }
.cs-cmp-ax path { fill: none; stroke: #e2be82; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 2 9; opacity: .95; }
.cs-cmp-ax circle { fill: rgb(19 32 31 / .55); stroke: #e2be82; stroke-width: 5; }
.cs-cmp-ax .cs-ref { stroke: rgb(237 232 223 / .4); stroke-dasharray: 1 8; stroke-width: 3; }
/* linia tălpii se desenează de la călcâi la degete când se schimbă starea */
.mk-js:not(.rm):not(.mk-shot) .cs-cmp-ax g.is-on .cs-draw { animation: cs-draw .9s .15s cubic-bezier(.33, 1, .68, 1) both; }
@keyframes cs-draw { from { stroke-dashoffset: var(--len, 600); } }
.cs-cmp-b { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.cs-cmp-b button { min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; font: 500 1rem/1 var(--font-display); color: rgb(237 232 223 / .78);
  background: rgb(255 255 255 / .06); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .16); cursor: pointer; transition: background .2s, color .2s, box-shadow .2s; }
.cs-cmp-b button:hover { color: #ede8df; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .32); }
.cs-cmp-b button[aria-pressed="true"] { color: #13201f; background: #d4b07a; box-shadow: none; }
.cs-cmp-b button:focus-visible { outline: 2px solid #5ed0d8; outline-offset: 2px; }
.cs-cmp-c { min-height: 2.7em; max-width: 26rem; text-align: center; font: 500 1rem/1.35 var(--font-display); color: #ede8df; text-wrap: balance; }
.cs-cmp-c [hidden] { display: none; }
.cs-cmp-c b { font-weight: 500; color: #d4b07a; }
.cs-info { top: 12px; right: 12px; color: rgb(237 232 223 / .7); }
@media (max-width: 1023px) { .cs-cmp { --cs-w: 300px; gap: 12px; } .cs-cmp-c { min-height: 2.7em; font-size: .9375rem; } }

/* ── normal sau de văzut: rigla arcului (talpa) și cele două carduri ── */
.cs-two { display: grid; gap: 12px; margin-top: var(--space-8, 2rem); }
@media (min-width: 760px) { .cs-two { grid-template-columns: 1fr 1fr; } }
.cs-two > div { padding: clamp(1.1rem, 1rem + .5vw, 1.5rem); border-radius: 20px; background: var(--color-card); box-shadow: 0 0 0 1px var(--hh-line); }
.cs-two .cs-k { margin: 0 0 8px; font: 500 .9375rem/1.2 var(--font-display); color: var(--color-primary); }
.cs-two .is-w { box-shadow: 0 0 0 1.5px #c49a5a; } .dark .cs-two .is-w { box-shadow: 0 0 0 1.5px #d4b07a; }
.cs-two .is-w .cs-k { color: var(--color-eyebrow, #9a6f2e); }
.cs-two p:not(.cs-k) { margin: 0; line-height: 1.6; color: var(--color-muted-foreground); text-wrap: pretty; }
.cs-two b { font-weight: 500; color: var(--color-foreground); }

.cs-arch { position: relative; max-width: 46rem; margin-top: var(--space-10, 2.5rem); padding: 22px 24px 20px; border-radius: 20px; background: var(--color-card); box-shadow: 0 0 0 1px var(--hh-line); }
.cs-arch-t { margin: 0 40px 18px 0; font: 500 1.125rem/1.35 var(--font-display); text-wrap: balance; }
.cs-arch-bar { position: relative; height: 14px; border-radius: 999px; background: color-mix(in srgb, var(--color-foreground) 8%, transparent); overflow: hidden; }
.cs-arch-bar span { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, rgb(212 176 122 / .18), #d4b07a); transform-origin: 0 50%; }
.mk-js:not(.rm):not(.mk-shot) .cs-arch-bar span { transform: scaleX(.04); transition: transform 1.6s cubic-bezier(.33, 1, .68, 1); }
.mk-js:not(.rm):not(.mk-shot) .cs-arch.is-in .cs-arch-bar span { transform: none; }
.cs-arch-l { display: flex; justify-content: space-between; gap: 12px; margin: 10px 0 0; font: 500 .9375rem/1.3 var(--font-display); color: var(--color-muted-foreground); }
.cs-arch-l b { font-weight: 500; color: var(--color-foreground); }
.cs-arch .um-rd-info { top: 16px; right: 16px; color: var(--color-muted-foreground); }

/* flexibil sau rigid */
.cs-flex { display: grid; gap: 12px; margin-top: var(--space-10, 2.5rem); }
@media (min-width: 900px) { .cs-flex { grid-template-columns: 1fr 1fr; } }
.cs-flex > div { padding: 18px 20px; border-radius: 20px; background: var(--color-card); box-shadow: 0 0 0 1px var(--hh-line); }
.cs-flex h3 { margin: 0 0 6px; font: 500 1.25rem/1.2 var(--font-display); letter-spacing: -0.01em; }
.cs-flex p { margin: 0; line-height: 1.55; color: var(--color-muted-foreground); text-wrap: pretty; }

/* urma din pantof (direcția B, pe talpă) */
.cs-shoe { display: grid; gap: var(--space-6, 1.5rem); align-items: center; margin-top: var(--space-12, 3rem); padding: clamp(1.1rem, 1rem + 1vw, 2rem); border-radius: 26px; background: #0d2a31; color: #ede8df; }
@media (min-width: 900px) { .cs-shoe { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 4vw, 4rem); } }
.cs-shoe img { display: block; width: 100%; height: auto; }
.cs-shoe h3 { margin: 0; font: 500 clamp(1.5rem, 1.2rem + 1vw, 2.125rem)/1.15 var(--font-display); letter-spacing: -0.02em; color: #f6f3ee; text-wrap: balance; }
.cs-shoe h3 span { color: #d4b07a; }
.cs-shoe p { margin: 14px 0 0; max-width: 34rem; line-height: 1.6; color: rgb(237 232 223 / .78); text-wrap: pretty; }
.cs-shoe .hh-k { color: #d4b07a; }

/* ── talus valgus: figura din spate + cele două categorii ── */
.cs-tv { display: grid; gap: var(--space-10, 2.5rem); align-items: center; }
@media (min-width: 1024px) { .cs-tv { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 5rem); } }
.cs-tv-f { position: relative; margin: 0; justify-self: center; width: min(100%, 360px); }
.cs-tv-f img { display: block; width: 100%; height: auto; }
.cs-tv-f figcaption { margin-top: 8px; text-align: center; font: 500 .9375rem/1.35 var(--font-display); color: rgb(237 232 223 / .72); }
.cs-tv .kc-ord { margin-top: var(--space-6, 1.5rem); }
.cs-tv .kc-ord h4 { margin: 8px 0 4px; font: 500 1.125rem/1.25 var(--font-display); color: #f6f3ee; }
.cs-tv .kc-ord p { color: rgb(237 232 223 / .74); }
.cs-tv-p { margin: var(--space-6, 1.5rem) 0 0; max-width: 40rem; line-height: 1.6; color: rgb(237 232 223 / .78); text-wrap: pretty; }
.cs-tv-p b { font-weight: 500; color: #f6f3ee; }
.cs-tv-p a { color: #5ed0d8; text-underline-offset: 4px; }
@media (max-width: 1023px) { .cs-tv-f { order: -1; width: 240px; } }

/* ── genunchii: patru feluri ── */
.cs-types { display: grid; gap: 12px; margin-top: var(--space-10, 2.5rem); }
@media (min-width: 760px) { .cs-types { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .cs-types { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.cs-type { display: flex; flex-direction: column; gap: 10px; padding: 0 0 20px; border-radius: 22px; overflow: hidden; background: var(--color-card); box-shadow: 0 0 0 1px var(--hh-line); }
.cs-type-f { margin: 0; height: 220px; overflow: hidden; display: flex; justify-content: center; background: radial-gradient(70% 70% at 50% 45%, #0c4a5a, #013445); }
.cs-type-f img { display: block; width: auto; height: 220px; max-width: 100%; object-fit: contain; }   /* figura întreagă (tivul pantalonilor sus, tălpile jos), nimic tăiat */
.cs-type > *:not(.cs-type-f) { margin-inline: 20px; }
.cs-type-k { margin-top: 8px !important; font: 500 .875rem/1.2 var(--font-display); color: var(--color-eyebrow, #9a6f2e); }
.cs-type h3 { margin: 0; font: 500 1.375rem/1.15 var(--font-display); letter-spacing: -0.015em; }
.cs-type p { margin: 0; line-height: 1.55; color: var(--color-muted-foreground); text-wrap: pretty; }
.cs-type p b { font-weight: 500; color: var(--color-foreground); }

/* ── rigla vârstei (genunchii): glisorul 1 an → 5–6 ani, porțile de la 2 și 4 ani ── */
.cs-age-in { display: grid; gap: var(--space-10, 2.5rem); align-items: center; }
@media (min-width: 1024px) { .cs-age-in { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(2rem, 5vw, 5rem); } }
.cs-rule { position: relative; margin-top: var(--space-8, 2rem); padding: 0 11px; }
.cs-rule-track { position: relative; height: 56px; }
.cs-rule-band { position: absolute; top: 22px; height: 12px; border-radius: 999px; }
.cs-rule-band.o { left: 0; width: 20%; background: rgb(94 208 216 / .55); }
.cs-rule-band.s { left: 20%; width: 20%; background: rgb(237 232 223 / .28); }
.cs-rule-band.x { left: 40%; width: 60%; background: linear-gradient(90deg, rgb(212 176 122 / .6), rgb(212 176 122 / .6) 66%, rgb(212 176 122 / .15)); }
.cs-rule-gate { position: absolute; top: 4px; width: 2px; height: 48px; margin-left: -1px; background: #d4b07a; }
.cs-rule-gate::after { content: ""; position: absolute; left: -5px; top: -6px; width: 12px; height: 12px; border-radius: 50%; background: #d4b07a; }
.cs-rule input { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 56px; margin: 0; opacity: 0; cursor: pointer; }
.cs-rule-th { position: absolute; top: 14px; width: 28px; height: 28px; margin-left: -14px; border-radius: 50%; background: #f6f3ee; box-shadow: 0 0 0 4px rgb(212 176 122 / .55), 0 6px 16px -6px rgb(0 0 0 / .6); pointer-events: none; }
.mk-js:not(.rm):not(.mk-shot) .cs-rule-th { transition: left .35s cubic-bezier(.33, 1, .68, 1); }
.cs-rule input:focus-visible ~ .cs-rule-th { outline: 2px solid #5ed0d8; outline-offset: 4px; }
.cs-rule-l { position: relative; height: 2.6em; margin: 4px 0 0; padding: 0; list-style: none; font: 500 .875rem/1.2 var(--font-display); color: rgb(237 232 223 / .6); }
.cs-rule-l li { position: absolute; transform: translateX(-50%); white-space: nowrap; }
.cs-rule-l li:first-child { transform: none; margin-left: -11px; } .cs-rule-l li:last-child { transform: translateX(-100%); margin-left: 11px; }
.cs-rule-l li.is-on { color: #ede8df; }
.cs-rule-k { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 10px 0 0; padding: 0; list-style: none; font-size: .875rem; color: rgb(237 232 223 / .7); }
.cs-rule-k i { display: inline-block; width: 18px; height: 8px; margin-right: 8px; border-radius: 999px; vertical-align: 1px; }
.cs-at { margin-top: var(--space-6, 1.5rem); }
.cs-at-p { display: grid; gap: 12px; }
@media (min-width: 760px) { .cs-at-p { grid-template-columns: 1fr 1fr; } }
.cs-at-p[hidden] { display: none; }
.cs-at-c { padding: 18px 20px; border-radius: 18px; background: rgb(255 255 255 / .05); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .12); }
.cs-at-c p { margin: 0; line-height: 1.55; color: rgb(237 232 223 / .8); text-wrap: pretty; }
.cs-at-c .cs-at-k { margin-bottom: 8px; font: 500 .9375rem/1.2 var(--font-display); color: #5ed0d8; }
.cs-at-c.is-w { box-shadow: inset 0 0 0 1.5px #d4b07a; } .cs-at-c.is-w .cs-at-k { color: #d4b07a; }
.mk-js:not(.rm):not(.mk-shot) .cs-at-p.is-new .cs-at-c { animation: cs-in .45s cubic-bezier(.33, 1, .68, 1) both; }
.mk-js:not(.rm):not(.mk-shot) .cs-at-p.is-new .cs-at-c + .cs-at-c { animation-delay: .06s; }
@keyframes cs-in { from { opacity: 0; transform: translateY(8px); } }
.cs-age .cs-cmp { --cs-w: 300px; }
@media (max-width: 1023px) {
  .cs-age-in { gap: 0; } .cs-age-t { display: contents; }
  .cs-age-h { order: 0; } .cs-age-in > .cs-cmp { order: 1; margin-top: var(--space-6, 1.5rem); --cs-w: 200px; } .cs-age-r { order: 2; }
}

/* ── „Face parte din programul Primii pași” ── */
.cs-prog-a { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: var(--space-10, 2.5rem); padding-top: var(--space-8, 2rem); border-top: 1px solid rgb(255 255 255 / .1); }
.cs-prog-a p { flex: 1 1 22rem; margin: 0; font: 500 clamp(1.25rem, 1.05rem + .8vw, 1.75rem)/1.25 var(--font-display); letter-spacing: -0.015em; color: #ede8df; text-wrap: balance; }
.cs-prog-a p span { color: #d4b07a; }
.cs-prog-min { margin: var(--space-6, 1.5rem) 0 0; max-width: 44rem; line-height: 1.6; color: rgb(237 232 223 / .74); text-wrap: pretty; }
.cs-prog-min b { font-weight: 500; color: #ede8df; }

/* ── adulții: o bandă scurtă ── */
.cs-adult { display: grid; gap: var(--space-6, 1.5rem); align-items: center; padding: clamp(1.25rem, 1rem + 1vw, 2rem); border-radius: 24px; background: var(--color-card); box-shadow: 0 0 0 1px var(--hh-line); }
@media (min-width: 1024px) { .cs-adult { grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-10, 2.5rem); } }
.cs-adult h2 { margin: 0; font: 500 clamp(1.5rem, 1.2rem + 1vw, 2rem)/1.15 var(--font-display); letter-spacing: -0.02em; }
.cs-adult p { margin: 10px 0 0; max-width: 44rem; line-height: 1.6; color: var(--color-muted-foreground); text-wrap: pretty; }
.cs-adult-a { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 599px) { .cs-adult-a .btn { flex: 1 1 100%; } .cs-adult-a .btn { white-space: normal; } }

/* eticheta „de validat” pe lista pediatrică de urgență (B6) */
.cs-tbd { margin-left: 6px; font: 500 .8125rem/1.6 var(--font-display); vertical-align: 2px; }
.ua-col.is-r .ua-who { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 0; }

/* telefonul: coloanele din grile nu ies din ecran */
@media (max-width: 759px) { .cs-two, .cs-flex, .cs-types { grid-template-columns: minmax(0, 1fr); } }
/* rigla pe telefon: etichetele pe două rânduri, ca să nu se calce */
@media (max-width: 599px) { .cs-rule-l { height: 2.8em; font-size: .8125rem; } .cs-rule-l li { width: 4.6em; white-space: normal; hyphens: none; -webkit-hyphens: none; overflow-wrap: normal; word-break: keep-all; text-align: center; } .cs-rule-l li:first-child { text-align: left; } .cs-rule-l li:last-child { text-align: right; } }

/* ghetele, talonetele, ortezele (ca pe pagina programului) */
.cs-ghete { max-width: 46rem; margin-top: var(--space-12, 3rem); padding: clamp(1.25rem, 1rem + 1vw, 2rem); border-radius: 22px; background: var(--color-card); box-shadow: 0 0 0 1px var(--hh-line); }
.cs-ghete p { margin: 12px 0 0; line-height: 1.6; color: var(--color-muted-foreground); text-wrap: pretty; }
.cs-ghete b { font-weight: 500; color: var(--color-foreground); }
