/* Encuesta ¿Cómo vamos? */
.poll-section {
  max-width: 42rem;
  margin: 2rem auto 3rem;
  padding: 1rem;
  font-family: inherit;
  text-align: center;
}

.poll-section h2 {
  font-size: clamp(1.1rem, 3vw, 1.25rem);
  font-weight: 600;
  margin: 0 0 1rem;
  text-align: center;
  color: #1a1a1a;
}

.poll-form {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.poll-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  padding: 0;
  font-size: 1rem;
  border: 2px solid #ddd;
  border-radius: 50%;
  cursor: pointer;
  background: #fff;
  color: #555;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.poll-btn-icon {
  width: 1.75rem;
  height: 1.75rem;
}

.poll-btn-good:hover {
  border-color: #28a745;
  background: #28a745;
  color: #fff;
}

.poll-btn-bad:hover {
  border-color: #dc3545;
  background: #dc3545;
  color: #fff;
}

/* Gráfico en arco */
.poll-result {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.poll-result-label-first {
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  font-weight: 600;
  color: #333;
  padding: 0.5rem 1rem;
  background: #fff;
  border-radius: 8px;
  display: inline-block;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  margin: 0 0 1.5rem;
}

.poll-arc-wrap {
  display: flex;
  justify-content: center;
  position: relative;
  margin-bottom: 1rem;
}

.poll-arc-svg {
  display: block;
  transform: rotate(-90deg);
  max-width: 100%;
  height: auto;
}

.poll-arc-percent {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(1.2rem, 4vw, 1.5rem);
  font-weight: 700;
  color: #1a1a1a;
  pointer-events: none;
}

.poll-arc-legend {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  flex-wrap: wrap;
}

.poll-legend-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.poll-legend-icon {
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
}

.poll-legend-good .poll-legend-icon {
  color: #28a745;
}

.poll-legend-bad .poll-legend-icon {
  color: #dc3545;
}

.poll-result-label {
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  font-weight: 600;
  color: #333;
  padding: 0.5rem 1rem;
  background: #fff;
  border-radius: 8px;
  display: inline-block;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

@media (max-width: 480px) {
  .poll-section {
    padding: 0.75rem;
    margin-top: 1.5rem;
  }
  .poll-form {
    flex-direction: row;
  }
  .poll-btn {
    width: 3rem;
    height: 3rem;
  }
  .poll-btn-icon {
    width: 1.5rem;
    height: 1.5rem;
  }
  .poll-arc-svg {
    width: 180px;
    height: 180px;
  }
}
