/* Șablonul „pagină de afecțiune” (63 de pagini). Se încarcă după css/vm-shared.css.
   Respectă design-system/vitalmove/MASTER.md. Interacțiunile (acordeon, cronologie) sunt în js/cond.js. */

/* ---- Hero: breadcrumbs + fapte cheie ---- */
.cond-hero{ padding:56px 0 52px; }
.cond-hero .crumbs{ font-family:'IBM Plex Mono',monospace; font-size:12.5px; letter-spacing:.04em; color:var(--on-forest-soft); margin-bottom:6px; }
.cond-hero .crumbs a{ color:var(--on-forest); font-weight:500; text-decoration:none; border-bottom:1px solid rgba(243,248,247,.3); }
.cond-hero .crumbs a:hover{ border-bottom-color:var(--ochre); color:var(--ochre); }
.cond-hero .crumbs span{ opacity:.85; }
.cond-hero h1{ font-size:clamp(30px,4.4vw,50px); line-height:1.12; max-width:24ch; }
.cond-hero .lead{ font-size:18px; max-width:64ch; }
.cond-hero .facts{ background:none; border:0; gap:14px; margin-top:38px; grid-template-columns:repeat(3,minmax(0,1fr)); }
.cond-hero .facts div{ background:rgba(243,248,247,.06); border:1px solid rgba(243,248,247,.16); border-radius:4px; padding:20px 22px 22px; transition:border-color .25s ease, background .25s ease; }
.cond-hero .facts div:hover{ border-color:rgba(247,144,123,.6); background:rgba(243,248,247,.09); }
.cond-hero .facts dt{ font-family:'IBM Plex Mono',monospace; font-size:11.5px; letter-spacing:.14em; text-transform:uppercase; font-weight:400; color:var(--ochre); }
.cond-hero .facts dd{ margin:9px 0 0; font-size:15.5px; line-height:1.55; color:var(--on-forest); }

/* ---- Corp ---- */
.cond-body{ max-width:66ch; }
.cond-body p{ font-size:17px; line-height:1.7; color:var(--ink); margin:0 0 20px; }
.cond-body p:first-child{ font-family:'Spectral',Georgia,serif; font-size:clamp(20px,2.2vw,24px); line-height:1.55; color:var(--teal-deep); }
.cond h2{ font-size:clamp(24px,2.8vw,32px); }
.cond h2::before{ content:""; display:block; width:36px; height:2px; background:var(--ochre-deep); margin-bottom:14px; }
.cond .split h2::before, .cond .alarm h2::before{ display:none; }

/* ---- Cronologie ---- */
.phases{ max-width:78ch; margin-top:30px; }
.phases::before{ left:11px; top:10px; bottom:10px; width:2px; background:var(--line); }
.ph-line{ position:absolute; left:11px; top:10px; bottom:10px; width:2px; background:var(--ochre-deep); transform-origin:top; transform:scaleY(0); }
.phase{ padding:0 0 38px 54px; }
.phase::before{ left:3px; top:3px; width:18px; height:18px; background:var(--bg); border:2px solid var(--line); transition:background .35s ease, border-color .35s ease, transform .35s ease; z-index:1; }
.phase.on::before{ background:var(--ochre-deep); border-color:var(--ochre-deep); transform:scale(1.08); }
.phase .when{ display:inline-block; padding:4px 11px; border:1px solid var(--line); background:var(--paper); border-radius:999px; font-size:12px; letter-spacing:.06em; text-transform:uppercase; color:var(--rust); }
.phase h3{ font-size:22px; margin:12px 0 8px; line-height:1.3; }
.phase p{ font-size:16.5px; line-height:1.65; color:var(--ink-soft); max-width:62ch; }
.note-small{ font-size:14.5px; line-height:1.6; color:var(--ink-soft); padding-left:18px; border-left:2px solid var(--line); }

