/* ========================================
   OSCG — Páginas internas
   Nodos: 98, 100, 101
   NOTA: reglas de acento de color (#00049E)
   eliminadas por ser redundantes — el sitio
   ya usa #00049E como color base global.
   Se conserva toda la estructura/layout.
   ======================================== */

/* ── HERO MARGIN-TOP ─────────────────────────────────────── */
body.page-node-98 .ance-inner-hero,
body.page-node-100 .ance-inner-hero,
body.page-node-101 .ance-inner-hero { margin-top: 0px !important; }

/* ============================================================
   SPLIT LAYOUT — nodo 98
   ============================================================ */
.ni-services {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 40px 60px;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
.ni-split {
  display: grid;
  grid-template-columns: 38% 62%;
  min-height: 520px;
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  overflow: hidden;
}
.ni-list-col {
  border-right: 1px solid #e8e8e8;
  display: flex; flex-direction: column;
  overflow-y: auto; max-height: none;
}
.ni-list-item {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 20px; cursor: pointer;
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.2s ease;
}
.ni-list-item:last-child { border-bottom: none; }
.ni-list-item:hover,
.ni-list-item.activo { background: #f5f7ff; }
.ni-list-item.activo { border-left: 3px solid #00049E; }
.ni-list-num {
  font-size: 20px; font-weight: 800;
  color: #e0e0e0; min-width: 32px; transition: color 0.2s;
}
.ni-list-item.activo .ni-list-num,
.ni-list-item:hover .ni-list-num { color: #00049E; }
.ni-list-texts { flex: 1; }
.ni-list-technical { font-size: 12px; font-weight: 700; color: #1a1a1a; line-height: 1.3; margin-bottom: 2px; }
.ni-list-client { font-size: 11px; color: #999; line-height: 1.4; }
.ni-list-arrow { font-size: 20px; color: #cccccc; transition: color 0.2s, transform 0.2s; }
.ni-list-item.activo .ni-list-arrow,
.ni-list-item:hover .ni-list-arrow { color: #00049E; transform: translateX(3px); }
.ni-detail-col {
  padding: 32px 30px; background: #ffffff;
  overflow-y: auto; max-height: none;
}
.ni-detail-content { display: none; }
.ni-detail-content.visible { display: block; }
.ni-detail-num { font-size: 48px; font-weight: 800; color: #f0f0f0; line-height: 1; margin-bottom: 4px; }
.ni-detail-tag { font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #00049E; margin-bottom: 8px; }
.ni-detail-title { font-size: 17px; font-weight: 800; color: #1a1a1a; line-height: 1.3; margin-bottom: 6px; text-transform: uppercase; }
.ni-detail-client { font-size: 13px; color: #888; font-style: italic; margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid #f0f0f0; }
.ni-detail-desc { font-size: 13px; color: #555; line-height: 1.7; margin-bottom: 18px; }
.ni-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 20px; }
.ni-detail-col-title { font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: #aaaaaa; margin-bottom: 10px; padding-bottom: 6px; border-bottom: 1px solid #f0f0f0; }
.ni-detail-list { list-style: none; padding: 0; margin: 0; }
.ni-detail-list li { font-size: 13px; color: #555; line-height: 1.5; padding: 5px 0 5px 14px; position: relative; border-bottom: 1px solid #f8f8f8; }
.ni-detail-list li::before { content: ''; position: absolute; left: 0; top: 12px; width: 5px; height: 5px; border-radius: 50%; background: #00049E; }
.ni-detail-meta { display: flex; padding-top: 16px; border-top: 1px solid #f0f0f0; flex-wrap: wrap; }
.ni-detail-meta-item { flex: 1; padding: 0 16px; border-right: 1px solid #e0e0e0; min-width: 100px; }
.ni-detail-meta-item:first-child { padding-left: 0; }
.ni-detail-meta-item:last-child { border-right: none; }
.ni-detail-meta-label { font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #00049E; margin-bottom: 4px; }
.ni-detail-meta-value { font-size: 12px; color: #333; font-weight: 600; line-height: 1.4; }

/* ── Botón descargable ───────────────────────────────────── */
.ni-dl-btn {
  display: inline-block; background: #00049e; color: #ffffff !important;
  font-size: 11px; font-weight: 700; padding: 5px 10px; border-radius: 4px;
  text-decoration: none !important; margin: 3px 3px 0 0; transition: background 0.2s;
}
.ni-dl-btn:hover { background: #2c32ff; }

/* ── INFO CARDS ──────────────────────────────────────────── */
.ni-info-section {
  max-width: 960px; margin: 0 auto 60px;
  padding: 3rem 40px; background: #f8f8f8;
  border-radius: 8px; box-sizing: border-box;
}
.ni-info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; max-width: 1200px; margin: 0 auto; }
.ni-info-item { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 2.5rem; position: relative; }
.ni-info-item:not(:last-child)::after { content: ''; position: absolute; right: 0; top: 10%; height: 80%; width: 1px; background: rgba(0,4,158,0.2); }
.ni-info-icon-wrap { width: 64px; height: 64px; background: #00049e; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.2rem; flex-shrink: 0; }
.ni-info-icon-wrap img { height: 52px; width: auto; display: block; }
.ni-info-nombre { font-size: 13px; font-weight: 700; color: #111; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.8rem; }
.ni-info-dato { font-size: 12px; color: #666; line-height: 1.8; }
.ni-info-dato a { color: #00049E; text-decoration: none; font-weight: 600; }
.ni-info-dato a:hover { text-decoration: underline; }
.ni-info-pending { display: inline-block; margin-top: 6px; font-size: 11px; font-weight: 700; color: #e67e22; background: #fef9f0; border: 1px dashed #e67e22; border-radius: 4px; padding: 4px 10px; }

/* ── Responsive nodo 98 ──────────────────────────────────── */
@media (max-width: 1024px) {
  .ni-split { grid-template-columns: 1fr; }
  .ni-list-col { max-height: none; border-right: none; border-bottom: 1px solid #e8e8e8; }
  .ni-detail-col { max-height: none; padding: 24px 20px; }
  .ni-detail-grid { grid-template-columns: 1fr; }
  .ni-detail-meta { flex-direction: column; gap: 12px; }
  .ni-detail-meta-item { border-right: none; padding: 0; border-bottom: 1px solid #f0f0f0; padding-bottom: 10px; }
  .ni-detail-meta-item:last-child { border-bottom: none; }
  .ni-services { padding: 0 20px 40px; }
  .ni-info-section { padding: 3rem 1.5rem; }
  .ni-info-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .ni-info-item:not(:last-child)::after { display: none; }
  .ni-info-item { border-bottom: 1px solid rgba(0,4,158,0.15); padding-bottom: 2rem; }
  .ni-info-item:last-child { border-bottom: none; }
}
@media (max-width: 768px) {
  .ni-info-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   ESQUEMAS DE CERTIFICACIÓN — nodo 101
   ============================================================ */
.mc-services {
  max-width: 900px; margin: 0 auto;
  padding: 0 40px 60px;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
.mc-timeline {
  position: relative; display: flex;
  align-items: flex-start; padding-top: 10px; margin-bottom: 30px;
}
.mc-timeline::before {
  content: ''; position: absolute;
  top: 34px; left: 34px; right: 34px; height: 2px;
  background: linear-gradient(90deg, #00049E, #2C32FF); z-index: 0;
}
.mc-titem { flex: 1; display: flex; flex-direction: column; align-items: center; position: relative; z-index: 1; cursor: pointer; }
.mc-dot {
  width: 48px; height: 48px; border-radius: 50%;
  background: #fff; border: 2px solid #00049E;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800; color: #00049E;
  transition: all 0.3s ease; margin-bottom: 14px; flex-shrink: 0;
}
.mc-titem:hover .mc-dot,
.mc-titem.active .mc-dot { background: #00049E; color: #fff; transform: scale(1.1); box-shadow: 0 4px 16px rgba(0,4,158,0.35); }
.mc-tname { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: #555; text-align: center; line-height: 1.4; padding: 0 4px; transition: color 0.3s ease; }
.mc-titem.active .mc-tname { color: #00049E; }
.mc-progress { height: 2px; background: #e8e8e8; margin-bottom: 20px; border-radius: 2px; overflow: hidden; }
.mc-progress-bar { height: 100%; width: 0%; background: #00049E; transition: width linear; }
.mc-panel { display: none; border: 1px solid #e0e0e0; border-left: 4px solid #00049E; border-radius: 4px; background: #fff; overflow: hidden; animation: mc-fadein 0.35s ease; }
.mc-panel.visible { display: block; }
@keyframes mc-fadein { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.mc-panel-header { display: flex; align-items: center; justify-content: space-between; padding: 22px 28px; cursor: pointer; user-select: none; transition: background 0.2s ease; }
.mc-panel-header:hover { background: #f5f7ff; }
.mc-panel-left { display: flex; align-items: center; gap: 18px; }
.mc-panel-num { font-size: 40px; font-weight: 800; color: #f0f0f0; line-height: 1; flex-shrink: 0; }
.mc-panel-tag { font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #00049E; margin-bottom: 4px; }
.mc-panel-title { font-size: 16px; font-weight: 800; color: #222; text-transform: uppercase; letter-spacing: 0.3px; }
.mc-panel-short { font-size: 13px; color: #888; margin-top: 3px; line-height: 1.5; }
.mc-toggle { width: 34px; height: 34px; border-radius: 50%; border: 2px solid #00049E; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: #00049E; font-size: 20px; font-weight: 300; transition: all 0.3s ease; }
.mc-panel-header.open .mc-toggle { background: #00049E; color: #fff; transform: rotate(45deg); }
.mc-panel-body { display: none; padding: 4px 28px 28px; border-top: 1px solid #f0f0f0; }
.mc-panel-body.open { display: block; }
.mc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 20px; }
.mc-col-title { font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #00049E; margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid #e8e8e8; }
.mc-list { list-style: none; padding: 0; margin: 0; }
.mc-list li { font-size: 13px; color: #555; line-height: 1.6; padding: 4px 0 4px 14px; position: relative; }
.mc-list li::before { content: ''; position: absolute; left: 0; top: 11px; width: 5px; height: 5px; border-radius: 50%; background: #00049E; }
.mc-meta { display: flex; margin-top: 20px; padding-top: 18px; border-top: 1px solid #f0f0f0; }
.mc-meta-item { flex: 1; padding: 0 20px; border-right: 1px solid #e0e0e0; }
.mc-meta-item:first-child { padding-left: 0; }
.mc-meta-item:last-child { border-right: none; }
.mc-meta-label { font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #00049E; margin-bottom: 4px; }
.mc-meta-value { font-size: 13px; color: #333; font-weight: 600; }

/* ── Botón externo con hover — STPS / Telecomunicaciones ── */
.mc-external-btn {
  display: inline-block;
  background: #00049e;
  color: #ffffff !important;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 4px;
  text-decoration: none !important;
  transition: background 0.2s ease, transform 0.2s ease;
}
.mc-external-btn:hover {
  background: #2c32ff;
  transform: translateY(-1px);
}

/* ── Descargables en 2 columnas (Solicitud / Contrato) ── */
.mc-dl-columns {
  display: flex;
  gap: 24px;
}
.mc-dl-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mc-dl-col-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 2px;
}

/* ── Botón descargable base + variante azul claro (Contrato) ── */
.ni-dl-btn {
  display: inline-block;
  background: #00049e;
  color: #ffffff !important;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 4px;
  text-decoration: none !important;
  margin: 3px 3px 0 0;
  transition: background 0.2s;
  vertical-align: top;
}
.ni-dl-btn:hover {
  background: #2c32ff;
}
.ni-dl-btn--light {
  background: #00b0f0;
}
.ni-dl-btn--light:hover {
  background: #33c1f5;
}
@media (max-width: 768px) {
  .mc-services { padding: 0 20px 40px; }
  .mc-grid { grid-template-columns: 1fr; }
  .mc-tname { font-size: 9px; }
  .mc-dot { width: 38px; height: 38px; font-size: 11px; }
  .mc-timeline::before { top: 29px; left: 29px; right: 29px; }
  .mc-meta { flex-direction: column; gap: 16px; }
  .mc-meta-item { border-right: none; padding: 0; border-bottom: 1px solid #f0f0f0; padding-bottom: 12px; }
  .mc-meta-item:last-child { border-bottom: none; }
  .mc-panel-header { padding: 18px 20px; }
  .mc-panel-body { padding: 4px 20px 24px; }
}

/* ── Icon list ───────────────────────────────────────────── */
.ance-icon-list { list-style: none; padding: 0; margin: 0 0 2rem; }
.ance-icon-list li { display: flex; align-items: center; gap: 18px; padding: 16px 0; border-bottom: 1px solid #f0f0f0; }
.ance-icon-list li:last-child { border-bottom: none; }
.ance-icon-list__icon { width: 48px; height: 48px; border-radius: 10px; background: #f0f2ff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ance-icon-list li span { font-size: 14px; color: #444; line-height: 1.6; }

/* ── CTA con texto ───────────────────────────────────────── */
.ance-cta-block h2 { margin-bottom: 1rem; }

body.page-node-98 .ance-cta-block,
body.page-node-100 .ance-cta-block,
body.page-node-101 .ance-cta-block {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 40px 40px;
  text-align: left;
}

body.page-node-98 .ance-cta-block p,
body.page-node-100 .ance-cta-block p,
body.page-node-101 .ance-cta-block p {
  font-size: 15px;
  color: #666;
  line-height: 1.7;
  text-align: left;
  margin: 0 0 1.5rem;
}
body.page-node-98 .ance-cta-block h2 .h2-light,
body.page-node-100 .ance-cta-block h2 .h2-light,
body.page-node-101 .ance-cta-block h2 .h2-light {
  font-weight: 300;
  color: #a0a0a0;
}

body.page-node-98 .ance-cta-block h2,
body.page-node-100 .ance-cta-block h2,
body.page-node-101 .ance-cta-block h2 {
  font-size: 30px;
  font-weight: 300;
  text-transform: uppercase;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

body.page-node-98 .ance-cta-block h2 .h2-bold,
body.page-node-100 .ance-cta-block h2 .h2-bold,
body.page-node-101 .ance-cta-block h2 .h2-bold {
  font-weight: 700;
  color: #111;
}

body.page-node-98 .ance-cta-block h2 .h2-light,
body.page-node-100 .ance-cta-block h2 .h2-light,
body.page-node-101 .ance-cta-block h2 .h2-light {
  font-weight: 300;
  color: #a0a0a0;
}

/* ── Subtítulo de norma en el Hero ── */
.ance-inner-hero__norma {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  margin-top: 10px;
  max-width: 700px;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ── Botón descargable STPS + wrapper centrado ── */
.stps-btn-wrap {
  text-align: center;
  margin-top: 12px;
}
.stps-dl-btn {
  display: inline-block;
  background: #00049e;
  color: #ffffff !important;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 4px;
  text-decoration: none !important;
  margin: 3px 3px 0 0;
  transition: background 0.2s;
}
.stps-dl-btn:hover {
  background: #2c32ff;
}