

/* Requisitos: sidebar derecho en desktop */
.dv-reqs {
  margin-top: 0;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--bd);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  align-self: start; /* importante para que no se estire */
  position: sticky;
  top: 80px; /* se mantiene visible al hacer scroll */
}

.dv-reqs h3 {
  margin: 0 0 12px;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text);
}

#dvReqs {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 8px;
  list-style: none;
}

#dvReqs li {
  line-height: 1.55;
  position: relative;
  padding-left: 0;
}

#dvReqs li::before {
  content: "✓";
  color: var(--blue);
  font-weight: 700;
  position: absolute;
  left: -1.1rem;
}

/* Acciones (botón Participa) */
.dv-actions {
  margin-top: 16px;
  grid-column: 1; /* solo en la columna izquierda */
}

/* Mobile: requisitos abajo */
@media (max-width: 767.98px) {
  .dv-reqs {
    position: static;
    margin-top: 16px;
  }
  
  .dv-actions {
    grid-column: 1 / -1;
  }
}
.dv-info{
  background:#fff;
  border:1px solid rgba(0,0,0,.08);
  border-radius:16px;
  padding:16px 18px;
  margin:16px 0 20px;
  box-shadow:0 8px 24px rgba(13,38,76,.08);
}
.dv-info h3{ margin:0 0 8px; font-size:1.05rem; font-weight:600; color:var(--blue,#0b3b60); }
.dv-info p{ margin:0 0 8px; line-height:1.55; color:#27323f; }
.dv-info ul{ margin:0; padding-left:18px; }
/* Contenedor del detalle: dos columnas sin filas gigantes */
#cardDetailView:not([hidden]){
  display:grid;
  grid-template-columns: 1fr 340px;  /* izquierda | derecha */
  gap:24px;
  align-items:start;
  grid-auto-rows:auto;               /* evita alturas raras */
}

/* Botón Volver ocupa todo el ancho en la primera fila */
#dvBack{
  grid-column:1 / -1;
  grid-row:1;
}

/* Requisitos: a la derecha, SIN span 100 */
#cardDetailView > .dv-reqs{
  grid-column:2;
  grid-row:2;            /* o 1 si no usas el botón arriba */
  align-self:start;
  position:sticky;
  top:80px;
}

/* Mobile: columna única */
@media (max-width: 767.98px){
  #cardDetailView:not([hidden]){ grid-template-columns:1fr; gap:16px }
  #cardDetailView > .dv-reqs{
    grid-column:1; grid-row:auto; position:static; margin-top:16px;
  }
}
.innovative-info-container {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px; /* Espacio antes de que empiecen los cards */
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.info-header h2 {
    font-size: 1.4rem;
    color: #003876; /* Azul de tu sitio */
    margin-bottom: 8px;
    font-weight: 700;
}

.info-header p {
    font-size: 0.95rem;
    color: #64748b;
    margin-bottom: 24px;
}

.steps-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.step-pill {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px 8px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.step-pill:hover {
    background: #fff;
    border-color: #ce1d81;
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.step-icon {
    width: 40px;
    height: 40px;
    background: var(--ic);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon i {
    width: 20px;
    height: 20px;
}

.step-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #1e293b;
    text-align: center;
}

.steps-description {
    background: #f1f5f9;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #475569;
    border-left: 4px solid #ce1d81;
    min-height: 44px;
    display: flex;
    align-items: center;
}

/* Responsive para pantallas pequeñas */
@media (max-width: 600px) {
    .steps-strip {
        grid-template-columns: repeat(3, 1fr);
    }
}
/* Contenedor alineado al card derecho */
.innovative-info-container {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    margin-top: 0 !important; /* ELIMINA EL AIRE DE ARRIBA */
    margin-bottom: 24px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03); /* Sombra suave */
}

/* Ajuste del Layout para que las columnas empiecen igual */
.layout {
    display: flex;
    gap: 24px;
    align-items: flex-start; /* Fuerza a que ambas columnas empiecen al mismo nivel */
    margin-top: 24px; /* Espacio uniforme respecto al carrusel */
}

.info-header h2 {
    font-size: 1.3rem;
    color: #003876;
    margin-bottom: 4px;
    font-weight: 700;
}

.info-header p {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 20px;
}

/* Tira de pasos en una sola fila para que se vea más limpio */
.steps-strip {
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* 6 columnas iguales */
    gap: 10px;
    margin-bottom: 16px;
}

.step-pill {
    background: transparent;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    padding: 12px 4px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.step-pill:hover {
    background: #f8fafc;
    border-color: #ce1d81;
    transform: translateY(-2px);
}

.step-icon {
    width: 32px;
    height: 32px;
    background: var(--ic);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon i {
    width: 16px;
    height: 16px;
}

.step-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: #334155;
    line-height: 1.1;
}

.steps-description {
    background: #f8fafc;
    padding: 10px 15px;
    border-radius: 10px;
    font-size: 0.85rem;
    color: #475569;
    border-left: 4px solid #ce1d81;
    margin: 0;
}

/* Si la pantalla es mediana, pasamos a 3 y 3 */
@media (max-width: 1024px) {
    .steps-strip {
        grid-template-columns: repeat(3, 1fr);
    }
}