/* Hub „Maxilar (ATM)” v3 (25 nov. 2026). Stă peste cascada hernie → genunchi → umăr → spate → șold → picior → scolioză; aici doar ce e propriu paginii.
   Jurnalul: docs/design/hub-atm-v3-2026-11-25/JURNAL.md. */

/* ── scena: cadrele sunt decupate pe cap + gât (800×950). Pe ecranul lat, capul stă în dreapta coloanei de text, cât înălțimea scenei;
   umerii sunt tăiați drept în imaginea generată, așa că marginea de jos se stinge în fundal. ── */
.atm-page .atm-fig .hh-disc-i { -webkit-mask-image: linear-gradient(#000 82%, transparent 99%); mask-image: linear-gradient(#000 82%, transparent 99%); }
@media (min-width: 1024px) {
  .atm-page .sd-fig { left: auto; right: 3vw; width: 44vw; height: auto; aspect-ratio: auto; background: radial-gradient(closest-side circle at 52% 44%, rgb(94 208 216 / .10), rgb(94 208 216 / .035) 55%, transparent); }
  .atm-page .sd-fig .hh-disc-i { object-fit: contain; object-position: 60% 50%; }
}
@media (min-width: 1024px) and (max-width: 1279px) { .atm-page .sd-fig { right: 1vw; width: 46vw; } }
@media (max-width: 1023px) {
  .atm-page .sd-fig { aspect-ratio: 800 / 950; right: 50%; transform: translateX(50%); }
  .atm-page .sd-fig .hh-disc-i { object-position: 50% 50%; }
}

/* ── 01 · tabloul obișnuit: examenul normal deasupra, ce simte omul dedesubt ── */
.atm-tab { list-style: none; margin: var(--space-12, 3rem) 0 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 900px) { .atm-tab { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
.atm-tab li { display: grid; gap: 10px; align-content: start; padding: 22px 24px 24px; border-radius: 22px; background: var(--color-card); box-shadow: 0 0 0 1px var(--hh-line); }
.atm-tab-k { display: inline-flex; align-items: center; gap: 8px; font: 500 .875rem/1.3 var(--font-display); color: var(--color-muted-foreground); }
.atm-tab-k::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: .5; }
.atm-tab b { font: 500 clamp(1.25rem, 1.05rem + .6vw, 1.5rem)/1.25 var(--font-display); color: var(--color-foreground); text-wrap: balance; }
.atm-why-end { margin: var(--space-8, 2rem) 0 0; max-width: 52rem; font-size: 1.0625rem; line-height: 1.6; color: var(--color-muted-foreground); text-wrap: pretty; }
.atm-why-end b { color: var(--color-foreground); font-weight: 500; }

/* ── 02 · trei verificări: pictograme desenate (linia = gura/oglinda/urechea, plinul = degetele, accentul = traseul) ── */
.atm-chk { list-style: none; margin: var(--space-10, 2.5rem) 0 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 900px) { .atm-chk { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
.atm-chk-i { position: relative; display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; align-content: start; padding: 24px; border-radius: 24px; background: var(--color-card); box-shadow: 0 0 0 1px var(--hh-line); }
.atm-ic { grid-column: 1 / -1; width: 112px; height: 112px; margin: 0 0 18px -6px; overflow: visible; }
.atm-ic-m { fill: none; stroke: var(--color-muted-foreground); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; opacity: .55; }
.atm-ic-a rect { fill: #c49a5a; } .dark .atm-ic-a rect { fill: #d4b07a; }
path.atm-ic-a { fill: none; stroke: #c49a5a; stroke-width: 4; stroke-linecap: round; } .dark path.atm-ic-a { stroke: #d4b07a; }
.atm-ic-d { fill: #c49a5a; } .dark .atm-ic-d { fill: #d4b07a; }
.atm-ic-l { fill: none; stroke: var(--color-muted-foreground); stroke-width: 2; stroke-dasharray: 3 6; stroke-linecap: round; opacity: .55; }
.atm-ic-w { fill: none; stroke: var(--color-primary); stroke-width: 3; stroke-linecap: round; }
.atm-chk-i .hh-loop-n { grid-row: 2; align-self: start; }
.atm-chk-i h3 { grid-column: 2; margin: 6px 0 0; font: 500 1.25rem/1.3 var(--font-display); }
.atm-chk-i p { grid-column: 2; margin: 8px 0 0; line-height: 1.55; color: var(--color-muted-foreground); text-wrap: pretty; }
.atm-info { position: absolute; top: 18px; right: 18px; }
.atm-chk-end { margin: var(--space-10, 2.5rem) 0 0; max-width: 46rem; }
.atm-chk-end span { color: var(--color-primary); }

/* ── 03 · ce declanșează: patru, numerotate, fără ierarhie ── */
.atm-trig { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.atm-trig li { display: flex; align-items: center; gap: 16px; min-height: 64px; padding: 12px 20px 12px 12px; border-radius: 18px; background: var(--color-card); box-shadow: 0 0 0 1px var(--hh-line); font: 500 1.0625rem/1.35 var(--font-display); }
.atm-trig-n { flex: none; }   /* cercul = hh-loop-n (cifre-cerc.mjs: centrat), ca la „Cum evaluăm” */

/* ── 04 · granița cu stomatologia: două coloane, punctul alb-albăstrui (dinții) și cel auriu (noi), ca pe figură ── */
.atm-dent .sd-deep-f img { object-fit: contain; }
.atm-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; margin: var(--space-8, 2rem) 0 0; max-width: 34rem; }
.atm-two-c { padding: 18px 20px 20px; border-radius: 20px; background: rgb(255 255 255 / .05); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .12); }
.atm-two-c.is-us { box-shadow: inset 0 0 0 1px rgb(212 176 122 / .5); }
.atm-two-h { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font: 500 1.125rem/1.2 var(--font-display); color: #ede8df; }
.atm-two-h i { flex: none; width: 10px; height: 10px; border-radius: 50%; background: #d4b07a; box-shadow: 0 0 12px rgb(212 176 122 / .6); }
.atm-two-h i.is-d { background: #cfe9ff; box-shadow: 0 0 12px rgb(207 233 255 / .6); }
.atm-two-c ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .9375rem; line-height: 1.4; color: rgb(237 232 223 / .72); }
.atm-dent-p, .atm-dent-not { margin: var(--space-6, 1.5rem) 0 0; max-width: 34rem; line-height: 1.6; color: rgb(237 232 223 / .78); text-wrap: pretty; }
.atm-dent-p b, .atm-dent-not b { color: #ede8df; font-weight: 500; }
.atm-dent-not { padding-top: var(--space-6, 1.5rem); border-top: 1px solid rgb(255 255 255 / .12); font-size: .9375rem; }
@media (max-width: 420px) { .atm-two { grid-template-columns: minmax(0, 1fr); } }

/* ── 07 · La Kinetics Iași: textul și telefonul în stânga, cele trei rânduri din K în dreapta ── */
.atm-kin-in { display: grid; gap: var(--space-10, 2.5rem); }
@media (min-width: 1024px) { .atm-kin-in { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-16, 4rem); align-items: start; } }
.atm-kin-l .hh-ans { margin-top: var(--space-4, 1rem); }
.atm-kin-tel { display: inline-flex; align-items: center; gap: 14px; margin-top: var(--space-8, 2rem); padding: 10px 24px 10px 10px; border-radius: 999px; background: var(--color-card); box-shadow: 0 0 0 1px var(--hh-line); color: var(--color-foreground); text-decoration: none;
  font: 500 1.25rem/1.15 var(--font-display); transition: box-shadow 150ms ease; }
.atm-kin-tel svg { flex: none; box-sizing: content-box; padding: 12px; border-radius: 50%; background: var(--color-primary); color: var(--color-primary-foreground, #fff); }
.atm-kin-tel small { display: block; margin-bottom: 2px; font: 400 .8125rem/1.3 var(--font-sans); color: var(--color-muted-foreground); }
@media (hover: hover) and (pointer: fine) { .atm-kin-tel:hover { box-shadow: 0 0 0 1.5px var(--color-primary); } }
.atm-kin-l2 { margin: 0; display: grid; border-top: 1px solid var(--hh-line); }
.atm-kin-l2 > div { display: grid; gap: 6px; padding: 22px 0; border-bottom: 1px solid var(--hh-line); }
@media (min-width: 640px) { .atm-kin-l2 > div { grid-template-columns: 10rem minmax(0, 1fr); gap: 24px; } }
.atm-kin-l2 dt { font: 500 1.0625rem/1.4 var(--font-display); }
.atm-kin-l2 dd { margin: 0; line-height: 1.6; color: var(--color-muted-foreground); text-wrap: pretty; }
.atm-kin-l2 dd b { color: var(--color-foreground); font-weight: 500; }

/* ── 12 · dacă durerea e cervicală: blocul de legătură al scoliozei, cu titlu ── */
.atm-cerv-in { margin-top: 0; }
.atm-cerv-h { margin: 0 0 var(--space-3, .75rem); font: 500 clamp(1.375rem, 1.1rem + .8vw, 1.75rem)/1.2 var(--font-display); color: var(--color-foreground); }

/* fraza de după verificări: ton de concluzie, nu de titlu (la mărimea hh-statement concura cu H2-ul secțiunii) */
.atm-chk-end.hh-statement { font-size: clamp(1.5rem, 1.1rem + 1.3vw, 2.25rem); }
/* cifre-cerc.mjs (25 nov.): la 390, cifra din lista „Ce declanșează” stătea cu 0,61 px prea sus (rândul flex rotunjește înălțimea) */
@media (max-width: 760px) { .atm-trig .atm-trig-n { box-sizing: border-box; padding-top: 1px; } }
