/* Estilos para la sección de Cifras Ceuta */

.cifras-section {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  padding: 4rem 1rem;
  margin: 2rem 0;
  color: #1e293b;
}

.cifras-container {
  max-width: 1200px;
  margin: 0 auto;
}

.cifras-header {
  text-align: center;
  margin-bottom: 3rem;
}

.cifras-badge {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.cifras-icon {
  width: 1rem;
  height: 1rem;
  margin-right: 0.5rem;
}

.cifras-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #1e293b;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cifras-subtitle {
  font-size: 1.25rem;
  color: #475569;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.cifras-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.cifras-card {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e2e8f0;
}

.cifras-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.cifras-card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 0.75rem;
  display: flex;
  align-items: center;
}

.cifras-card-title svg {
  margin-right: 0.75rem;
  color: #3b82f6;
}

.cifras-text {
  font-size: 1rem;
  line-height: 1.8;
  color: #475569;
}

.cifras-text p {
  margin-bottom: 1rem;
}

.cifras-text strong {
  font-weight: 600;
  color: #1e293b;
}

.cifras-highlight {
  background: #f1f5f9;
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  margin: 1.5rem 0;
  border-left: 4px solid #3b82f6;
}

.cifras-chart-container {
  width: 100%;
  height: 300px;
  margin: 2rem 0;
}

.cifras-legend {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.cifras-legend-item {
  display: flex;
  align-items: center;
  font-size: 0.875rem;
}

.cifras-legend-color {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 0.5rem;
}

.cifras-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.cifras-stat {
  background: white;
  border-radius: 0.75rem;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
}

.cifras-stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: #3b82f6;
  margin-bottom: 0.5rem;
}

.cifras-stat-label {
  font-size: 0.875rem;
  color: #64748b;
}

/* Responsive design */
@media (max-width: 768px) {
  .cifras-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .cifras-title {
    font-size: 2rem;
  }

  .cifras-subtitle {
    font-size: 1.1rem;
  }

  .cifras-section {
    padding: 2rem 1rem;
  }
}
