/* ========================================
   INDEPAR - Datos Abiertos Styles
   ======================================== */

.datos__content {
  max-width: 800px;
}

.datos__intro {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

/* --- Stats --- */
.datos__stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
  padding: 1.5rem 2rem;
  background: var(--bg-alt);
  border-radius: 8px;
  border-left: 4px solid var(--gold);
}

.datos__stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.datos__stat-number {
  font-family: 'Merriweather', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
}

.datos__stat-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

/* --- Categorias --- */
.datos__categorias {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.datos__cat {
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 8px;
  transition: border-color var(--transition);
}

.datos__cat:hover {
  border-color: var(--gold);
}

.datos__cat-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(27, 42, 94, 0.06);
  border-radius: 8px;
  margin-bottom: 0.75rem;
  color: var(--navy);
}

.datos__cat h4 {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.datos__cat p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* --- Empty state --- */
.datos__empty {
  padding: 3rem 2rem;
  text-align: center;
  border: 2px dashed rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  margin-bottom: 3rem;
  color: var(--text-secondary);
}

.datos__empty svg {
  margin: 0 auto 1rem;
  opacity: 0.3;
}

.datos__empty p {
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0.5rem;
}

.datos__empty-sub {
  font-size: 0.9rem !important;
  color: var(--text-secondary);
  opacity: 0.7;
}

/* --- Metodologia --- */
.datos__metodologia {
  padding: 1.5rem 2rem;
  background: var(--bg-alt);
  border-radius: 8px;
}

.datos__metodologia h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.datos__metodologia ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.datos__metodologia li {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary);
  padding-left: 1.25rem;
  position: relative;
}

.datos__metodologia li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

.datos__metodologia li strong {
  color: var(--text-primary);
}

/* --- Dataset entry (para cuando se agreguen) --- */
.datos__entry {
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.datos__entry:first-of-type {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.datos__entry-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.datos__entry-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
}

.datos__entry-format {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  background: rgba(27, 42, 94, 0.08);
  color: var(--navy);
  white-space: nowrap;
}

.datos__entry-meta {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.datos__entry-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.datos__entry-download {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold);
  transition: gap var(--transition);
}

.datos__entry-download:hover {
  gap: 0.7rem;
}

.datos__entry-actions {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .datos__stats {
    flex-direction: column;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
  }

  .datos__categorias {
    grid-template-columns: 1fr;
  }

  .datos__empty {
    padding: 2rem 1.5rem;
  }

  .datos__metodologia {
    padding: 1.25rem 1.5rem;
  }
}
