
.mc-bloc {
  --brand: #636d2f; --brand-d: #4f5725; --brand-l: #f6f8ec; --linie: #e1e6bf;
  --text: #1c1c1c; --text-2: #545454; --text-3: #6f6f6f; --gri-l: #ececec;
  --s1: #e9edcf; --s2: #cdd79a; --s3: #aebd5f; --s4: #7f8d36; --s5: #4f5725;
  --public: #6f7f14; --antrep: #2a78d6; --civic: #e87ba4;
  /* fundal alb: sectiunea Servicii de deasupra e deja nuantata (#f7fae7) */
  background: #fff; padding: 56px 0 64px; color: var(--text); font-size: 16px; line-height: 1.4;
  font-family: "Onest", system-ui, sans-serif;
}
.mc-bloc *, .mc-bloc *::before, .mc-bloc *::after { box-sizing: border-box; }
.mc-bloc a { color: var(--brand); }
.mc-bloc .mc-in { max-width: 1320px; margin: 0 auto; padding: 0 24px; }

.mc-bloc .mc-cap { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; margin-bottom: 24px; }
.mc-bloc .mc-cap h2 { margin: 0 0 6px !important; font-size: 36px !important; line-height: 1.15 !important; font-weight: 700 !important; color: var(--text) !important; }
.mc-bloc .mc-cap p { margin: 0; color: var(--text-2); font-size: 17px; max-width: 640px; }
.mc-bloc .mc-seg { display: inline-flex; background: #fff; border: 1px solid var(--linie); border-radius: 10px; padding: 3px; }
.mc-bloc .mc-seg button { border: 0; background: none; font: inherit; font-size: 15px; padding: 7px 12px; border-radius: 7px; cursor: pointer; color: var(--text-2); line-height: 1.3; }
.mc-bloc .mc-seg button.activ { background: var(--brand); color: #fff; font-weight: 600; }
.mc-bloc .mc-seg button:focus-visible { outline: 2px solid var(--brand-d); outline-offset: 2px; }

.mc-bloc .mc-tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.mc-bloc .mc-tile { background: var(--brand-l); border-radius: 14px; padding: 16px 16px 14px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.mc-bloc .mc-tile__val { font-size: 30px; font-weight: 700; color: var(--brand-d); line-height: 1.1; white-space: nowrap; }
.mc-bloc .mc-tile__val small { font-size: 17px; font-weight: 600; margin-left: 3px; }
.mc-bloc .mc-tile__et { font-size: 15px; color: var(--text-2); line-height: 1.3; }
.mc-bloc .mc-tile__jos { margin-top: auto; padding-top: 10px; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 6px 8px; min-height: 40px; }
.mc-bloc .mc-tile__jos .mc-spark { margin-left: auto; }
.mc-bloc .mc-chip { font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: #e6eacf; color: var(--text-2); white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.mc-bloc .mc-chip.sus { background: #e3f1e3; color: #1f5f22; }
.mc-bloc .mc-chip.jos { background: #f6e4e0; color: #7d2a1e; }
.mc-bloc .mc-bara { height: 6px; background: #fff; border-radius: 3px; overflow: hidden; margin-top: 8px; }
.mc-bloc .mc-bara i { display: block; height: 100%; background: var(--s4); border-radius: 3px; }
.mc-bloc .mc-spark { width: 84px; height: 30px; flex: none; overflow: visible; }

.mc-bloc .mc-mini { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 12px; margin-top: 12px; }
.mc-bloc .mc-card { background: #fff; border: 1px solid var(--linie); border-radius: 16px; padding: 18px 20px 20px; min-width: 0; }
.mc-bloc .mc-card h3 { margin: 0 0 2px !important; font-size: 18px !important; font-weight: 700 !important; line-height: 1.3 !important; color: var(--text) !important; }
.mc-bloc .mc-card .mc-sub { margin: 0 0 14px; font-size: 14px; color: var(--text-3); }
.mc-bloc .mc-ani { width: 100%; height: 170px; display: block; }
.mc-bloc .mc-ani text { font-size: 12px; fill: var(--text-3); font-family: inherit; }
.mc-bloc .mc-ani .mc-v { fill: var(--text); font-weight: 600; }
.mc-bloc .mc-top { margin: 0; padding: 0; }
.mc-bloc .mc-top li { list-style: none; display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 6px 0; font-size: 15px; margin: 0; }
.mc-bloc .mc-top .mc-n { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mc-bloc .mc-top .mc-b { height: 10px; border-radius: 0 4px 4px 0; background: var(--s4); min-width: 2px; }
.mc-bloc .mc-top .mc-vv { font-weight: 600; white-space: nowrap; font-size: 14px; }
.mc-bloc .mc-stack { display: flex; height: 28px; gap: 2px; margin: 6px 0 14px; }
.mc-bloc .mc-stack div { border-radius: 4px; min-width: 4px; }
.mc-bloc .mc-leg { display: grid; gap: 8px; }
.mc-bloc .mc-leg div { display: grid; grid-template-columns: 14px minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: 15px; }
.mc-bloc .mc-leg i { width: 14px; height: 14px; border-radius: 4px; }
.mc-bloc .mc-leg b { font-weight: 600; }
.mc-bloc .mc-leg span.mc-p { color: var(--text-2); font-size: 14px; margin-left: 6px; font-weight: 400; }

.mc-bloc .mc-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.mc-bloc .mc-btn { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 8px; font-size: 16px; font-weight: 600; text-decoration: none !important; border: 1.5px solid var(--brand); color: var(--brand) !important; background: #fff; }
.mc-bloc .mc-btn--p { background: var(--brand); color: #fff !important; }
.mc-bloc .mc-btn:hover { background: var(--brand-d); color: #fff !important; border-color: var(--brand-d); }
.mc-bloc .mc-nota { margin: 14px 0 0; font-size: 13px; color: var(--text-3); }

.mc-bloc .mc-tt { position: fixed; z-index: 3000; pointer-events: none; background: #1c1c1c; color: #fff; font-size: 13px; line-height: 1.35; padding: 7px 10px; border-radius: 8px; box-shadow: 0 4px 14px rgba(0,0,0,.2); opacity: 0; transition: opacity .1s; white-space: nowrap; }
.mc-bloc .mc-tt b { display: block; font-size: 14px; }

@media (max-width: 1100px) {
  .mc-bloc .mc-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mc-bloc .mc-mini { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .mc-bloc .mc-mini .mc-card:first-child { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .mc-bloc { padding: 40px 0 48px; }
  .mc-bloc .mc-in { padding: 0 16px; }
  .mc-bloc .mc-cap h2 { font-size: 28px !important; }
  .mc-bloc .mc-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .mc-bloc .mc-tile { padding: 14px 12px 12px; }
  .mc-bloc .mc-tile__val { font-size: 24px; }
  .mc-bloc .mc-tile__val small { font-size: 14px; }
  .mc-bloc .mc-tile__et { font-size: 14px; }
  .mc-bloc .mc-spark { width: 64px; }
  .mc-bloc .mc-mini { grid-template-columns: minmax(0, 1fr); }
  .mc-bloc .mc-top li { grid-template-columns: 96px minmax(0, 1fr) auto; }
  .mc-bloc .mc-btn { flex: 1 1 100%; justify-content: center; }
}
