:root {
  --fondo: #ededec;
  --texto: #121212;
  --texto-suave: #5c5c5c;
  --pendiente-bg: #fff3df;
  --pendiente-borde: #e4b566;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--fondo);
  color: var(--texto);
  font-family: 'Oswald', Arial, sans-serif;
  line-height: 1.5;
}

.agenda {
  max-width: 760px;
  margin: 0 auto;
  padding: 32px 16px 32px;
}

.agenda__header {
  margin-bottom: 24px;
}

.agenda__header-img {
  display: block;
  width: 100%;
  height: auto;
}

.agenda__intro {
  font-family: Arial, sans-serif;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--texto);
  text-align: center;
  max-width: 560px;
  margin: 0 auto 24px;
}

/* ---- Redes sociales ---- */
.agenda-social {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 0 0 32px;
}

.agenda-social__btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--texto);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.15s ease;
}

.agenda-social__btn svg {
  width: 22px;
  height: 22px;
  fill: #fff;
}

.agenda-social__btn:hover {
  opacity: 0.8;
}

/* ---- Footer (participan / apoyan) ---- */
.agenda-footer {
  background: #fff;
}

.agenda-footer::before {
  content: "";
  display: block;
  height: 6px;
  background: linear-gradient(
    to right,
    #e3c85d 0%, #e3c85d 12.5%,
    #df9745 12.5%, #df9745 25%,
    #c64436 25%, #c64436 37.5%,
    #a5763e 37.5%, #a5763e 50%,
    #85b859 50%, #85b859 62.5%,
    #6aafce 62.5%, #6aafce 75%,
    #235091 75%, #235091 87.5%,
    #574d8a 87.5%, #574d8a 100%
  );
}

.agenda-footer__inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 28px 16px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.agenda-footer__img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---- Categoría (nivel 1) ---- */
.categoria {
  border-radius: 18px;
  margin-bottom: 14px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(18, 18, 18, 0.1);
}

.categoria > summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 1.02rem;
  color: #fff;
  background: var(--accent);
}

.categoria > summary::-webkit-details-marker { display: none; }

.categoria__titulo-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.categoria__nota {
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
  font-size: 0.78rem;
  opacity: 0.9;
}

.categoria__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.categoria__count {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: normal;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 3px 10px;
  white-space: nowrap;
}

.categoria__chevron {
  width: 11px;
  height: 11px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.categoria[open] > summary .categoria__chevron {
  transform: rotate(-135deg);
}

.categoria__body {
  background: #fff;
  padding: 14px 16px 18px;
}

.categoria__vacio {
  color: var(--texto-suave);
  font-style: italic;
  font-weight: 300;
  padding: 6px 4px;
}

/* ---- Item (nivel 2, el "+") ---- */
.item {
  border-radius: 12px;
  margin-bottom: 10px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(18, 18, 18, 0.08);
  transition: background-color 0.15s ease;
}

.item:hover,
.item[open] {
  background: var(--accent-10);
}

.item > summary {
  list-style: none;
  cursor: pointer;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.item > summary::-webkit-details-marker { display: none; }

.item__titulo-wrap {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.item__titulo {
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  color: var(--texto);
}

.item__linea2 {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
}

.item__subtitulo {
  font-weight: 400;
  font-size: 0.92rem;
  color: var(--texto-suave);
  text-transform: uppercase;
}

.item__horario {
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--accent);
}

.item__toggle {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
}

.item[open] > summary .item__toggle::before { content: "–"; }
.item__toggle::before { content: "+"; }

.item__body {
  padding: 2px 16px 16px;
  font-family: Arial, sans-serif;
  border-top: 1px solid #ededec;
}

/* ---- Actividad (dentro del item, sin acordeón propio) ---- */
.actividad {
  padding: 12px 0;
  border-top: 1px dashed #e2e2e0;
}

.actividad:first-child {
  border-top: none;
  padding-top: 4px;
}

.actividad__titulo {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--texto);
  margin: 0 0 4px;
}

.actividad__campo {
  margin: 4px 0;
  font-size: 0.88rem;
  color: var(--texto);
}

.actividad__campo strong {
  color: var(--texto);
  font-weight: 700;
}

.actividad__maps {
  display: inline-block;
  margin-left: 6px;
  color: var(--texto);
  font-weight: 700;
  font-size: 0.78rem;
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}

.actividad__maps:hover {
  text-decoration-thickness: 2px;
}

.actividad__descripcion p {
  margin: 4px 0;
  font-size: 0.88rem;
  color: var(--texto);
}

.actividad__redes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 0;
}

.actividad__redes a {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
}

.actividad__redes a:hover { text-decoration: underline; }

.actividad__pendientes {
  margin-top: 8px;
  background: var(--pendiente-bg);
  border: 1px solid var(--pendiente-borde);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 0.8rem;
}

.actividad__pendientes div {
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--texto);
}

.actividad__pendientes ul {
  margin: 0;
  padding-left: 18px;
  color: var(--texto);
}
