/* ====== Hero del módulo ====== */
.mod-hero {
  border-bottom: 1px solid var(--border);
  background: color-mix(in oklab, var(--bg) 92%, black 8%);
}
.mod-hero .container {
  padding: 28px 0 22px;
}
.mod-hero h1 {
  margin: 0 0 8px;
}
.mod-hero .lead {
  color: var(--muted);
  max-width: 72ch;
}

.hero-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 12px 0 8px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--card);
  font-size: 14px;
}
.hero-cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}

/* ====== Secciones ====== */
.page-content section + section {
  margin-top: 16px;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.big-price {
  font-size: 28px;
  font-weight: 800;
  margin: 6px 0;
}

/* Inscripción */
.enroll-form .grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.enroll-form label {
  display: grid;
  gap: 6px;
}
.enroll-form input,
.enroll-form textarea {
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px;
}
.enroll-form .chk {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 10px 0;
}
.enroll-form .form-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.small {
  font-size: 12px;
}

/* Responsive */
@media (max-width: 980px) {
  .enroll-form .grid {
    grid-template-columns: 1fr;
  }
}

/* ====== Modal de inscripción ====== */
.enroll-dialog {
  width: min(820px, 94vw);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 0;
  background: var(--card);
  color: var(--text);
}
.enroll-dialog::backdrop {
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(1px);
}

/* cabecera */
.enroll-dialog .dlg-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}
.enroll-dialog h3 {
  margin: 0;
  font-size: 18px;
}
.enroll-dialog .dlg-x {
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  border-radius: 10px;
  padding: 6px 8px;
  cursor: pointer;
}
.enroll-dialog .dlg-x:hover {
  background: color-mix(in oklab, var(--brand-2) 10%, var(--bg));
}

/* lead */
.enroll-dialog .dlg-lead {
  margin: 10px 16px 0;
  color: var(--muted);
}

/* grid */
.enroll-dialog .dlg-grid {
  display: grid;
  gap: 16px;
  padding: 12px 16px 16px;
  grid-template-columns: 1fr 320px;
}
.enroll-dialog .col {
  min-width: 0;
}

/* form */
.enroll-dialog .fg {
  margin-bottom: 10px;
}
.enroll-dialog .fg-row {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 1fr;
}
.enroll-dialog label {
  display: block;
  margin-bottom: 4px;
  font-weight: 600;
}
.enroll-dialog input[type="text"],
.enroll-dialog input[type="email"],
.enroll-dialog input[type="tel"],
.enroll-dialog input[type="date"],
.enroll-dialog input[type="time"] {
  width: 100%;
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 10px;
}
.enroll-dialog .hint {
  color: var(--muted);
  font-size: 12px;
}
.enroll-dialog .tiny {
  font-size: 12px;
}

.enroll-dialog .actions {
  display: flex;
  gap: 8px;
  margin-top: 6px;
}

/* mapa */
.enroll-dialog .map-embed {
  aspect-ratio: 16 / 11;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 10px;
}
.enroll-dialog .map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.enroll-dialog .bullets {
  margin: 0 0 10px;
  padding-left: 18px;
}
.enroll-dialog .small {
  font-size: 14px;
}

@media (max-width: 860px) {
  .enroll-dialog .dlg-grid {
    grid-template-columns: 1fr;
  }
  .enroll-dialog .fg-row {
    grid-template-columns: 1fr;
  }
}
