/* =========================================================
   Organize view
   ========================================================= */
.org-view { position: relative; z-index: 2; display: grid; gap: 18px; padding: 0 20px 26px; }

.org-card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 24px 26px;
  box-shadow: 0 1px 2px rgba(16, 26, 44, .03), 0 18px 40px -26px rgba(16, 26, 44, .25);
  animation: rise .6s cubic-bezier(.2, .7, .2, 1) both;
}
.org-h { margin: 0 0 16px; font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: -0.03em; }

.org-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: radial-gradient(120% 140% at 100% 0%, rgba(210, 155, 30, .3), transparent 60%), var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.org-intro h2 { margin: 0 0 8px; font-family: var(--display); font-weight: 800; font-size: 30px; letter-spacing: -0.03em; }
.org-intro p { margin: 0; max-width: 62ch; font-size: 15.5px; line-height: 1.55; color: rgba(255, 255, 255, .78); }
.org-cta {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  background: #f4c24f;
  color: var(--navy);
  font-weight: 700;
  font-size: 15.5px;
  text-decoration: none;
  transition: transform .2s;
}
.org-cta:hover { transform: translateY(-2px); }
.org-cta:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.org-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: s; }
.org-steps li {
  counter-increment: s;
  display: grid;
  gap: 6px;
  align-content: start;
  padding: 18px;
  border-radius: 12px;
  background: var(--head);
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-2);
}
.org-steps li::before {
  content: counter(s);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 6px;
  border-radius: 50%;
  background: var(--navy);
  color: #f4c24f;
  font-family: var(--display);
  font-weight: 800;
  font-size: 16px;
}
.org-steps b { font-size: 16px; color: var(--ink); }
.org-steps a { color: var(--ink); }

.org-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.org-list { margin: 0 0 18px; padding-left: 18px; font-size: 14.5px; line-height: 1.6; color: var(--ink-2); }
.org-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  transition: background .2s;
}
.org-btn:hover { background: var(--head); }

.org-reps { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.org-reps li { display: grid; grid-template-columns: 26px 1fr auto; align-items: center; gap: 12px; padding: 13px 16px; font-size: 14.5px; color: var(--muted); }
.org-reps li + li { border-top: 1px solid var(--line-soft); }
.org-reps b { color: var(--ink); font-weight: 600; text-align: right; }
.org-reps a { color: var(--ink); }
.org-globe svg { width: 22px; height: 22px; fill: none; stroke: var(--ink-2); stroke-width: 1.6; display: block; }

.org-points { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.org-points th, .org-points td { padding: 9px 12px; text-align: right; white-space: nowrap; }
.org-points th:first-child, .org-points td:first-child { text-align: left; color: var(--muted); }
.org-points th { font-weight: 500; font-size: 12px; color: var(--muted); background: var(--head); }
.org-points tbody tr + tr td { border-top: 1px solid var(--line-soft); }
.org-points tbody tr:first-child td { font-weight: 700; color: #84600a; }
.org-note { margin: 12px 0 0; font-size: 13.5px; color: var(--muted); }

.org-admin { margin: 4px 0 0; text-align: center; font-size: 13px; }
.org-admin a { color: var(--muted); }

@media (max-width: 1000px) { .org-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .org-view { padding: 0 12px 18px; gap: 14px; }
  .org-card { padding: 20px 16px; }
  .org-intro { flex-direction: column; align-items: flex-start; }
  .org-intro h2 { font-size: 25px; }
  .org-grid { grid-template-columns: 1fr; gap: 14px; }
  .org-points th, .org-points td { padding: 8px 5px; font-size: 12.5px; }
}
@media (max-width: 520px) { .org-steps { grid-template-columns: 1fr; } }
/* que nada ensanche la pagina en movil */
.org-view > *, .org-grid > * { min-width: 0; }
.org-card .table-wrap { overflow-x: auto; }

/* Tabla de puntos en movil: sin scroll, cabeceras cortas */
.org-points .sm { display: none; }
@media (max-width: 600px) {
  .org-card .table-wrap { overflow: visible; }
  .org-points { table-layout: fixed; }
  .org-points th, .org-points td { padding: 8px 2px; font-size: 12px; }
  .org-points th { font-size: 10.5px; }
  .org-points th:first-child, .org-points td:first-child { width: 15%; padding-left: 6px; }
  .org-points th:last-child, .org-points td:last-child { padding-right: 6px; }
  .org-points .lg { display: none; }
  .org-points .sm { display: inline; }
}
