/* Programul „Bebeluși 0–1 an” · Empatio Kinetics (26 nov. 2026). Stă peste cascada hernie → … → scolioza la adulți → programul de scolioză
   (program-scolioza-copii.css aduce componentele comune ale programelor: .kc-signs, .kc-cost, .kc-bring…); aici doar ce e propriu paginii (prefix bb-).
   Jurnalul: docs/design/kinetics-bebelusi-2026-11-26/JURNAL.md. */

/* ── scena: cadrele sunt decupate pe figură + arc (580×920, portret, bebelușul văzut de sus). Pe ecranul lat stă cât înălțimea scenei, în dreapta textului. ── */
@media (min-width: 1024px) { .bb-page .sd-fig { right: 8vw; width: 30vw; } }
@media (min-width: 1024px) and (max-width: 1279px) { .bb-page .sd-fig { right: 3vw; width: 36vw; } }
@media (max-width: 1023px) { .bb-page .sd-fig { aspect-ratio: 580 / 920; } }

/* ── 01 · semnele: fraza care liniștește + cele patru situații ── */
.bb-calm { max-width: 46rem; margin: var(--space-8, 2rem) 0 0; font: 500 clamp(1.25rem, 1.05rem + .7vw, 1.5rem)/1.35 var(--font-display); letter-spacing: -0.01em; text-wrap: balance; }
.bb-calm span { color: var(--color-primary); }
.bb-four { list-style: none; margin: var(--space-12, 3rem) 0 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 760px) { .bb-four { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.bb-four-c { display: grid; align-content: start; gap: 12px; padding: clamp(1.25rem, 1rem + 1vw, 2rem); border-radius: 22px; background: var(--color-card); box-shadow: 0 0 0 1px var(--hh-line); }
.bb-four-c > p { margin: 0; line-height: 1.6; color: var(--color-muted-foreground); text-wrap: pretty; }
.bb-four-c b { font-weight: 500; color: var(--color-foreground); }
.bb-four-c .bb-four-k { font: 500 clamp(1.25rem, 1.1rem + .5vw, 1.5rem)/1.2 var(--font-display); letter-spacing: -0.015em; color: var(--color-foreground); text-wrap: balance; }
.bb-four-c.is-med { box-shadow: 0 0 0 1.5px #c49a5a; }
.dark .bb-four-c.is-med { box-shadow: 0 0 0 1.5px #d4b07a; }
.bb-four-a { justify-self: start; font: 500 1rem/1.3 var(--font-display); color: var(--color-primary); text-underline-offset: 5px; }

/* ── 03 · programul: sala reală + rezultatul „nu e nevoie de program” ── */
.bb-room { display: grid; gap: var(--space-8, 2rem); align-items: center; margin-top: var(--space-16, 4rem); padding-top: var(--space-12, 3rem); border-top: 1px solid rgb(255 255 255 / .1); }
@media (min-width: 1024px) { .bb-room { grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); } }
.bb-room-f { margin: 0; }
.bb-room-f img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 22px; }
.bb-room-f figcaption { margin-top: 10px; font: 500 .875rem/1.3 var(--font-display); color: rgb(237 232 223 / .6); }
.bb-room-t { margin: 0; font: 500 clamp(1.5rem, 1.15rem + 1.2vw, 2.25rem)/1.2 var(--font-display); letter-spacing: -0.02em; color: #ede8df; text-wrap: balance; }
.bb-room-t span { color: #d4b07a; }

/* ── 04 · acasă (direcția B): imaginea are fundalul ei (măsurat 1,48,65), deci scena e de aceeași culoare; inelul zilei peste golul din stânga ── */
.bb-home { --hh-scene: #013041; }
@media (min-width: 1024px) { .bb-home .sd-deep-f img { object-position: 74% 50%; } }
.bb-ring { position: absolute; z-index: 2; left: clamp(16px, 7%, 96px); top: 14%; width: clamp(150px, 15vw, 210px); aspect-ratio: 1; display: grid; place-items: center; }
.bb-ring > svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.bb-ring-d { fill: none; stroke: #5ed0d8; stroke-opacity: .3; stroke-width: 9; stroke-dasharray: 21.29 1.75; }
.bb-ring-h { fill: none; stroke: #e2be82; stroke-width: 13; stroke-linecap: butt; stroke-dasharray: 23.04 600; stroke-dashoffset: 0; filter: drop-shadow(0 0 6px rgb(226 190 130 / .55)); }
.bb-ring-t { position: relative; margin: 0; display: grid; justify-items: center; gap: 2px; text-align: center; }
.bb-ring-t b { font: 500 clamp(1.5rem, 1.1rem + 1vw, 2rem)/1 var(--font-display); color: #d4b07a; }
.bb-ring-t span { font: 500 .8125rem/1.3 var(--font-display); color: rgb(237 232 223 / .8); }
.bb-ring-t .bb-ring-s { max-width: 9em; color: rgb(237 232 223 / .6); }
.bb-info { top: -6px; right: -6px; color: rgb(237 232 223 / .7); }
/* mișcarea: arcul orei crește când inelul intră în ecran (program-bebelusi.js pune .is-in); fără JS / mișcare redusă / captură: arcul e plin */
.mk-js:not(.rm):not(.mk-shot) .bb-ring-h { stroke-dasharray: 0 600; transition: stroke-dasharray 1.1s cubic-bezier(.33, 1, .68, 1) .2s; }
.mk-js:not(.rm):not(.mk-shot) .bb-ring.is-in .bb-ring-h { stroke-dasharray: 23.04 600; }
.bb-do { list-style: none; margin: var(--space-6, 1.5rem) 0 0; padding: 0; display: grid; gap: 10px; max-width: 34rem; }
.bb-do li { padding: 14px 18px; border-radius: 16px; background: rgb(255 255 255 / .05); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .12); line-height: 1.55; color: rgb(237 232 223 / .78); text-wrap: pretty; }
.bb-do b { font-weight: 500; color: #ede8df; }
@media (max-width: 1023px) {
  .bb-home-f img { aspect-ratio: 4 / 3; object-fit: cover; object-position: 78% 50%; }
  .bb-ring { top: 8%; left: 12px; width: 116px; } .bb-ring-t b { font-size: 1.25rem; } .bb-ring-t span { font-size: .6875rem; } .bb-ring-t .bb-ring-s { display: none; }
}

/* ── 05 · cât durează: rânduri cu valoarea în dreapta ── */
.bb-dur { list-style: none; margin: var(--space-6, 1.5rem) 0 0; padding: 0; display: grid; }
.bb-dur li { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--hh-line); }
.bb-dur li > span { line-height: 1.45; color: var(--color-foreground); }
.bb-dur li > b { font: 500 1rem/1.45 var(--font-display); color: var(--color-primary); text-align: right; }
.bb-dur li > small { grid-column: 1 / -1; margin-top: 2px; font-size: .875rem; color: var(--color-muted-foreground); }
@media (max-width: 640px) { .bb-dur li { grid-template-columns: minmax(0, 1fr); } .bb-dur li > b { text-align: left; } }

/* ── 06 · cost: ce e util de observat ── */
.bb-obs { padding: 14px 16px; border-radius: 14px; background: var(--color-card); box-shadow: 0 0 0 1px var(--hh-line); }

/* ── 07 · echipa: trei carduri ── */
@media (min-width: 760px) { .bb-team .sd-team-l { grid-template-columns: repeat(3, minmax(0, 300px)); } }
