/* ===== PROPUESTA A · INSTITUCIONAL CLÁSICO ===== */
:root {
  --verde: #2e7d32;
  --verde-osc: #1b5e20;
  --verde-claro: #e8f5e9;
  --morado: #5e2e91;
  --morado-claro: #f3e9fb;
  --gris-bg: #f4f6f5;
  --gris-borde: #e0e4e1;
  --texto: #1f2a24;
  --texto-suave: #5b6b62;
}

* { font-family: 'Montserrat', sans-serif; }

body {
  background: var(--gris-bg);
  color: var(--texto);
  font-size: 15.5px;
}

/* ---------- BARRA SUPERIOR ---------- */
.barra-sup {
  position: sticky; top: 0; z-index: 1030;
  background: #fff;
  border-bottom: 3px solid var(--verde);
  min-height: 68px;
  padding: 8px 0;
}
.marca { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.marca-logo { height: 46px; }
.marca-grupo { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.logo-secihti { height: 40px; width: auto; }
.marca-txt { display: flex; flex-direction: column; line-height: 1.15; }
.marca-txt strong { font-size: .95rem; color: var(--verde-osc); }
.marca-txt small { color: var(--texto-suave); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; font-size: .68rem; }

/* ---------- LAYOUT ---------- */
.marco { display: flex; align-items: flex-start; }

.lateral {
  width: 272px; flex: 0 0 272px;
  position: sticky; top: var(--hdr-h, 71px);
  height: calc(100vh - 71px);
  overflow-y: auto;
  background: #fff;
  border-right: 1px solid var(--gris-borde);
  padding: 18px 14px;
  display: flex; flex-direction: column; gap: 16px;
}
.contenido { flex: 1; min-width: 0; padding: 26px clamp(16px, 3vw, 40px) 60px; }

.nav-vista { display: flex; flex-direction: column; gap: 4px; }
.nav-btn {
  display: flex; align-items: center; gap: 10px;
  width: 100%; text-align: left;
  border: 0; background: transparent;
  padding: 11px 14px; border-radius: 10px;
  font-size: .9rem; font-weight: 600; color: var(--texto-suave);
  cursor: pointer; transition: all .18s;
}
.nav-btn i { font-size: 1.05rem; }
.nav-btn:hover { background: var(--verde-claro); color: var(--verde-osc); }
.nav-btn.activa { background: var(--verde); color: #fff; box-shadow: 0 3px 10px rgba(46,125,50,.3); }
.badge-num { margin-left: auto; background: rgba(255,255,255,.22); border-radius: 20px; padding: 1px 8px; font-size: .72rem; }
.nav-btn:not(.activa) .badge-num { background: var(--gris-borde); }

/* ---------- CUENTA REGRESIVA ---------- */
.tarjeta-cuenta {
  background: linear-gradient(150deg, var(--verde-osc), var(--verde));
  color: #fff; border-radius: 14px; padding: 18px 16px; text-align: center;
}
.cuenta-etiqueta { font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; opacity: .8; margin: 0; }
.cuenta-evento { font-size: .95rem; }
.cuenta-cifras { display: flex; justify-content: center; gap: 7px; }
.cuenta-bloque { background: rgba(255,255,255,.14); border-radius: 8px; padding: 7px 4px; min-width: 50px; }
.cuenta-num { display: block; font-size: 1.25rem; font-weight: 800; line-height: 1; }
.cuenta-lab { font-size: .58rem; text-transform: uppercase; opacity: .85; }
.cuenta-fecha { font-size: .74rem; opacity: .9; }

/* ---------- VISTAS ---------- */
.btn-subsistema {
  background: linear-gradient(135deg, var(--verde), #43a047);
  color: #fff; border: 0;
  display: inline-flex; align-items: center; gap: 4px;
  box-shadow: 0 4px 14px rgba(46,125,50,.3);
}
.btn-subsistema:hover { color: #fff; filter: brightness(1.08); box-shadow: 0 6px 18px rgba(46,125,50,.4); }

.vista { display: none; }
.vista.activa { display: block; animation: aparecer .35s ease; }
@keyframes aparecer { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.titulo-vista { font-size: clamp(1.35rem, 2.5vw, 1.75rem); font-weight: 800; color: var(--verde-osc); margin-bottom: 4px; }
.titulo-vista i { color: var(--verde); }
.lead-vista { color: var(--texto-suave); margin-bottom: 22px; font-size: 1rem; }

/* ---------- HERO ---------- */
.hero {
  background: linear-gradient(135deg, var(--verde-osc) 0%, var(--verde) 55%, #43a047 100%);
  color: #fff; border-radius: 18px;
  padding: clamp(26px, 4vw, 46px);
  position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -70px; top: -70px;
  width: 260px; height: 260px; border-radius: 50%;
  background: rgba(255,255,255,.07);
}
.hero-sobre { text-transform: uppercase; letter-spacing: .16em; font-size: .74rem; font-weight: 700; opacity: .85; margin-bottom: 6px; }
.hero-titulo { font-size: clamp(2rem, 5vw, 3.1rem); font-weight: 800; margin: 0; line-height: 1.05; }
.hero-sub { font-size: clamp(1.05rem, 2.4vw, 1.45rem); font-weight: 600; opacity: .95; margin: 6px 0 14px; }
.hero-desc { max-width: 640px; opacity: .95; margin-bottom: 18px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; position: relative; z-index: 1; }
.chip {
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3);
  border-radius: 30px; padding: 6px 14px; font-size: .8rem; font-weight: 600;
  display: inline-flex; align-items: center; gap: 7px;
}
.hero-acciones { display: flex; flex-wrap: wrap; gap: 10px; position: relative; z-index: 1; }

/* ---------- TARJETAS ---------- */
.tarjeta {
  background: #fff; border: 1px solid var(--gris-borde);
  border-radius: 14px; padding: clamp(18px, 2.5vw, 26px);
  box-shadow: 0 2px 8px rgba(31,42,36,.05);
}
.secc-titulo { font-size: 1.02rem; font-weight: 800; color: var(--texto); display: flex; align-items: center; gap: 9px; margin-bottom: 14px; }
.secc-titulo i { color: var(--verde); }
.secc-titulo.verde i, .secc-titulo.verde { color: var(--verde); }
.secc-titulo.morado i, .secc-titulo.morado { color: var(--morado); }

.dato {
  background: #fff; border: 1px solid var(--gris-borde); border-radius: 12px;
  padding: 16px 12px; text-align: center; height: 100%;
  display: flex; flex-direction: column; gap: 2px;
}
.dato i { color: var(--verde); font-size: 1.4rem; }
.dato strong { font-size: 1.02rem; color: var(--verde-osc); }
.dato span { font-size: .76rem; color: var(--texto-suave); }

.linea-inv {
  background: var(--verde-claro); border: 1px solid #c8e6c9;
  border-radius: 10px; padding: 12px 14px;
  font-size: .87rem; font-weight: 600; color: var(--verde-osc);
  display: flex; align-items: center; gap: 9px; height: 100%;
}
.linea-inv i { color: var(--verde); font-size: 1.1rem; }

.linea-card {
  margin: 0; height: 100%;
  background: #fff; border: 1px solid var(--gris-borde); border-radius: 14px;
  padding: 16px 10px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(31,42,36,.05);
  transition: transform .2s, box-shadow .2s;
}
.linea-card:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(31,42,36,.12); border-color: #c8e6c9; }
.linea-card img { max-height: 155px; max-width: 100%; width: auto; object-fit: contain; display: block; }

/* Cards de líneas como disparadores de modal */
button.linea-card {
  width: 100%; font-size: inherit; text-align: center;
  cursor: pointer; flex-direction: column; gap: 10px;
}
button.linea-card:focus-visible { outline: 3px solid rgba(46,125,50,.5); outline-offset: 3px; }
.linea-ver {
  font-size: .68rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase;
  color: var(--verde); display: inline-flex; align-items: center; gap: 5px;
  transition: color .18s;
}
.linea-card:hover .linea-ver { color: var(--verde-osc); }

/* ---------- MODALES DE LÍNEAS DE INVESTIGACIÓN ---------- */
.modal-content { border: 0; border-radius: 18px; overflow: hidden; }
.linea-mh {
  background: linear-gradient(135deg, var(--verde-claro), #ffffff 70%);
  border-bottom: 2px solid var(--verde);
  align-items: center; gap: 14px; padding: 16px 20px;
}
.linea-mh-txt { flex: 1; min-width: 0; }
.linea-mh-kicker {
  display: block; font-size: .64rem; font-weight: 700; letter-spacing: .15em;
  text-transform: uppercase; color: var(--verde); margin-bottom: 3px;
}
.linea-mh .modal-title { font-size: 1.15rem; font-weight: 800; color: var(--verde-osc); line-height: 1.2; }
.linea-mh-img {
  height: 66px; width: auto; object-fit: contain;
  background: #fff; border: 1px solid var(--gris-borde); border-radius: 10px; padding: 5px;
}
.linea-mh .btn-close { filter: none; }
.linea-body-txt { font-size: .93rem; line-height: 1.6; color: var(--texto); }
.linea-sub {
  display: flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  color: var(--verde-osc); margin: 20px 0 11px; padding-bottom: 7px;
  border-bottom: 1px dashed var(--gris-borde);
}
.linea-sub i { color: var(--verde); font-size: 1rem; }
.linea-nota {
  background: var(--morado-claro); border: 1px solid #d9c4f0; color: #452066;
  border-radius: 10px; padding: 11px 13px; font-size: .85rem; line-height: 1.55; margin-top: 18px;
}
.linea-nota i { color: var(--morado); }
@media (max-width: 575.98px) {
  .linea-mh-img { height: 50px; padding: 4px; }
  .linea-mh .modal-title { font-size: 1rem; }
}

/* ---------- ALERTAS ---------- */
.alerta {
  display: flex; gap: 12px; align-items: flex-start;
  border-radius: 12px; padding: 15px 16px; font-size: .9rem;
}
.alerta i { font-size: 1.25rem; flex: 0 0 auto; margin-top: 1px; }
.alerta-clave { background: var(--morado-claro); border: 1px solid #d9c4f0; color: #452066; }
.alerta-clave i { color: var(--morado); }
.alerta-warn { background: #fff8e1; border: 1px solid #ffe082; color: #6d4c00; }
.alerta-warn i { color: #f9a825; }

/* ---------- LISTS ---------- */
.check-lista { list-style: none; padding: 0; margin: 0; }
.check-lista li { position: relative; padding-left: 26px; margin-bottom: 9px; font-size: .92rem; line-height: 1.5; }
.check-lista li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--verde); font-weight: 800; }
.docs-lista { padding-left: 20px; margin: 0; }
.docs-lista li { margin-bottom: 9px; font-size: .92rem; line-height: 1.5; }
.docs-lista li::marker { font-weight: 800; color: var(--verde); }
.pasos-lista { padding-left: 20px; margin: 0 0 12px; }
.pasos-lista li { margin-bottom: 7px; font-size: .92rem; line-height: 1.5; }
.pasos-lista li::marker { font-weight: 800; color: var(--verde); }
.contacto-lista { list-style: none; padding: 0; margin: 0; }
.contacto-lista li { display: flex; align-items: center; gap: 10px; margin-bottom: 11px; font-size: .93rem; }
.contacto-lista i { color: var(--verde); font-size: 1.1rem; }
.contacto-lista a { color: var(--verde-osc); font-weight: 600; text-decoration: none; }
.contacto-lista a:hover { text-decoration: underline; }

/* ---------- REGISTRO ---------- */
.lista-fechas { list-style: none; padding: 0; margin: 0; }
.lista-fechas li { display: flex; gap: 14px; margin-bottom: 16px; font-size: .92rem; line-height: 1.45; }
.lista-fechas li:last-child { margin-bottom: 0; }
.punto { flex: 0 0 13px; height: 13px; border-radius: 50%; background: var(--verde); margin-top: 4px; box-shadow: 0 0 0 4px var(--verde-claro); }
.leyenda { margin-bottom: 14px; }
.leyenda p { margin: 7px 0 0; font-size: .87rem; color: var(--texto-suave); }
.badge-leyenda { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: .78rem; font-weight: 700; }
.badge-leyenda.ok { background: var(--verde-claro); color: var(--verde-osc); border: 1px solid #a5d6a7; }
.badge-leyenda.warn { background: #fff8e1; color: #8d6e00; border: 1px solid #ffe082; }

/* ---------- FILTROS ---------- */
.filtros { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 18px; }
.filtro {
  border: 1.5px solid var(--gris-borde); background: #fff;
  border-radius: 30px; padding: 7px 17px;
  font-size: .84rem; font-weight: 700; color: var(--texto-suave);
  cursor: pointer; transition: all .16s;
}
.filtro:hover { border-color: var(--verde); color: var(--verde-osc); }
.filtro.activa { background: var(--verde); border-color: var(--verde); color: #fff; }
.filtro-contador { margin-left: auto; font-size: .82rem; color: var(--texto-suave); }
.filtro-contador strong { color: var(--verde-osc); font-size: 1rem; }

/* ---------- REQUISITOS ---------- */
.req-num {
  flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%;
  background: var(--verde); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .82rem; font-weight: 800; margin-right: 4px;
}
.mini-tag {
  font-size: .64rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em;
  border-radius: 20px; padding: 3px 9px; margin-left: auto;
  background: var(--gris-borde); color: var(--texto-suave);
}
.mini-tag + .mini-tag { margin-left: 6px; }
.tag-reg { background: #e3f2fd; color: #1565c0; }
.tag-tramite { background: #fff3e0; color: #e65100; }
.tag-fecha { background: var(--morado-claro); color: var(--morado); }
.tag-dr { background: #fce4ec; color: #ad1457; }
.tag-exento { background: #e8f5e9; color: var(--verde-osc); }

.accordion-item.req .accordion-button { font-weight: 700; font-size: .95rem; padding-top: 14px; padding-bottom: 14px; }
.accordion-item.req .accordion-button:not(.collapsed) { background: var(--verde-claro); color: var(--verde-osc); box-shadow: none; }
.accordion-item.faq-item .accordion-button { font-weight: 700; font-size: .93rem; }

.tabla-cuadro2 { width: 100%; border-collapse: collapse; font-size: .86rem; }
.tabla-cuadro2 th {
  background: var(--verde); color: #fff; padding: 11px 12px;
  text-align: left; font-weight: 700; font-size: .78rem;
  text-transform: uppercase; letter-spacing: .03em;
}
.tabla-cuadro2 td { padding: 10px 12px; border-bottom: 1px solid var(--gris-borde); }
.tabla-cuadro2 tbody tr:nth-child(even) { background: #fafcfb; }
.tabla-cuadro2 td:first-child { font-weight: 800; color: var(--verde-osc); }
.tabla-cuadro2 td.ok { color: var(--verde-osc); font-weight: 700; }
.tabla-cuadro2 td.no { color: #c62828; font-weight: 700; }
.tabla-cuadro2 td.parcial { color: #b45309; font-weight: 700; font-size: .85em; }

/* ---------- FLUJO / PROCESO ---------- */
.flujo { display: flex; flex-wrap: wrap; align-items: stretch; gap: 6px; }
.flujo-paso {
  flex: 1 1 150px; min-width: 140px;
  border-radius: 12px; padding: 14px 12px;
  text-align: center; color: #fff; position: relative;
  display: flex; flex-direction: column; justify-content: center; gap: 3px;
}
.flujo-paso strong { font-size: .85rem; line-height: 1.25; }
.flujo-paso small { font-size: .7rem; opacity: .9; line-height: 1.3; }
.flujo-paso.p1 { background: #1976d2; }
.flujo-paso.p2 { background: #f9a825; color: #4d3200; }
.flujo-paso.p3 { background: #ef6c00; }
.flujo-paso.p4 { background: var(--verde); }
.flujo-nro {
  position: absolute; top: -9px; left: 50%; transform: translateX(-50%);
  width: 22px; height: 22px; border-radius: 50%;
  background: #fff; color: var(--texto);
  font-size: .72rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 5px rgba(0,0,0,.2);
}
.flujo-flecha { align-self: center; font-weight: 800; color: var(--texto-suave); font-size: 1.2rem; }
.flujo.ruta .flujo-paso { padding-top: 16px; }

.etapa-titulo {
  font-size: 1.05rem; font-weight: 800;
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding-bottom: 12px; margin-bottom: 16px;
  border-bottom: 2px solid var(--gris-borde);
}
.etapa-titulo span {
  font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em;
  padding: 4px 12px; border-radius: 20px; color: #fff;
}
.etapa1 span { background: #1976d2; }
.etapa2 span { background: #f9a825; color: #4d3200; }
.etapa3 span { background: #ef6c00; }
.etapa-bloque { margin-bottom: 18px; }
.etapa-bloque h4 { font-size: .95rem; font-weight: 800; color: var(--verde-osc); margin-bottom: 8px; }
.etapa-bloque p { font-size: .93rem; line-height: 1.6; }

/* ---------- CRITERIOS / BARRAS ---------- */
.criterio { margin-bottom: 14px; }
.criterio-head { display: flex; justify-content: space-between; font-size: .88rem; font-weight: 700; margin-bottom: 5px; }
.criterio-head strong { color: var(--verde-osc); }
.barra { background: #eef1ef; border-radius: 20px; height: 16px; overflow: hidden; }
.barra > i {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--verde), #43a047);
  border-radius: 20px; transition: width .9s cubic-bezier(.25,.8,.25,1);
}
.barra.morado > i { background: linear-gradient(90deg, var(--morado), #8e45c9); }

/* ---------- CALENDARIO ---------- */
.hitos { list-style: none; padding: 0 0 0 26px; margin: 0; position: relative; border-left: 3px solid #c8e6c9; }
.hitos li { position: relative; padding: 0 0 22px 22px; }
.hitos li::before {
  content: ""; position: absolute; left: -33px; top: 3px;
  width: 15px; height: 15px; border-radius: 50%;
  background: #fff; border: 3px solid #9e9e9e;
}
.hitos li.vencido::before { border-color: var(--verde); background: var(--verde); }
.hitos li.vigente::before { border-color: var(--morado); background: var(--morado); box-shadow: 0 0 0 5px var(--morado-claro); }
.hitos li.inminente::before { border-color: #ef6c00; background: #ef6c00; box-shadow: 0 0 0 5px #fff3e0; animation: latido 1.6s ease-in-out infinite; }
.hitos li.futuro::before { border-color: #90a4ae; }
.hito-fecha { display: block; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--verde-osc); }
.hitos li.futuro .hito-fecha, .hitos li.inminente .hito-fecha { color: var(--texto-suave); }
.hitos li.vigente .hito-fecha { color: var(--morado); }
.hito-txt { display: block; font-size: .94rem; }
.hito-txt a { color: var(--verde-osc); font-weight: 700; }
#marca-hoy::before { border-color: #d32f2f !important; background: #d32f2f !important; animation: none !important; }
#marca-hoy {
  background: #ffebee; border-radius: 8px; padding: 6px 12px !important;
  display: inline-block; font-size: .8rem; font-weight: 800; color: #b71c1c;
  width: auto !important;
}

/* ---------- ESTADOS DE FECHAS (vencidas / por vencer) ---------- */
.estado-fecha {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .65rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
  border-radius: 20px; padding: 3px 10px; margin-top: 7px;
  white-space: nowrap;
}
.estado-fecha::before { content: "●"; font-size: .55rem; }
.estado-fecha.vencido { background: #eceff1; color: #607d8b; }
.estado-fecha.vigente { background: var(--verde-claro); color: var(--verde-osc); }
.estado-fecha.inminente { background: #fff3e0; color: #e65100; animation: latido 1.6s ease-in-out infinite; }
.estado-fecha.futuro { background: #e3f2fd; color: #1565c0; }
@keyframes latido { 50% { box-shadow: 0 0 0 4px rgba(239,108,0,.3); } }

[data-ini].vencido { opacity: .6; }
[data-ini].vencido .hito-fecha, [data-ini].vencido strong { text-decoration: line-through; }
[data-ini].vigente { position: relative; }
[data-ini].inminente > strong, [data-ini].inminente .hito-fecha { color: #e65100; }

.flujo-paso .estado-fecha { align-self: center; }
.flujo-paso.vencido { filter: grayscale(.75); opacity: .65; }
.flujo-paso.vigente { outline: 3px solid var(--morado); outline-offset: 3px; }
.flujo-paso.inminente { outline: 3px solid #fb8c00; outline-offset: 3px; }
.lista-fechas > li .estado-fecha { margin-left: auto; margin-top: 0; align-self: center; }
.dato .estado-fecha { align-self: center; }
.leyenda-estados {
  display: flex; flex-wrap: wrap; align-items: center; gap: 9px;
  background: #fff; border: 1px dashed var(--gris-borde);
  border-radius: 12px; padding: 11px 14px; margin-bottom: 20px;
}
.leyenda-estados .estado-fecha { margin-top: 0; }
.leyenda-estados small { color: var(--texto-suave); font-size: .76rem; width: 100%; }

/* ---------- INSCRIPCIÓN ---------- */
.pasos-inscripcion { display: flex; flex-direction: column; gap: 12px; }
.paso-ins {
  display: flex; gap: 16px; align-items: flex-start;
  background: #fff; border: 1px solid var(--gris-borde);
  border-radius: 14px; padding: 18px 20px;
}
.paso-ins > span {
  flex: 0 0 40px; height: 40px; border-radius: 50%;
  background: var(--verde); color: #fff;
  font-weight: 800; font-size: 1.05rem;
  display: flex; align-items: center; justify-content: center;
}
.paso-ins strong { display: block; margin-bottom: 4px; font-size: .97rem; color: var(--verde-osc); }
.paso-ins p { margin: 0; font-size: .9rem; color: var(--texto-suave); line-height: 1.55; }

/* ---------- FAQ ---------- */
.buscador-faq {
  display: flex; align-items: center; gap: 10px;
  background: #fff; border: 2px solid var(--gris-borde);
  border-radius: 40px; padding: 4px 18px;
  transition: border-color .18s;
}
.buscador-faq:focus-within { border-color: var(--verde); }
.buscador-faq i { color: var(--verde); font-size: 1.1rem; }
.buscador-faq input {
  flex: 1; border: 0; outline: 0; background: transparent;
  padding: 11px 0; font-size: .95rem; font-family: inherit; color: var(--texto);
}

/* ---------- CONTACTO / CIERRE ---------- */
.logo-cierre { height: 74px; }

/* ---------- PIE ---------- */
.pie {
  background: var(--verde-osc); color: #fff;
  padding: 18px clamp(16px, 3vw, 40px);
}
.pie-logo { height: 44px; }
.pie-txt { font-size: .8rem; opacity: .9; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 991.98px) {
  .marco { flex-direction: column; align-items: stretch; }
  .lateral {
    position: static; width: 100%; flex: none; height: auto;
    border-right: 0; border-bottom: 1px solid var(--gris-borde);
    padding: 12px;
  }
  .nav-vista { flex-direction: row; overflow-x: auto; gap: 6px; padding-bottom: 4px; }
  .nav-btn { white-space: nowrap; width: auto; padding: 9px 14px; }
  .tarjeta-cuenta {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas: "etq cifras" "evto cifras" "fch cifras";
    column-gap: 14px; row-gap: 2px; align-items: center;
    text-align: left; padding: 14px 16px; border-radius: 12px;
  }
  .tarjeta-cuenta .cuenta-etiqueta { grid-area: etq; margin: 0; }
  .tarjeta-cuenta .cuenta-evento { grid-area: evto; margin: 0; }
  .tarjeta-cuenta .cuenta-fecha { grid-area: fch; margin: 4px 0 0; }
  .tarjeta-cuenta .cuenta-cifras { grid-area: cifras; }
  .tarjeta-cuenta .cuenta-num { font-size: 1.05rem; }
  .tarjeta-cuenta .cuenta-bloque { min-width: 46px; padding: 6px 4px; }
  .contenido { padding: 20px 14px 50px; }
  .flujo-flecha { transform: rotate(90deg); }
  .filtro-contador { margin-left: 0; width: 100%; }
}
@media (max-width: 767.98px) {
  .tabla-cuadro2 { min-width: 560px; }
}
@media (max-width: 575.98px) {
  .marca-txt strong { font-size: .85rem; }
  .marca-logo { height: 38px; }
  .logo-secihti { height: 40px; }
  .hero-acciones .btn { width: 100%; }
  .tarjeta-cuenta {
    grid-template-columns: 1fr;
    grid-template-areas: "etq" "evto" "fch" "cifras";
  }
  .tarjeta-cuenta .cuenta-cifras { margin-top: 8px; }
  .accordion-item.req .accordion-button { flex-wrap: wrap; }
  .mini-tag { margin: 7px 0 0; }
  .mini-tag + .mini-tag { margin-left: 6px; }
  .lista-fechas > li { flex-wrap: wrap; }
  .lista-fechas > li .estado-fecha { margin-left: 26px; }
  .hitos { padding-left: 20px; }
  .hitos li { padding-left: 18px; }
  .hitos li::before { left: -27px; }
}
