/* ===== Variables y base ===== */
:root {
  --c-text: #0f172a;
  --c-muted: #475569;
  --c-accent: #f97316;
  --c-accent-100: #ffedd5;
  --c-dotted: #fdba74;
  --c-sky: #eef6fc;
  --c-grey: #f8fafc;
  --c-peach: #fde7d2;
  --c-peach-100: #fff4e6;
}

html {
  scroll-behavior: smooth;
}
body {
  color: var(--c-text);
  font: 16px/1.6 system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell,
    "Helvetica Neue", Arial, sans-serif;
}

.container {
  max-width: 64rem;
  margin: 0 auto;
  padding: 2.5rem 1.25rem;
}
h1,
h2,
h3,
h4,
h5 {
  margin: 0 0 0.5rem;
}
h1 {
  font-size: clamp(2rem, 2.5vw + 1.5rem, 3rem);
  line-height: 1.1;
  font-weight: 800;
}
h2 {
  font-size: 1.75rem;
  font-weight: 800;
}
h3 {
  font-size: 1.3rem;
  font-weight: 700;
}
.semibold {
  font-weight: 600;
}
.muted {
  opacity: 0.9;
}

/* Botones */
.btn {
  display: inline-block;
  padding: 0.65rem 1.1rem;
  border-radius: 10px;
  background: #111;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
}
.btn-alt {
  background: var(--c-accent);
}
.btn:hover {
  filter: brightness(0.95);
}

/* Secciones principales */
.section1_21 {
  text-align: center;
  background: #fff;
}
.section1_21 h1 {
  color: #111;
}
.section1_21 h2 {
  color: var(--c-accent);
}
.section1_21 h3 {
  color: #111;
}
.section1_21 h4 {
  color: #111;
}

/* Caja destacada introducción */
.section2 .box {
  background: #fff;

  border-radius: 16px;
  padding: 1rem 1.25rem;
}

/* Grid de fases */
.section2 .grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 980px) {
  .section2 .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.section2 h2 {
  color: #111;
}

/* ===== Bloque Fase 1 (pp-wrap) ===== */
.pp-wrap {
  border-radius: 18px;
  padding: 1.25rem;
}
#pp-title {
  color: var(--c-accent);
}
.pp-intro {
  margin-top: 0.75rem;
  font-size: 1.0625rem;
}
.pp-intro b {
  font-weight: 800;
}
.pp-box {
  margin-top: 1rem;
  background: #fff8;
  backdrop-filter: saturate(140%) blur(2px);
  border: 2px dotted var(--c-dotted);
  border-radius: 18px;
  padding: 1rem 1rem 1.25rem;
}
.pp-box h2 {
  color: var(--c-accent);
  font-size: 1.25rem;
  font-weight: 800;
}
.pp-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pp-item {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  background: var(--c-accent-100);
  border-radius: 12px;
  padding: 0.6rem 0.8rem;
}
.pp-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--c-accent);
  flex: 0 0 18px;
  margin-top: 0.2rem;
}

/* ===== Bloque Fase 2 (forum) ===== */
.forum-wrap {
  border-radius: 18px;
  padding: 1.25rem;
}
#forum-title {
  color: var(--c-accent);
}
.forum-intro {
  font-size: 1.0625rem;
}
.forum-date {
  margin-top: 0.5rem;
  font-weight: 800;
  color: var(--c-accent);
}
.forum-location {
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.forum-note {
  margin-top: 0.5rem;
  background: #fff8;
  border: 2px dotted var(--c-dotted);
  border-radius: 18px;
  padding: 1rem;
}
.forum-note ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}
.forum-item {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  background: var(--c-accent-100);
  border-radius: 12px;
  padding: 0.6rem 0.8rem;
}

/* ===== Bloque Fase 3 (vote) ===== */
.vote-wrap {
  border-radius: 18px;
  padding: 1.25rem;
}
#vote-title {
  color: var(--c-accent);
}
.vote-intro {
  font-size: 1.0625rem;
  margin-bottom: 1rem;
}
.vote-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
@media (min-width: 900px) {
  .vote-grid {
    grid-template-columns: 1.2fr 0.9fr;
  }
}
.vote-sub {
  margin: 1rem 0 0.5rem;
  color: var(--c-accent);
  font-size: 1.25rem;
  font-weight: 800;
}
.nlist {
  counter-reset: item;
  margin: 0.25rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}
.nlist li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  background: #fff;
  border-radius: 12px;
  padding: 0.6rem 0.8rem;
  box-shadow: 0 0 0 1px #ffd7b0 inset;
}
.nlist li::before {
  counter-increment: item;
  content: counter(item);
  display: inline-grid;
  place-items: center;
  font-weight: 800;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--c-accent);
  color: #fff;
  flex: 0 0 26px;
  margin-top: 0.1rem;
}
.card {
  background: var(--c-peach-100);
  border-radius: 16px;
  padding: 1rem 0.9rem;
  box-shadow: 0 0 0 2px var(--c-dotted) inset;
}
.card h4 {
  margin: 0.25rem 0 0.35rem;
  font-weight: 800;
}
.vote-link {
  color: var(--c-accent);
  font-weight: 900;
  text-decoration: none;
}
.vote-link:hover {
  text-decoration: underline;
}

/* ===== Bloque Fase 4 (resultados) ===== */
.results-wrap {
  border-radius: 18px;
  padding: 1.25rem;
}
#results-title {
  color: var(--c-accent);
}
.results-text {
  font-size: 1.0625rem;
  margin-bottom: 1rem;
}
.contact-box {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: #fff;
  border-radius: 14px;
  border: 2px dotted var(--c-dotted);
  padding: 1rem 1.25rem;
  max-width: 700px;
}
.contact-icon {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 50%;
  background: var(--c-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
}
.contact-content h3 {
  margin: 0 0 0.25rem;
  color: var(--c-accent);
  font-weight: 800;
  font-size: 1.05rem;
}
.contact-content p {
  margin: 0;
  font-weight: 600;
}
.contact-content a {
  color: inherit;
  text-decoration: none;
  font-weight: 700;
}
.contact-content a:hover {
  text-decoration: underline;
}

/* ===== Sección descargas ===== */
.section3 {
  text-align: center;
  background: #fff;
}
.section3 .dl {
  display: block;
  margin: 0.4rem auto;
  color: var(--c-accent);
  text-decoration: none;
  font-weight: 800;
}
.section3 .dl:hover {
  text-decoration: underline;
}
.section3 small {
  display: block;
  margin: 1rem auto;
  color: var(--c-muted);
}

/* Logos */
.section5 .container {
  text-align: center;
}
