/* ============================================
   BEMULTIFLOW — Page-specific styles
   ============================================ */

/* ── Cashflow section ── */
.sec-cashflow { background: var(--white); }

.cf-dash {
  background: var(--white);
  border: 1px solid var(--line-2);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.cf-topbar {
  background: var(--navy); padding: 14px 20px;
  display: flex; align-items: center; justify-content: space-between;
}
.cf-title { font-size: 13px; font-weight: 500; color: #fff; }
.cf-sub   { font-size: 10px; color: rgba(255,255,255,.4); margin-top: 2px; }
.cf-body  { padding: 16px; background: var(--sky-2); }

.cf-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 12px; }
.cf-kpi { background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px; }
.cf-kpi-lbl { font-size: 9.5px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .07em; margin-bottom: 5px; }
.cf-kpi-val { font-family: var(--sans); font-size: 21px; font-weight: 400; color: var(--navy); line-height: 1; }
.cf-kpi-d   { font-family: var(--mono); font-size: 10px; margin-top: 4px; }
.g { color: var(--ok); }
.o { color: var(--warn); }
.m { color: var(--ink-3); }
.r { color: var(--danger); }

.cf-chart-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 13px; margin-bottom: 12px; }
.cf-chart-head { display: flex; justify-content: space-between; font-size: 11px; margin-bottom: 8px; }
.cf-chart-head strong { color: var(--navy); font-weight: 500; }
.cf-chart-head span   { color: var(--ink-3); font-family: var(--mono); font-size: 10px; }

/* ── BI section ── */
.sec-bi { background: var(--warm); }

.bi-modules { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
@media (max-width: 640px) { .bi-modules { grid-template-columns: 1fr; } }

.bi-mod { border-radius: var(--r-md); padding: 18px 16px; border: 1px solid; transition: all var(--t-base); }
.bi-mod:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.bi-mod.vta  { background: rgba(11,158,106,.04);  border-color: rgba(11,158,106,.18); }
.bi-mod.log  { background: rgba(196,123,10,.04);  border-color: rgba(196,123,10,.18); }
.bi-mod.ctrl { background: rgba(124,58,237,.04);  border-color: rgba(124,58,237,.18); }
.bi-mod-dot { width: 7px; height: 7px; border-radius: 50%; margin-bottom: 10px; }
.bi-mod.vta .bi-mod-dot  { background: var(--ok); }
.bi-mod.log .bi-mod-dot  { background: var(--warn); }
.bi-mod.ctrl .bi-mod-dot { background: var(--purple); }
.bi-mod-title { font-weight: 600; font-size: 14px; color: var(--navy); margin-bottom: 5px; }
.bi-mod-desc  { font-size: 13px; color: var(--ink-2); line-height: 1.5; }

/* BI dash preview */
.bi-dash-preview {
  background: var(--white);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.bi-dp-head {
  background: var(--navy); padding: 13px 18px;
  display: flex; align-items: center; justify-content: space-between;
}
.bi-dp-title { font-size: 12.5px; font-weight: 500; color: #fff; }
.bi-dp-body { padding: 14px; background: var(--sky-2); }
.bi-dp-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 12px; }
.bi-dp-kpi { background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 10px 7px; text-align: center; }
.bi-dp-lbl { font-size: 9px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.bi-dp-val { font-family: var(--sans); font-size: 17px; font-weight: 400; color: var(--navy); line-height: 1; }

/* ── Adaptabilidad section (dark) ── */
.sec-adapt {
  background: var(--navy);
  position: relative; overflow: hidden;
}
.sec-adapt::before {
  content: '';
  position: absolute; top: -30%; right: -20%;
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(59,158,255,.1), transparent 60%);
  pointer-events: none;
}

.adapt-pillars { display: flex; flex-direction: column; margin-top: 32px; }
.adapt-pillar {
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  display: flex; gap: 18px;
}
.adapt-pillar:last-child { border-bottom: none; }
.adapt-num { font-family: var(--mono); font-size: 10px; color: rgba(255,255,255,.32); padding-top: 3px; flex-shrink: 0; width: 22px; }
.adapt-pillar-title { font-weight: 500; font-size: 15px; color: #fff; margin-bottom: 5px; }
.adapt-pillar-desc  { font-size: 13.5px; color: rgba(255,255,255,.55); line-height: 1.6; }

.adapt-items { display: flex; flex-direction: column; gap: 12px; }
.adapt-item {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-md);
  padding: 16px 18px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; transition: all var(--t-base);
}
.adapt-item:hover { background: rgba(255,255,255,.08); border-color: rgba(59,158,255,.3); }
.adapt-item-icon  { font-size: 18px; flex-shrink: 0; }
.adapt-item > div:nth-child(2) { flex: 1; }
.adapt-item-name  { font-size: 14px; font-weight: 500; color: #fff; }
.adapt-item-sub   { font-size: 12px; color: rgba(255,255,255,.42); margin-top: 2px; }
.adapt-check {
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(11,158,106,.2); border: 1px solid rgba(11,158,106,.4);
  display: grid; place-items: center;
  color: #4ADE80; font-size: 11px; flex-shrink: 0;
}

.adapt-logos { margin-top: 22px; }
.adapt-logos-lbl { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.32); margin-bottom: 10px; }
.adapt-logos-row { display: flex; gap: 7px; flex-wrap: wrap; }
.adapt-pill {
  padding: 5px 13px; border-radius: var(--r-full);
  border: 1px solid rgba(255,255,255,.15);
  font-size: 12px; color: rgba(255,255,255,.62);
  font-family: var(--mono); transition: all var(--t-base);
}
.adapt-pill:hover { border-color: rgba(255,255,255,.35); color: #fff; }

/* ── Comparativa section ── */
.sec-compare { background: var(--white); }

/* ── Casos section ── */
.sec-casos { background: var(--sky-2); }
