.pg-page {
  color: var(--text-page);
  padding: 64px 0 80px;
  min-height: 70vh;
}

.pg-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 150px 48px;
}

/* ─── Header ─── */
.pg-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}

.pg-title {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  color: var(--text-page);
  margin: 0 0 16px;
  line-height: 1.15;
  text-align: center;
}

.pg-title span {
  color: var(--accent-text);
}

.pg-subtitle {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-body);
  margin: 0 auto;
  max-width: 700px;
}

/* ─── Secciones ─── */
.pg-section {
  margin-bottom: 56px;
}

.pg-section-title {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  color: var(--text-page);
  margin: 0 0 8px;
  line-height: 1.3;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pg-section-title::before {
  content: '';
  width: 4px;
  height: 22px;
  background: var(--color-accent);
  border-radius: 2px;
  flex-shrink: 0;
}

.pg-section-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-body);
  margin: 0 0 24px;
  max-width: 760px;
}

.pg-section-desc strong {
  color: var(--text-page);
}

/* ─── Card ─── */
.pg-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 14px;
  padding: 32px;
}

.pg-card .pg-section-title {
  margin-bottom: 12px;
}

/* ─── Callout (aviso destacado) ─── */
.pg-callout {
  background: var(--bg-card);
  border-left: 4px solid var(--color-accent);
  border-radius: 8px;
  padding: 16px 18px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-body);
  margin: 0 0 24px;
}

.pg-callout strong {
  color: var(--text-page);
}

/* ─── Chips (subdirectivas, empresas) ─── */
.pg-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pg-chip {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-pill);
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-page);
}

/* ─── Lista con viñetas ─── */
.pg-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pg-list li {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-body);
  padding-left: 20px;
  position: relative;
}

.pg-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--color-accent);
}

.pg-list strong,
.pg-list b {
  color: var(--text-page);
}

.pg-list .pg-list {
  margin: 8px 0 0 18px;
}

/* ─── Lista numerada (círculos) ─── */
.pg-ol {
  list-style: none;
  counter-reset: pg-step;
  padding: 0;
  margin: 0 0 8px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 760px;
}

.pg-ol li {
  counter-increment: pg-step;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-body);
  padding-left: 34px;
  position: relative;
}

.pg-ol li::before {
  content: counter(pg-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-text);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ─── Botón descarga PDF ─── */
.pg-btn-pdf {
  display: inline-flex;
  align-items: stretch;
  text-decoration: none;
  border-radius: 8px;
  overflow: hidden;
  margin: 12px 0 0;
  transition: transform 0.15s;
}

.pg-btn-pdf:hover {
  transform: translateY(-2px);
}

.pg-btn-pdf-icon {
  width: 50px;
  min-height: 50px;
  background: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pg-btn-pdf-text {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-left: none;
  color: var(--text-page);
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  min-height: 50px;
}

.pg-btn-pdf:hover .pg-btn-pdf-text {
  border-color: var(--color-accent);
}

/* ─── Link dentro de texto ─── */
.pg-link {
  color: var(--accent-text);
  text-decoration: underline;
}

.pg-link:hover {
  color: var(--color-accent-strong);
}

/* ─── Botón enlace ─── */
.pg-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--color-accent);
  color: var(--text-on-accent);
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: opacity 0.15s, transform 0.15s;
}

.pg-btn:hover {
  opacity: 0.88;
  transform: translateY(-2px);
  color: var(--text-on-accent);
}

.pg-btn-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-dark);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* ─── Columna de botones (comunicados) ─── */
.pg-comunicados {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pg-comunicados .pg-btn-pdf {
  margin: 0;
}

/* ─── Horarios ─── */
.pg-hours {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 14px;
  padding: 24px 32px;
  max-width: 480px;
}

.pg-hours p {
  font-size: 14px;
  color: var(--text-body);
  margin: 0 0 8px;
  line-height: 1.6;
}

.pg-hours p:last-child {
  margin-bottom: 0;
}

.pg-hours strong {
  color: var(--accent-text);
  font-size: 15px;
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .pg-container {
    padding: 0 24px;
  }

  .pg-page {
    padding: 48px 0 64px;
  }

  .pg-card {
    padding: 24px;
  }
}
