/* OCF — Organizational Clarity Framework — page styles */

/* ─── HERO ─── */
.ocf-hero { background: #fff; }

.ocf-brand {
  font-size: .65em;
  letter-spacing: .15em;
  color: var(--teal);
}

/* Visual: 4 pillar badges in a circle */
.ocf-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 320px;
}

.ocf-circle {
  position: relative;
  width: 280px;
  height: 280px;
  border: 2px dashed #e2e8f0;
  border-radius: 50%;
  margin: 0 auto;
}

.ocf-pillar-badge {
  position: absolute;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,.12);
}

.ocf-pillar-badge.v { background: #10b981; top: -10px; left: 50%; transform: translateX(-50%); }
.ocf-pillar-badge.c { background: #8b5cf6; top: 50%; right: -10px; transform: translateY(-50%); }
.ocf-pillar-badge.j { background: #f59e0b; bottom: -10px; left: 50%; transform: translateX(-50%); }
.ocf-pillar-badge.m { background: #3b82f6; top: 50%; left: -10px; transform: translateY(-50%); }

.ocf-center-score {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.3;
}

.ocf-center-score span {
  font-size: 1.6rem;
  color: var(--teal);
}

/* ─── PROBLEM CARDS ─── */
#problema { background: var(--light); }

.problem-card {
  background: #fff;
  padding: 2rem 1.8rem;
  border-radius: 4px;
  border: 1px solid #e8e8e8;
  height: 100%;
  transition: transform .25s, box-shadow .25s;
}

.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
}

.problem-icon {
  font-size: 1.5rem;
  color: #ef4444;
  margin-bottom: 1rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(239,68,68,.08);
  border-radius: 8px;
}

.problem-title {
  font-size: .92rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: .6rem;
}

.problem-text {
  font-size: .82rem;
  line-height: 1.75;
  color: #666;
  margin: 0;
}

/* ─── PILLAR CARDS ─── */
.ocf-pillars-section { background: #fff; }

.pillar-card {
  background: var(--light);
  border-radius: 4px;
  padding: 2rem 1.8rem;
  height: 100%;
  border: 1px solid #e8e8e8;
  border-top: 4px solid;
  transition: transform .25s, box-shadow .25s;
  position: relative;
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
}

.pillar-letter {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: .25rem;
}

.pillar-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: .5rem;
}

.pillar-question {
  font-size: .82rem;
  font-weight: 600;
  font-style: italic;
  color: #888;
  margin-bottom: .75rem;
}

.pillar-desc {
  font-size: .82rem;
  line-height: 1.75;
  color: #666;
  margin-bottom: .75rem;
}

.pillar-items {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #bbb;
}

.pillar-diff {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: .6rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .2rem .5rem;
  border-radius: 2px;
  background: rgba(139,92,246,.1);
  color: #8b5cf6;
}

/* ─── FLOW (V → C → J → M) ─── */
.ocf-flow {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
}

.ocf-flow-step {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
}

.ocf-flow-arrow {
  color: #ccc;
  font-size: .85rem;
}

.ocf-flow-result {
  background: var(--teal);
  color: #fff;
  padding: .5rem 1.2rem;
  border-radius: 4px;
  font-weight: 800;
  font-size: .85rem;
  letter-spacing: .05em;
}

/* ─── DIVERGENCE EXAMPLE ─── */
#divergencia { background: var(--light); }

.divergence-example {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  padding: 2rem;
}

.div-header {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1.5rem;
}

.div-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.div-label {
  width: 110px;
  font-size: .78rem;
  font-weight: 700;
  color: var(--dark);
  flex-shrink: 0;
}

.div-bars {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .3rem;
}

.div-bar {
  height: 18px;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: .5rem;
  font-size: .65rem;
  font-weight: 700;
  color: #fff;
  min-width: 30px;
  transition: width .6s ease;
}

.div-bar.leadership { background: var(--teal); }
.div-bar.team { background: #94a3b8; }

.div-gap {
  width: 40px;
  text-align: center;
  font-size: .78rem;
  font-weight: 800;
  color: #10b981;
  flex-shrink: 0;
}

.div-gap.critical { color: #f59e0b; }
.div-gap.alert { color: #ef4444; background: #fef2f2; border-radius: 3px; padding: 2px 4px; }

.div-legend {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #f1f5f9;
}

.div-legend-item {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .7rem;
  font-weight: 600;
  color: #999;
}

.div-dot {
  width: 10px;
  height: 10px;
  border-radius: 2px;
}

.div-dot.leadership { background: var(--teal); }
.div-dot.team { background: #94a3b8; }
.div-dot.alert-dot { background: #ef4444; }

/* ─── RANGE CARDS ─── */
.range-card {
  background: #fff;
  padding: 2rem 1.8rem;
  border-radius: 4px;
  border: 1px solid #e8e8e8;
  height: 100%;
  transition: transform .25s;
}

.range-card:hover { transform: translateY(-3px); }

.range-score {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: .25rem;
}

.range-name {
  font-size: 1rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: .75rem;
}

.range-desc {
  font-size: .82rem;
  line-height: 1.75;
  color: #666;
  margin-bottom: 1rem;
}

.range-reapply {
  font-size: .72rem;
  font-weight: 700;
  color: #999;
}

.range-reapply i {
  margin-right: .3rem;
  color: var(--teal);
}

/* ─── THEORY BOX ─── */
.theory-box {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  padding: 2rem;
}

.theory-item {
  font-size: .88rem;
  color: #555;
  padding: .65rem 0;
  border-bottom: 1px solid #f5f5f5;
  line-height: 1.6;
}

.theory-item:last-child { border-bottom: none; }

.theory-item strong { color: var(--dark); }

/* ─── MOBILE ─── */
@media (max-width: 767px) {
  .div-row { flex-wrap: wrap; }
  .div-label { width: 100%; margin-bottom: .25rem; }
  .div-gap { width: auto; }
  .div-legend { flex-wrap: wrap; gap: .75rem; }
  .ocf-flow { flex-wrap: wrap; justify-content: center; }
}