/* ---- Ce facem acasă + semnale de alarmă ---- */
.split{ gap:36px; }
.cond .split h2{ font-size:clamp(22px,2.4vw,28px); margin-bottom:18px; }
.kit{ background:var(--paper); border:1px solid var(--line); border-radius:4px; padding:6px 26px; }
.kit li{ padding:15px 0 15px 34px; font-size:16px; line-height:1.55; border-bottom:1px solid var(--line); }
.kit li:last-child{ border-bottom:0; }
.kit li::before{ left:2px; top:20px; width:15px; height:8px; background:none; border-left:2px solid var(--ochre-deep); border-bottom:2px solid var(--ochre-deep); transform:rotate(-45deg); }
.alarm{ background:#FDF1ED; border:1px solid #F3C9BF; border-left:4px solid var(--rust); border-radius:4px; padding:26px 28px 24px; }
.alarm h2{ font-size:clamp(22px,2.4vw,26px); color:var(--teal-deep); margin-bottom:14px; display:block; }
.alarm h2::before{ display:inline-flex !important; vertical-align:middle; align-items:center; justify-content:center; content:"!"; width:28px; height:28px; margin:-3px 12px 0 0 !important; border-radius:50%; background:var(--rust); color:#fff; font-family:'Inter',system-ui,sans-serif; font-size:16px; font-weight:700; line-height:1; }
.alarm ul{ margin:0; padding-left:20px; }
.alarm li{ font-size:15.5px; line-height:1.6; margin-bottom:11px; color:var(--ink); }
.alarm li::marker{ color:var(--rust); }

/* ---- Întrebări frecvente (acordeon, construit de js/cond.js) ---- */
.faq-item{ max-width:78ch; padding:0; border-bottom:1px solid var(--line); }
.faq-item:first-of-type{ border-top:1px solid var(--line); }
.faq-item h3{ margin:0; font-size:19px; }
.faq-q{ all:unset; box-sizing:border-box; width:100%; display:flex; align-items:center; justify-content:space-between; gap:20px; padding:22px 4px; cursor:pointer; font-family:'Spectral',Georgia,serif; font-size:19px; font-weight:600; line-height:1.35; color:var(--teal-deep); }
.faq-q:hover{ color:var(--teal); }
.faq-q:focus-visible{ outline:2px solid var(--ochre-deep); outline-offset:2px; border-radius:3px; }
.faq-i{ flex:0 0 auto; position:relative; width:22px; height:22px; border:1.5px solid var(--ochre-deep); border-radius:50%; transition:background .25s ease; }
.faq-i::before, .faq-i::after{ content:""; position:absolute; left:50%; top:50%; width:10px; height:1.5px; background:var(--ochre-deep); transform:translate(-50%,-50%); transition:transform .3s ease, background .25s ease; }
.faq-i::after{ transform:translate(-50%,-50%) rotate(90deg); }
.faq-q[aria-expanded="true"] .faq-i{ background:var(--ochre-deep); }
.faq-q[aria-expanded="true"] .faq-i::before{ background:#fff; }
.faq-q[aria-expanded="true"] .faq-i::after{ transform:translate(-50%,-50%) rotate(0); background:#fff; }
.faq-a{ padding:0 4px 24px; }
.faq-a[hidden]{ display:none; }
.faq-a p{ margin:0 0 12px; font-size:16.5px; line-height:1.7; color:var(--ink-soft); max-width:64ch; }

/* ---- Citește și + avertisment ---- */
a.related-card{ position:relative; display:flex; flex-direction:column; justify-content:space-between; gap:14px; padding:30px 28px 26px; transition:background .25s ease; }
a.related-card h3{ font-size:20px; line-height:1.35; margin-top:10px; }
a.related-card::after{ content:"→"; align-self:flex-start; color:var(--ochre-deep); font-size:18px; transition:transform .25s ease; }
a.related-card:hover::after, a.related-card:focus-visible::after{ transform:translateX(5px); }
a.related-card::before{ content:""; position:absolute; left:0; top:0; height:2px; width:0; background:var(--ochre-deep); transition:width .4s ease; }
a.related-card:hover::before, a.related-card:focus-visible::before{ width:100%; }
.disclaimer{ padding-left:18px; border-left:2px solid var(--line); line-height:1.6; }

@media (max-width:860px){
  .cond-hero{ padding:40px 0 40px; }
  .cond-hero .facts{ grid-template-columns:1fr; gap:10px; margin-top:28px; }
  .cond-hero .lead{ font-size:17px; }
  .phase{ padding:0 0 32px 46px; }
  .split{ gap:28px; }
  .kit{ padding:4px 20px; }
  .alarm{ padding:22px 20px; }
  .faq-q{ padding:20px 2px; font-size:18px; }
  a.related-card{ padding:24px 20px 22px; }
}
