/* ==========================================================================
   SOCEC-BA — company.css
   Timeline, key figures, values, governance.
   ========================================================================== */

.timeline { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 72px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 3px; background: var(--line); border-radius: 3px; }
.timeline li { position: relative; padding: 38px 16px 0 0; min-width: 0; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 0; width: 25px; height: 25px; border-radius: 50%; background: var(--surface); border: 5px solid var(--green); box-shadow: 0 0 0 5px color-mix(in srgb, var(--lime) 25%, transparent); }
.timeline time { display: block; font-family: var(--font-display); font-weight: 700; font-size: 20px; }
.timeline p { color: var(--muted); font-size: 14.5px; line-height: 1.55; margin-top: 6px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { padding: 26px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.stat .ico { margin-bottom: 8px; }
.stat b { font-family: var(--font-display); font-weight: 700; font-size: clamp(24px, 2vw, 29px); color: var(--blue); line-height: 1.1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat small { font-size: 14px; color: var(--green-text); font-weight: 600; letter-spacing: .06em; }
.stat span:not(.ico) { color: var(--muted); font-size: 14.5px; }
.stats-note { margin-top: 18px; text-align: center; color: var(--muted); font-size: 14px; }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value { display: flex; flex-direction: column; gap: 12px; padding: 32px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.value h3 { font-size: 24px; font-weight: 600; margin-top: 6px; }
.value p { color: var(--muted); }

.gov { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 64px; }
.gov__card { display: grid; grid-template-columns: auto 1fr; column-gap: 18px; row-gap: 4px; align-items: center; padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.gov__card .ico { grid-row: span 3; }
.gov__card b { font-family: var(--font-display); font-size: 40px; color: var(--blue); line-height: 1; }
.gov__card h3 { font-size: 19px; font-weight: 600; }
.gov__card p { grid-column: 1 / -1; color: var(--muted); font-size: 14.5px; margin-top: 8px; }
.members-title { font-size: 22px; font-weight: 600; margin: 48px 0 18px; text-align: center; }
.members { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.member { text-align: center; padding: 24px 14px; display: flex; flex-direction: column; align-items: center; gap: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); min-width: 0; }
.avatar { width: 84px; height: 84px; border-radius: 50%; background: linear-gradient(135deg, #eaf3ff, #e3f2d6); border: 2px dashed var(--line); display: grid; place-items: center; margin-bottom: 10px; }
.member b { font-size: 15px; }
.member span:not(.avatar) { font-size: 13.5px; color: var(--muted); }

@media (max-width: 1080px) {
  .stats { grid-template-columns: repeat(3, 1fr); }
  .members { grid-template-columns: repeat(3, 1fr); }
  .timeline { grid-template-columns: repeat(3, 1fr); row-gap: 30px; }
  .timeline::before { display: none; }
}
@media (max-width: 960px) {
  .values, .gov { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .stats { grid-template-columns: 1fr; }
  .members { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: 1fr; margin-top: 56px; }
  .timeline li { padding: 0 0 0 44px; }
  .timeline::before { display: block; left: 12px; right: auto; top: 0; bottom: 0; width: 3px; height: auto; }
}
