.consent {
  display: grid !important;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  margin-top: 17px !important;
  font-weight: 600 !important;
  line-height: 1.35;
}

.consent input {
  width: 20px !important;
  min-height: 20px !important;
  margin: 2px 0 0;
}

.consent a,
.program-legal a,
.legal-table a {
  color: var(--blue);
  font-weight: 800;
}

.simple article {
  max-width: 960px;
}

.legal-summary {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 30px 0;
}

.legal-summary > div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
}

.legal-summary small,
.legal-summary strong {
  display: block;
}

.legal-summary small {
  color: var(--muted);
}

.legal-summary strong,
.program-legal h3 {
  color: var(--navy);
}

.legal-note,
.program-legal {
  padding: 20px;
  border: 1px solid rgba(23, 79, 186, .18);
  border-radius: 16px;
  background: #edf3ff;
}

.program-legal {
  margin-top: 22px;
  background: white;
}

.program-legal.warning {
  border-color: rgba(236, 23, 76, .25);
  background: #fff4f6;
}

.program-legal h3 {
  margin-top: 0;
}

.legal-note p:last-child,
.program-legal p:last-child {
  margin-bottom: 0;
}

.table-wrap {
  overflow-x: auto;
  margin: 22px 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
}

.legal-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.legal-table th,
.legal-table td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.legal-table th {
  background: var(--navy);
  color: white;
  font-size: .82rem;
}

.legal-table tr:last-child td {
  border-bottom: 0;
}

@media (max-width: 560px) {
  .legal-summary {
    grid-template-columns: 1fr;
  }
}

/* Páginas de texto (legales, preguntas, sede): títulos de lectura, no de portada. */
.simple .page-title {
  font-size: clamp(2.1rem, 4.4vw, 3.3rem);
}

.simple article h2 {
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  line-height: 1.12;
  letter-spacing: -.02em;
}

/* Líneas de atención (contacto y sede). */
.service-lines {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 22px 0 30px;
}

.service-line {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  border: 1px solid rgba(23, 79, 186, .18);
  border-radius: 16px;
  background: white;
}

.service-line h3 {
  margin: 0;
  color: var(--navy);
}

.service-line p {
  margin: 0;
}

.service-line .service-number {
  font-weight: 700;
  color: var(--navy);
}

.service-line .button {
  margin-top: auto;
  align-self: flex-start;
}

/* Galería y videos de la sede. */
.campus-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 22px 0 30px;
}

.campus-gallery figure,
.campus-videos figure {
  margin: 0;
}

.campus-gallery img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 16px;
}

.campus-videos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 22px 0 30px;
}

.campus-videos video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 16px;
  background: #071642;
}

.campus-gallery figcaption,
.campus-videos figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: .9rem;
}

/* Ruta para llegar a la sede: mapa y video lado a lado. */
.campus-route {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 22px 0 30px;
}

.campus-route figure {
  margin: 0;
}

.campus-route img,
.campus-route video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}

.campus-route video {
  aspect-ratio: 9 / 16;
  max-height: 640px;
  object-fit: cover;
  background: #071642;
}

.campus-route figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: .9rem;
}
